lsnu commited on
Commit
efbca55
·
verified ·
1 Parent(s): fc33e45

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. derived/Source/circuit_generation_code/AC/02046.eps +227 -0
  2. derived/Source/circuit_generation_code/AC/02049.eps +228 -0
  3. derived/Source/circuit_generation_code/AC/02050.eps +230 -0
  4. derived/Source/circuit_generation_code/AC/02053.eps +261 -0
  5. derived/Source/circuit_generation_code/AC/02056.eps +264 -0
  6. derived/Source/circuit_generation_code/AC/02060.eps +210 -0
  7. derived/Source/circuit_generation_code/AC/02062.eps +309 -0
  8. derived/Source/circuit_generation_code/AC/02064.eps +238 -0
  9. derived/Source/circuit_generation_code/AC/02065.eps +210 -0
  10. derived/Source/circuit_generation_code/AC/02066.eps +210 -0
  11. derived/Source/circuit_generation_code/AC/02072.eps +206 -0
  12. derived/Source/circuit_generation_code/AC/02074.eps +300 -0
  13. derived/Source/circuit_generation_code/AC/02076.eps +234 -0
  14. derived/Source/circuit_generation_code/AC/02077.eps +214 -0
  15. derived/Source/circuit_generation_code/AC/02078.eps +256 -0
  16. derived/Source/circuit_generation_code/AC/02079.eps +258 -0
  17. derived/Source/circuit_generation_code/AC/02080.eps +262 -0
  18. derived/Source/circuit_generation_code/AC/02081.eps +268 -0
  19. derived/Source/circuit_generation_code/AC/02082.eps +270 -0
  20. derived/Source/circuit_generation_code/AC/02083.eps +333 -0
  21. derived/Source/circuit_generation_code/AC/02084.eps +269 -0
  22. derived/Source/circuit_generation_code/AC/02085.eps +334 -0
  23. derived/Source/circuit_generation_code/AC/02086.eps +291 -0
  24. derived/Source/circuit_generation_code/AC/02087.eps +272 -0
  25. derived/Source/circuit_generation_code/AC/02088.eps +281 -0
  26. derived/Source/circuit_generation_code/AC/02089.eps +305 -0
  27. derived/Source/circuit_generation_code/AC/02090.eps +298 -0
  28. derived/Source/circuit_generation_code/AC/02091.eps +315 -0
  29. derived/Source/circuit_generation_code/AC/02092.eps +308 -0
  30. derived/Source/circuit_generation_code/AC/02093.eps +325 -0
  31. derived/Source/circuit_generation_code/AC/02094.eps +318 -0
  32. derived/Source/circuit_generation_code/AC/02096.eps +239 -0
  33. derived/Source/circuit_generation_code/AC/02097.eps +272 -0
  34. derived/Source/circuit_generation_code/AC/02098.eps +229 -0
  35. derived/Source/circuit_generation_code/AC/02099.eps +261 -0
  36. derived/Source/circuit_generation_code/AC/02100.eps +221 -0
  37. derived/Source/circuit_generation_code/AC/02101.eps +263 -0
  38. derived/Source/circuit_generation_code/AC/02102.eps +277 -0
  39. derived/Source/circuit_generation_code/AC/02103.eps +283 -0
  40. derived/Source/circuit_generation_code/AC/02104.eps +280 -0
  41. derived/Source/circuit_generation_code/AC/02105.eps +280 -0
  42. derived/Source/circuit_generation_code/AC/02106.eps +264 -0
  43. derived/Source/circuit_generation_code/AC/02107.eps +263 -0
  44. derived/Source/circuit_generation_code/AC/02109.eps +245 -0
  45. derived/Source/circuit_generation_code/AC/02110.eps +273 -0
  46. derived/Source/circuit_generation_code/AC/02111.eps +257 -0
  47. derived/Source/circuit_generation_code/AC/02112.eps +256 -0
  48. derived/Source/circuit_generation_code/AC/02113.eps +233 -0
  49. derived/Source/circuit_generation_code/AC/02114.eps +232 -0
  50. derived/Source/circuit_generation_code/AC/02115.eps +233 -0
derived/Source/circuit_generation_code/AC/02046.eps ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02046.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Fri Feb 20 10:33:40 2009
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 271 184
7
+ %%DocumentNeededResources: font Times-Roman font Helvetica font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /resistor {
176
+ begingate
177
+ 1 1.00 0 64 0 36 2 polygon
178
+ 1 1.00 0 -64 0 -36 2 polygon
179
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
180
+ 1.000 0.000 0.000 scb
181
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
182
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
183
+ 0.000 1.000 0.000 scb
184
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
185
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
186
+ endgate
187
+ } def
188
+
189
+
190
+ %%EndDocumentSetup
191
+
192
+ %%Page: 1 1
193
+ %%PageOrientation: Portrait
194
+ /pgsave save def bop
195
+ % 32.00 8.00 gridspace
196
+ 0.7500 inchscale
197
+ 2.6000 setlinewidth 688 376 translate
198
+
199
+ 1.00 0 -160 -56 acsource
200
+ 1.00 0 -160 64 acsource
201
+ 1.00 0 -160 200 acsource
202
+ 1 1.00 -160 152 -160 128 2 polygon
203
+ 1 1.00 -160 0 -160 -24 2 polygon
204
+ 1.00 0 160 80 resistor
205
+ 1 1.00 -160 248 -160 264 160 264 160 128 4 polygon
206
+ 1 1.00 160 32 160 -120 -160 -120 -160 -104 4 polygon
207
+ (load) {/Helvetica cf} 2 16 0 1.00 192 80 label
208
+ (+) {/Helvetica cf} 2 16 0 1.00 -144 232 label
209
+ (-) {/Helvetica cf} 2 16 0 1.00 -144 136 label
210
+ (-) {/Helvetica cf} 2 16 0 1.00 -144 8 label
211
+ (+) {/Helvetica cf} 2 16 0 1.00 -144 96 label
212
+ (-) {/Helvetica cf} 2 16 0 1.00 -144 -112 label
213
+ (+) {/Helvetica cf} 2 16 0 1.00 -144 -24 label
214
+ (1) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -112 192 label
215
+ (2) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -112 56 label
216
+ (3) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -112 -64 label
217
+ (o) {Ss} ( -64) {/Times-Roman cf} (\320) {/Symbol cf} (22 V ) {/Times-Roman cf}
218
+ 8 16 0 1.00 -432 184 label
219
+ (o) {Ss} ( 35) {/Times-Roman cf} (\320) {/Symbol cf} (12 V ) {/Times-Roman cf}
220
+ 8 16 0 1.00 -400 56 label
221
+ (o) {Ss} ( 0) {/Times-Roman cf} (\320) {/Symbol cf} (15 V ) {/Times-Roman cf} 8
222
+ 16 0 1.00 -384 -72 label
223
+ pgsave restore showpage
224
+
225
+ %%Trailer
226
+ XCIRCsave restore
227
+ %%EOF
derived/Source/circuit_generation_code/AC/02049.eps ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02049.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:23:15 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 281 248
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /resistor {
166
+ % -14 -64 28 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 64 0 36 2 polygon
170
+ 1 1.00 0 -64 0 -36 2 polygon
171
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
174
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ 0.000 1.000 0.000 scb
177
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
178
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ %%Page: 02046.eps 1
184
+ %%PageOrientation: Portrait
185
+ /pgsave save def bop
186
+ % 696 496 offsets
187
+ % 32.00 8.00 gridspace
188
+ 0.7500 inchscale
189
+ 2.6000 setlinewidth
190
+
191
+ 1.00 0 536 368 acsource
192
+ 1.00 0 536 560 acsource
193
+ 1.00 0 536 752 acsource
194
+ 1 1.00 536 688 536 624 2 polygon
195
+ 1 1.00 536 496 536 432 2 polygon
196
+ 1.00 0 856 576 resistor
197
+ 1 1.00 536 816 536 832 856 832 856 640 4 polygon
198
+ 1 1.00 856 512 856 288 536 288 536 304 4 polygon
199
+ (+) {/Helvetica 1.000 cf} 2 16 0 552 784 label
200
+ (-) {/Helvetica 1.000 cf} 2 16 0 552 688 label
201
+ (-) {/Helvetica 1.000 cf} 2 16 0 552 496 label
202
+ (+) {/Helvetica 1.000 cf} 2 16 0 552 592 label
203
+ (-) {/Helvetica 1.000 cf} 2 16 0 552 304 label
204
+ (+) {/Helvetica 1.000 cf} 2 16 0 552 400 label
205
+ 1.000 0.000 1.000 scb
206
+ (3) {/Helvetica 1.000 cf} 2 16 0 504 840 label
207
+ (2) {/Helvetica 1.000 cf} 2 16 0 496 648 label
208
+ (1) {/Helvetica 1.000 cf} 2 16 0 504 448 label
209
+ (0) {/Helvetica 1.000 cf} 2 16 0 504 256 label
210
+ (3) {/Helvetica 1.000 cf} 2 16 0 864 840 label
211
+ (0) {/Helvetica 1.000 cf} 2 16 0 864 256 label
212
+ sce
213
+ (1) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 576 744 label
214
+ (2) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 576 552 label
215
+ (3) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 576 360 label
216
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 784 568 label
217
+ (W) {/Symbol 1.000 cf} (10 k) {/Times-Roman 1.000 cf} 4 16 0 880 568 label
218
+ (o) {Ss} ( -64) {/Times-Roman 1.000 cf} (\320) {/Symbol 1.000 cf} (22 V ) {/Times-Roman 1.000 cf} 8 16 0
219
+ 256 744 label
220
+ (o) {Ss} ( 35) {/Times-Roman 1.000 cf} (\320) {/Symbol 1.000 cf} (12 V ) {/Times-Roman 1.000 cf} 8 16 0
221
+ 288 552 label
222
+ (o) {Ss} ( 0) {/Times-Roman 1.000 cf} (\320) {/Symbol 1.000 cf} (15 V ) {/Times-Roman 1.000 cf} 8 16 0
223
+ 312 360 label
224
+ pgsave restore showpage
225
+
226
+ %%Trailer
227
+ XCIRCsave restore
228
+ %%EOF
derived/Source/circuit_generation_code/AC/02050.eps ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02050.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Sat Apr 21 11:45:12 2007
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 281 186
7
+ %%DocumentNeededResources: font Times-Roman font Helvetica font Helvetica-Bold
8
+ %%+ font Helvetica-Oblique font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 3.1
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 3.1 0
21
+ %
22
+ % supporting definitions --- these are the primary xcircuit types.
23
+
24
+ /XCIRCsave save def
25
+ /topmat matrix currentmatrix def
26
+
27
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
28
+ exch findfont exch makefont dup length dict /ndict exch def
29
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
30
+ ndict definefont pop} def
31
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
32
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
33
+ false charpath flattenpath pathbbox grestore exch pop 1 index
34
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
35
+ rlineto stroke moveto } if } def
36
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
37
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
38
+ true charpath flattenpath pathbbox grestore exch pop
39
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
40
+ exch pop 1 index sub setlinewidth exch pop currentpoint
41
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
42
+ moveto } if } def
43
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
44
+ pathbbox pop exch pop sub grestore } def
45
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
46
+ 0 currentpoint pop put} def
47
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
48
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
49
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
50
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
51
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
52
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
53
+ /hS { qS qS } def
54
+ /pspc 0 def
55
+ /cf0 { scalefont setfont } bind def
56
+ /Kn { dup kY add /kY exch def rmoveto } bind def
57
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
58
+ 0.33 mul neg Kn} def
59
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
60
+ 0.67 mul Kn } def
61
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
62
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
63
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
64
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
65
+ {fscale0 mul fscale mul cf0} ifelse } def
66
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
67
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
68
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
69
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
71
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
72
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
73
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
74
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
75
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
76
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
77
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
78
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
79
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
80
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
81
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
82
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
83
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
84
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
85
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
86
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
87
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
88
+ grestore } def
89
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
90
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
91
+ /pinglobal { pinlabel } def
92
+ /infolabel { pinlabel } def
93
+
94
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
95
+ /cRedef {/defColor currentcolor 3 array astore def} def
96
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
97
+ dup type /dicttype ne {1 dict} if begin % instanced params
98
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
99
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
100
+ } bind def
101
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
102
+ scb end end} bind def
103
+
104
+ /hlevel 0 def
105
+ /tmpa [1 0 0 1 0 0] def
106
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
107
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
108
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
109
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
110
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
111
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
112
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
113
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
114
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
115
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
116
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
117
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
118
+ /setstyles {
119
+ currentlinewidth mul setlinewidth /style exch def
120
+ style 1 and 0 gt not {closepath} if
121
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
122
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
123
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
124
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
125
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
126
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
127
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
128
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
129
+
130
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
131
+ /xcarc { gsave newpath arc setstyles } def
132
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
133
+ 3 index div 1 scale } def
134
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
135
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
136
+ /pellip { elb ele arc setmatrix } def
137
+ /nellip { elb ele arcn setmatrix } def
138
+ /spline { gsave moveto curveto setstyles } def
139
+ /polyc { {lineto} repeat } bind def
140
+ /beginpath { gsave moveto } bind def
141
+ /endpath { setstyles } bind def
142
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
143
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
144
+ rotate translate dup scale} def
145
+ /end_insert {PSobj restore} def
146
+ /setpagemat {/pagemat matrix currentmatrix def} def
147
+ /inchscale {setpagemat 0.375 mul dup scale} def
148
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
149
+
150
+ %%EndResource
151
+ %%EndProlog
152
+
153
+ % XCircuit output starts here.
154
+
155
+ %%BeginDocumentSetup
156
+
157
+ /source {
158
+ % hidden
159
+ begingate
160
+ 1 1.00 0 0 32 0.00 360.00 xcarc
161
+ 1 1.00 0 32 0 64 2 polygon
162
+ 1 1.00 0 -32 0 -64 2 polygon
163
+ endgate
164
+ } def
165
+
166
+ /acsource {
167
+ begingate
168
+ 1.00 0 0 0 source
169
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
170
+ 1.000 0.000 0.000 scb
171
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
172
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
173
+ endgate
174
+ } def
175
+
176
+ /resistor {
177
+ begingate
178
+ 1 1.00 0 64 0 36 2 polygon
179
+ 1 1.00 0 -64 0 -36 2 polygon
180
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
181
+ 1.000 0.000 0.000 scb
182
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
183
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
184
+ 0.000 1.000 0.000 scb
185
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
186
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
187
+ endgate
188
+ } def
189
+
190
+
191
+ %%EndDocumentSetup
192
+
193
+ %%Page: 02046.eps 1
194
+ %%PageOrientation: Portrait
195
+ /pgsave save def bop
196
+ % 32.00 4.00 gridspace
197
+ 0.7500 inchscale
198
+ 2.6000 setlinewidth 724 384 translate
199
+
200
+ 1.00 0 -160 -64 acsource
201
+ 1.00 0 -160 64 acsource
202
+ 1.00 0 -160 200 acsource
203
+ 1 1.00 -160 152 -160 128 2 polygon
204
+ 1.00 0 160 80 resistor
205
+ 1 1.00 -160 248 -160 264 160 264 160 128 4 polygon
206
+ 1 1.00 160 32 160 -128 -160 -128 -160 -112 4 polygon
207
+ (load) {/Helvetica cf} 2 16 0 1.00 192 80 label
208
+ (+) {/Helvetica cf} 2 16 0 1.00 -144 232 label
209
+ (-) {/Helvetica cf} 2 16 0 1.00 -144 144 label
210
+ (-) {/Helvetica-Bold cf} 2 31 0 1.00 -120 112 label
211
+ (+) {/Helvetica-Bold cf} 2 31 0 1.00 -120 28 label
212
+ (-) {/Helvetica cf} 2 16 0 1.00 -144 -120 label
213
+ (+) {/Helvetica cf} 2 16 0 1.00 -144 -32 label
214
+ (1) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -112 192 label
215
+ (2) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -112 56 label
216
+ (3) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -112 -72 label
217
+ (Polarity reversed on) {/Helvetica-Oblique cf} 2 16 0 0.75 -468 144 label
218
+ ( !) {ns} (2) {ss} (source E) {/Helvetica-Oblique cf} 6 16 0 0.75 -436 112
219
+ label
220
+ (o) {Ss} ( -64) {/Times-Roman cf} (\320) {/Symbol cf} (22 V ) {/Times-Roman cf}
221
+ 8 16 0 1.00 -432 192 label
222
+ (o) {Ss} ( 35) {/Times-Roman cf} (\320) {/Symbol cf} (12 V ) {/Times-Roman cf}
223
+ 8 16 0 1.00 -400 48 label
224
+ (o) {Ss} ( 0) {/Times-Roman cf} (\320) {/Symbol cf} (15 V ) {/Times-Roman cf} 8
225
+ 16 0 1.00 -384 -72 label
226
+ pgsave restore showpage
227
+
228
+ %%Trailer
229
+ XCIRCsave restore
230
+ %%EOF
derived/Source/circuit_generation_code/AC/02053.eps ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02053.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Thu Apr 19 19:20:00 2007
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 271 152
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /resistor {
176
+ begingate
177
+ 1 1.00 0 64 0 36 2 polygon
178
+ 1 1.00 0 -64 0 -36 2 polygon
179
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
180
+ 1.000 0.000 0.000 scb
181
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
182
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
183
+ 0.000 1.000 0.000 scb
184
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
185
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
186
+ endgate
187
+ } def
188
+
189
+ /arrowhead {
190
+ % trivial
191
+ begingate
192
+ 8 -28 beginpath
193
+ 3 -18 3 -15 0 0 curveto
194
+ -3 -15 -3 -18 -8 -28 curveto
195
+ -2 -26 2 -26 8 -28 curveto
196
+ 249 1.00 endpath
197
+ endgate
198
+ } def
199
+
200
+ /arrow {
201
+ % trivial
202
+ begingate
203
+ 1 0.80 0 -40 0 20 2 polygon
204
+ 1.00 0 0 40 arrowhead
205
+ endgate
206
+ } def
207
+
208
+
209
+ %%EndDocumentSetup
210
+
211
+ %%Page: 1 1
212
+ %%PageOrientation: Portrait
213
+ /pgsave save def bop
214
+ % 32.00 8.00 gridspace
215
+ 0.7500 inchscale
216
+ 2.6000 setlinewidth 456 425 translate
217
+
218
+ 1.00 0 -128 0 acsource
219
+ 1.00 0 128 0 resistor
220
+ 1 1.00 -128 64 -128 96 128 96 128 64 4 polygon
221
+ 1 1.00 -128 -64 -128 -96 128 -96 128 -64 4 polygon
222
+ (R) {/Times-Roman cf} 2 16 0 1.00 152 -8 label
223
+ 0.000 0.000 1.000 scb
224
+ 1 2.00 256 -88 448 -88 2 polygon
225
+ 1.00 90 424 -88 arrow
226
+ sce
227
+ 1 1.00 256 -88 256 104 2 polygon
228
+ 1.000 0.000 0.000 scb
229
+ 1 2.00 256 -80 424 -80 2 polygon
230
+ 1.00 90 400 -80 arrow
231
+ 0.000 0.000 1.000 scb
232
+ (T) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 448 -72 label
233
+ sce
234
+ 1 1.00 256 -88 496 -88 2 polygon
235
+ 0.000 0.000 1.000 scb
236
+ (T) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -200 48 label
237
+ 1.000 0.000 0.000 scb
238
+ {ss} (I) {/Times-Roman cf} 3 16 0 1.00 -112 56 label
239
+ 1.00 90 -24 64 arrow
240
+ (R) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 56 -66 label
241
+ 0.000 0.000 1.000 scb
242
+ (R) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 40 0 label
243
+ (R) {ss} ( = E) {ns} (T ) {ss} (E) {/Times-Roman cf} 8 16 0 1.00 -152 -160
244
+ label
245
+ 1.000 0.000 0.000 scb
246
+ (R) {ss} ( = I) {ns} ( ) {ss} (I) {/Times-Roman cf} 8 16 0 1.00 56 -160 label
247
+ sce
248
+ (\260) {/Symbol cf} (0) {/Times-Roman cf} 4 16 0 1.00 280 -48 label
249
+ 1 1.00 256 -96 64 326.31 360.00 xcarc
250
+ 1 1.00 256 -76 64 0.00 33.69 xcarc
251
+ 0.000 0.000 0.000 scb
252
+ 1 1.00 312 -64 320 -77 324 -60 3 polygon
253
+ 1 1.00 312 -106 320 -93 324 -110 3 polygon
254
+ 1.000 0.000 0.000 scb
255
+ -1.00 180 100 -44 arrow
256
+ (R) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 376 -64 label
257
+ pgsave restore showpage
258
+
259
+ %%Trailer
260
+ XCIRCsave restore
261
+ %%EOF
derived/Source/circuit_generation_code/AC/02056.eps ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02056.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Thu Apr 19 22:10:58 2007
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 266 150
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /inductor {
176
+ begingate
177
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
178
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
179
+ 1 1.00 20 32 20 16 0 12 0 36 spline
180
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
181
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
182
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
183
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
184
+ 1 1.00 0 -48 0 -64 2 polygon
185
+ 1 1.00 0 36 0 48 2 polygon
186
+ 1.000 0.000 0.000 scb
187
+ (l.1) {/Times-Roman cf} 2 9 0 1.00 0 48 pinlabel
188
+ (l.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
189
+ 0.000 1.000 0.000 scb
190
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
191
+ (sim:l %pl.1 %pl.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
192
+ endgate
193
+ } def
194
+
195
+ /arrowhead {
196
+ % trivial
197
+ begingate
198
+ 8 -28 beginpath
199
+ 3 -18 3 -15 0 0 curveto
200
+ -3 -15 -3 -18 -8 -28 curveto
201
+ -2 -26 2 -26 8 -28 curveto
202
+ 249 1.00 endpath
203
+ endgate
204
+ } def
205
+
206
+ /arrow {
207
+ % trivial
208
+ begingate
209
+ 1 0.80 0 -40 0 20 2 polygon
210
+ 1.00 0 0 40 arrowhead
211
+ endgate
212
+ } def
213
+
214
+
215
+ %%EndDocumentSetup
216
+
217
+ %%Page: 1 1
218
+ %%PageOrientation: Portrait
219
+ /pgsave save def bop
220
+ % 32.00 2.00 gridspace
221
+ 0.7500 inchscale
222
+ 2.6000 setlinewidth 448 425 translate
223
+
224
+ 1.00 0 -128 0 acsource
225
+ 1 1.00 -128 64 -128 96 128 96 128 64 4 polygon
226
+ 1 1.00 -128 -64 -128 -96 128 -96 128 -64 4 polygon
227
+ 1.00 0 128 16 inductor
228
+ 1 1.00 128 -48 128 -64 2 polygon
229
+ (L) {/Times-Roman cf} 2 16 0 1.00 160 12 label
230
+ 1.000 0.000 0.000 scb
231
+ 1 2.00 256 -96 448 -96 2 polygon
232
+ 1.00 90 424 -96 arrow
233
+ 0.000 0.000 1.000 scb
234
+ (L) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 272 64 label
235
+ 1.000 0.000 0.000 scb
236
+ (L) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 464 -72 label
237
+ 0.000 0.000 1.000 scb
238
+ 1 2.00 256 -96 256 64 2 polygon
239
+ -1.00 0 256 48 arrow
240
+ (T) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -192 48 label
241
+ 1.000 0.000 0.000 scb
242
+ (L) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 60 -68 label
243
+ 1.00 90 -16 64 arrow
244
+ 0.000 0.000 1.000 scb
245
+ (L) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 52 12 label
246
+ 1.000 0.000 0.000 scb
247
+ {ss} (I) {/Times-Roman cf} 3 16 0 1.00 -104 56 label
248
+ 0.000 0.000 1.000 scb
249
+ (L) {ss} ( = E) {ns} (T ) {ss} (E) {/Times-Roman cf} 8 16 0 1.00 -144 -160
250
+ label
251
+ 1.000 0.000 0.000 scb
252
+ (L) {ss} ( = I) {ns} {ss} (I) {/Times-Roman cf} 7 16 0 1.00 64 -160 label
253
+ sce
254
+ (\260) {/Symbol cf} (90) {/Times-Roman cf} 4 16 0 1.00 264 -88 label
255
+ 1 1.00 256 -96 90 3.77 85.55 xcarc
256
+ 0.000 0.000 0.000 scb
257
+ 1 1.00 276 -14 262 -6 278 -2 3 polygon
258
+ 1.000 0.000 0.000 scb
259
+ -1.00 180 103 -45 arrow
260
+ pgsave restore showpage
261
+
262
+ %%Trailer
263
+ XCIRCsave restore
264
+ %%EOF
derived/Source/circuit_generation_code/AC/02060.eps ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02060.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jul 21 20:41:42 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 225 130
7
+ %%DocumentNeededResources: font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /inductor {
166
+ % -14 -64 29 112 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
170
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
171
+ 1 1.00 20 32 20 16 0 12 0 36 spline
172
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
173
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
174
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
175
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
176
+ 1 1.00 0 -48 0 -64 2 polygon
177
+ 1 1.00 0 36 0 48 2 polygon
178
+ 1.000 0.000 0.000 scb
179
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
180
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
181
+ sce
182
+ 0.000 1.000 0.000 scb
183
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
184
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
185
+ sce
186
+ endgate
187
+ } def
188
+
189
+ %%Page: 02053 1
190
+ %%PageOrientation: Portrait
191
+ /pgsave save def bop
192
+ % 520 352 offsets
193
+ % 32.00 8.00 gridspace
194
+ 0.7500 inchscale
195
+ 2.6000 setlinewidth
196
+
197
+ 1.00 0 392 352 acsource
198
+ 1 1.00 392 416 392 448 648 448 648 416 4 polygon
199
+ 1 1.00 392 288 392 256 648 256 648 288 4 polygon
200
+ 1.00 0 648 368 inductor
201
+ 1 1.00 648 304 648 288 2 polygon
202
+ (L) {/Times-Roman 1.000 cf} 2 16 0 592 352 label
203
+ (10 mH) {/Times-Roman 1.000 cf} 2 16 0 680 352 label
204
+ (10 V) {/Times-Roman 1.000 cf} 2 16 0 264 352 label
205
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 256 304 label
206
+ pgsave restore showpage
207
+
208
+ %%Trailer
209
+ XCIRCsave restore
210
+ %%EOF
derived/Source/circuit_generation_code/AC/02062.eps ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02062.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Thu Apr 19 19:25:55 2007
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 405 184
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /inductor {
176
+ begingate
177
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
178
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
179
+ 1 1.00 20 32 20 16 0 12 0 36 spline
180
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
181
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
182
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
183
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
184
+ 1 1.00 0 -48 0 -64 2 polygon
185
+ 1 1.00 0 36 0 48 2 polygon
186
+ 1.000 0.000 0.000 scb
187
+ (l.1) {/Times-Roman cf} 2 9 0 1.00 0 48 pinlabel
188
+ (l.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
189
+ 0.000 1.000 0.000 scb
190
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
191
+ (sim:l %pl.1 %pl.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
192
+ endgate
193
+ } def
194
+
195
+ /resistor {
196
+ begingate
197
+ 1 1.00 0 64 0 36 2 polygon
198
+ 1 1.00 0 -64 0 -36 2 polygon
199
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
200
+ 1.000 0.000 0.000 scb
201
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
202
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
203
+ 0.000 1.000 0.000 scb
204
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
205
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
206
+ endgate
207
+ } def
208
+
209
+ /arrowhead {
210
+ % trivial
211
+ begingate
212
+ 8 -28 beginpath
213
+ 3 -18 3 -15 0 0 curveto
214
+ -3 -15 -3 -18 -8 -28 curveto
215
+ -2 -26 2 -26 8 -28 curveto
216
+ 249 1.00 endpath
217
+ endgate
218
+ } def
219
+
220
+ /arrow {
221
+ % trivial
222
+ begingate
223
+ 1 0.80 0 -40 0 20 2 polygon
224
+ 1.00 0 0 40 arrowhead
225
+ endgate
226
+ } def
227
+
228
+
229
+ %%EndDocumentSetup
230
+
231
+ %%Page: 1 1
232
+ %%PageOrientation: Portrait
233
+ /pgsave save def bop
234
+ % 32.00 8.00 gridspace
235
+ 0.7500 inchscale
236
+ 2.6000 setlinewidth 456 497 translate
237
+
238
+ 1.00 0 -128 0 acsource
239
+ 1 1.00 -128 -64 -128 -96 128 -96 128 -64 4 polygon
240
+ 1.00 0 128 16 inductor
241
+ 1 1.00 128 -48 128 -64 2 polygon
242
+ 1.00 90 0 96 resistor
243
+ 1 1.00 64 96 128 96 128 64 3 polygon
244
+ 1 1.00 -64 96 -128 96 -128 64 3 polygon
245
+ (R) {/Times-Roman cf} 2 16 0 1.00 -16 120 label
246
+ 0.000 0.000 1.000 scb
247
+ (T) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -200 40 label
248
+ 1.000 0.000 0.000 scb
249
+ 1.00 90 -24 56 arrow
250
+ (L) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 64 -64 label
251
+ 0.000 0.000 1.000 scb
252
+ (L) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 56 8 label
253
+ sce
254
+ (L) {/Times-Roman cf} 2 16 0 1.00 152 -8 label
255
+ 1.000 0.000 0.000 scb
256
+ (L) {ss} ( = I) {ns} (R) {ss} ( = I) {ns} ( ) {ss} (I) {/Times-Roman cf} 12 16
257
+ 0 1.00 -120 -232 label
258
+ 0.000 0.000 1.000 scb
259
+ (L) {ss} (+ E) {ns} (R) {ss} ( = E) {ns} (T ) {ss} (E) {/Times-Roman cf} 12 16
260
+ 0 1.00 -152 -168 label
261
+ (R) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 424 -140 label
262
+ sce
263
+ (\260) {/Symbol cf} (37) {/Times-Roman cf} 4 16 0 1.00 305 -89 label
264
+ 0.000 0.000 1.000 scb
265
+ 1 2.00 240 -96 432 -96 2 polygon
266
+ 1.00 90 408 -96 arrow
267
+ 1 2.00 240 -96 240 8 2 polygon
268
+ -1.00 0 240 -16 arrow
269
+ sce
270
+ 1 1.00 240 -96 136 2.06 25.46 xcarc
271
+ 1.00 0 640 0 acsource
272
+ 1 1.00 640 -64 640 -96 896 -96 896 -64 4 polygon
273
+ 1.00 0 896 16 inductor
274
+ 1 1.00 896 -48 896 -64 2 polygon
275
+ 1.00 90 768 96 resistor
276
+ 1 1.00 832 96 896 96 896 64 3 polygon
277
+ 1 1.00 704 96 640 96 640 64 3 polygon
278
+ (R) {/Times-Roman cf} 2 16 0 1.00 752 120 label
279
+ (L) {/Times-Roman cf} 2 16 0 1.00 848 0 label
280
+ (W) {/Symbol cf} (5 ) {/Times-Roman cf} 4 16 0 1.00 736 48 label
281
+ (mH) {CR} (10) {/Times-Roman cf} 4 16 0 1.00 920 -24 label
282
+ (10 V) {/Times-Roman cf} 2 16 0 1.00 512 0 label
283
+ (60 Hz) {/Times-Roman cf} 2 16 0 1.00 504 -40 label
284
+ 0.000 0.000 1.000 scb
285
+ 3 2.00 448 -96 448 8 2 polygon
286
+ 1 2.00 240 -96 432 8 2 polygon
287
+ 1.00 60 416 0 arrow
288
+ (T) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 384 32 label
289
+ 1.000 0.000 0.000 scb
290
+ (R) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 28 56 label
291
+ 0.000 0.000 1.000 scb
292
+ (L) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 240 8 label
293
+ 1.000 0.000 0.000 scb
294
+ {ss} (I) {/Times-Roman cf} 3 16 0 1.00 369 -144 label
295
+ {ss} (I) {/Times-Roman cf} 3 16 0 1.00 -104 56 label
296
+ 1 2.00 241 -104 400 -104 2 polygon
297
+ 497 1.00 393 -98 397 -100 404 -102 418 -105 403 -108 393 -112 394 -106 393 -98
298
+ 8 polygon
299
+ 0.000 0.000 0.000 scb
300
+ 1 1.00 362 -52 362 -35 374 -50 3 polygon
301
+ 1.000 0.000 0.000 scb
302
+ -1.00 180 104 -46 arrow
303
+ 0.000 0.000 1.000 scb
304
+ 497 1.00 447 19 445 6 443 -4 440 -13 454 -13 452 -6 450 2 447 19 8 polygon
305
+ pgsave restore showpage
306
+
307
+ %%Trailer
308
+ XCIRCsave restore
309
+ %%EOF
derived/Source/circuit_generation_code/AC/02064.eps ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02064.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:24:54 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 225 153
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /inductor {
166
+ % -14 -64 29 112 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
170
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
171
+ 1 1.00 20 32 20 16 0 12 0 36 spline
172
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
173
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
174
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
175
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
176
+ 1 1.00 0 -48 0 -64 2 polygon
177
+ 1 1.00 0 36 0 48 2 polygon
178
+ 1.000 0.000 0.000 scb
179
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
180
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
181
+ sce
182
+ 0.000 1.000 0.000 scb
183
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
184
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
185
+ sce
186
+ endgate
187
+ } def
188
+
189
+ /resistor {
190
+ % -14 -64 28 128 bbox
191
+ begingate
192
+ % fundamental
193
+ 1 1.00 0 64 0 36 2 polygon
194
+ 1 1.00 0 -64 0 -36 2 polygon
195
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
196
+ 1.000 0.000 0.000 scb
197
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
198
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
199
+ sce
200
+ 0.000 1.000 0.000 scb
201
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
202
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ %%Page: 02053 1
208
+ %%PageOrientation: Portrait
209
+ /pgsave save def bop
210
+ % 520 384 offsets
211
+ % 32.00 8.00 gridspace
212
+ 0.7500 inchscale
213
+ 2.6000 setlinewidth
214
+
215
+ 1.00 0 392 384 acsource
216
+ 1 1.00 392 320 392 288 648 288 648 320 4 polygon
217
+ 1.00 0 648 400 inductor
218
+ 1 1.00 648 336 648 320 2 polygon
219
+ 1.00 270 520 480 resistor
220
+ 1 1.00 584 480 648 480 648 448 3 polygon
221
+ 1 1.00 456 480 392 480 392 448 3 polygon
222
+ 1.000 0.000 1.000 scb
223
+ (1) {/Helvetica 1.000 cf} 2 16 0 360 480 label
224
+ (0) {/Helvetica 1.000 cf} 2 16 0 360 256 label
225
+ (2) {/Helvetica 1.000 cf} 2 16 0 656 480 label
226
+ (0) {/Helvetica 1.000 cf} 2 16 0 648 256 label
227
+ sce
228
+ (R) {/Times-Roman 1.000 cf} 2 16 0 504 504 label
229
+ (L) {/Times-Roman 1.000 cf} 2 16 0 592 376 label
230
+ (W) {/Symbol 1.000 cf} (5 ) {/Times-Roman 1.000 cf} 4 16 0 488 432 label
231
+ (10 mH) {/Times-Roman 1.000 cf} 2 16 0 680 376 label
232
+ (10 V) {/Times-Roman 1.000 cf} 2 16 0 264 384 label
233
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 256 344 label
234
+ pgsave restore showpage
235
+
236
+ %%Trailer
237
+ XCIRCsave restore
238
+ %%EOF
derived/Source/circuit_generation_code/AC/02065.eps ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02065.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jul 21 21:35:43 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 266 236
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /inductor {
144
+ % -14 -64 29 112 bbox
145
+ begingate
146
+ % fundamental
147
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
148
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
149
+ 1 1.00 20 32 20 16 0 12 0 36 spline
150
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
151
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
152
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
153
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
154
+ 1 1.00 0 -48 0 -64 2 polygon
155
+ 1 1.00 0 36 0 48 2 polygon
156
+ 1.000 0.000 0.000 scb
157
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
158
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
159
+ sce
160
+ 0.000 1.000 0.000 scb
161
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
162
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
163
+ sce
164
+ endgate
165
+ } def
166
+
167
+ /resistor {
168
+ % -14 -64 28 128 bbox
169
+ begingate
170
+ % fundamental
171
+ 1 1.00 0 64 0 36 2 polygon
172
+ 1 1.00 0 -64 0 -36 2 polygon
173
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ %%Page: 02064 1
186
+ %%PageOrientation: Portrait
187
+ /pgsave save def bop
188
+ % 552 512 offsets
189
+ % 32.00 8.00 gridspace
190
+ 0.7500 inchscale
191
+ 2.6000 setlinewidth
192
+
193
+ 1.00 0 552 432 inductor
194
+ 1.00 0 552 608 resistor
195
+ 1 1.00 552 560 552 480 2 polygon
196
+ 1 1.00 552 368 552 256 2 polygon
197
+ 1 1.00 552 672 552 768 2 polygon
198
+ 0.603 0.603 0.603 scb
199
+ 4 1.00 488 704 488 288 616 288 616 704 4 polygon
200
+ sce
201
+ (Wire resistance) {/Helvetica 1.000 cf} 2 16 0 648 608 label
202
+ (Ideal inductor) {/Helvetica 1.000 cf} 2 16 0 648 432 label
203
+ (Equivalent circuit for a real inductor) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 800 label
204
+ (R) {/Times-Roman 1.000 cf} 2 16 0 752 568 label
205
+ (L) {/Times-Roman 1.000 cf} 2 16 0 752 384 label
206
+ pgsave restore showpage
207
+
208
+ %%Trailer
209
+ XCIRCsave restore
210
+ %%EOF
derived/Source/circuit_generation_code/AC/02066.eps ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02066.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jul 21 21:40:06 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 299 236
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /inductor {
144
+ % -14 -64 29 112 bbox
145
+ begingate
146
+ % fundamental
147
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
148
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
149
+ 1 1.00 20 32 20 16 0 12 0 36 spline
150
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
151
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
152
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
153
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
154
+ 1 1.00 0 -48 0 -64 2 polygon
155
+ 1 1.00 0 36 0 48 2 polygon
156
+ 1.000 0.000 0.000 scb
157
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
158
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
159
+ sce
160
+ 0.000 1.000 0.000 scb
161
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
162
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
163
+ sce
164
+ endgate
165
+ } def
166
+
167
+ /resistor {
168
+ % -14 -64 28 128 bbox
169
+ begingate
170
+ % fundamental
171
+ 1 1.00 0 64 0 36 2 polygon
172
+ 1 1.00 0 -64 0 -36 2 polygon
173
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ %%Page: 02064 1
186
+ %%PageOrientation: Portrait
187
+ /pgsave save def bop
188
+ % 552 512 offsets
189
+ % 32.00 8.00 gridspace
190
+ 0.7500 inchscale
191
+ 2.6000 setlinewidth
192
+
193
+ 1.00 0 552 432 inductor
194
+ 1.00 0 552 608 resistor
195
+ 1 1.00 552 560 552 480 2 polygon
196
+ 1 1.00 552 368 552 256 2 polygon
197
+ 1 1.00 552 672 552 768 2 polygon
198
+ 0.603 0.603 0.603 scb
199
+ 4 1.00 488 704 488 288 616 288 616 704 4 polygon
200
+ sce
201
+ (Ideal inductor) {/Helvetica 1.000 cf} 2 16 0 648 432 label
202
+ (Equivalent circuit for a real inductor) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 800 label
203
+ (R) {/Times-Roman 1.000 cf} 2 16 0 752 568 label
204
+ (L) {/Times-Roman 1.000 cf} 2 16 0 752 384 label
205
+ ("Effective" resistance) {/Helvetica 1.000 cf} 2 16 0 656 608 label
206
+ pgsave restore showpage
207
+
208
+ %%Trailer
209
+ XCIRCsave restore
210
+ %%EOF
derived/Source/circuit_generation_code/AC/02072.eps ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02072.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 09:13:40 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 238 130
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /capacitor {
166
+ % -32 -64 64 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 -64 0 -6 2 polygon
170
+ 1 1.00 0 64 0 6 2 polygon
171
+ 1 1.00 -32 6 32 6 2 polygon
172
+ 1 1.00 -32 -6 32 -6 2 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
175
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ %%Page: 02053 1
185
+ %%PageOrientation: Portrait
186
+ /pgsave save def bop
187
+ % 528 352 offsets
188
+ % 32.00 8.00 gridspace
189
+ 0.7500 inchscale
190
+ 2.6000 setlinewidth
191
+
192
+ 1.00 0 400 352 acsource
193
+ 1 1.00 400 416 400 448 656 448 656 416 4 polygon
194
+ 1 1.00 400 288 400 256 656 256 656 288 4 polygon
195
+ 1 1.00 656 304 656 288 2 polygon
196
+ 1.00 0 656 352 capacitor
197
+ (10 V) {/Times-Roman 1.000 cf} 2 16 0 272 360 label
198
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 256 320 label
199
+ (C) {/Times-Roman 1.000 cf} 2 16 0 584 344 label
200
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (100 ) {/Times-Roman 1.000 cf} 6 16 0 704
201
+ 344 label
202
+ pgsave restore showpage
203
+
204
+ %%Trailer
205
+ XCIRCsave restore
206
+ %%EOF
derived/Source/circuit_generation_code/AC/02074.eps ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02074.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Thu Apr 19 23:17:41 2007
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 382 183
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /capacitor {
176
+ begingate
177
+ 1 1.00 0 -64 0 -6 2 polygon
178
+ 1 1.00 0 64 0 6 2 polygon
179
+ 1 1.00 -32 6 32 6 2 polygon
180
+ 1 1.00 -32 -6 32 -6 2 polygon
181
+ 1.000 0.000 0.000 scb
182
+ (c.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
183
+ (c.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
184
+ 0.000 1.000 0.000 scb
185
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
186
+ (sim:c %pc.1 %pc.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
187
+ endgate
188
+ } def
189
+
190
+ /resistor {
191
+ begingate
192
+ 1 1.00 0 64 0 36 2 polygon
193
+ 1 1.00 0 -64 0 -36 2 polygon
194
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
195
+ 1.000 0.000 0.000 scb
196
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
197
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
198
+ 0.000 1.000 0.000 scb
199
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
200
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
201
+ endgate
202
+ } def
203
+
204
+ /arrowhead {
205
+ % trivial
206
+ begingate
207
+ 8 -28 beginpath
208
+ 3 -18 3 -15 0 0 curveto
209
+ -3 -15 -3 -18 -8 -28 curveto
210
+ -2 -26 2 -26 8 -28 curveto
211
+ 249 1.00 endpath
212
+ endgate
213
+ } def
214
+
215
+ /arrow {
216
+ % trivial
217
+ begingate
218
+ 1 0.80 0 -40 0 20 2 polygon
219
+ 1.00 0 0 40 arrowhead
220
+ endgate
221
+ } def
222
+
223
+
224
+ %%EndDocumentSetup
225
+
226
+ %%Page: 1 1
227
+ %%PageOrientation: Portrait
228
+ /pgsave save def bop
229
+ % 32.00 4.00 gridspace
230
+ 0.7500 inchscale
231
+ 2.6000 setlinewidth 296 485 translate
232
+
233
+ 1.00 0 32 0 acsource
234
+ 1 1.00 32 -64 32 -104 288 -104 288 -64 4 polygon
235
+ 1 1.00 288 -48 288 -64 2 polygon
236
+ 1.00 0 288 0 capacitor
237
+ 1.00 90 160 96 resistor
238
+ 1 1.00 224 96 288 96 288 64 3 polygon
239
+ 1 1.00 96 96 32 96 32 64 3 polygon
240
+ (R) {/Times-Roman cf} 2 16 0 1.00 144 128 label
241
+ (C) {/Times-Roman cf} 2 16 0 1.00 304 32 label
242
+ 0.000 0.000 1.000 scb
243
+ (C) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 391 -87 label
244
+ 1 2.00 464 -80 464 96 2 polygon
245
+ 1.00 180 464 -60 arrow
246
+ sce
247
+ (\260) {/Symbol cf} (-79.3) {/Times-Roman cf} 4 16 0 0.80 480 63 label
248
+ 1 1.00 486 98 96 283.74 356.50 xcarc
249
+ 0.000 0.000 0.000 scb
250
+ 1 1.00 518 12 507 5 520 2 3 polygon
251
+ 0.000 0.000 1.000 scb
252
+ (T) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 541 -88 label
253
+ 3 2.00 468 -96 528 -96 2 polygon
254
+ 1 2.00 464 96 528 -80 2 polygon
255
+ 1.00 160 520 -60 arrow
256
+ 1.000 0.000 0.000 scb
257
+ {ss} (I) {/Times-Roman cf} 3 16 0 1.00 523 117 label
258
+ 0.000 0.000 1.000 scb
259
+ 1.00 90 548 96 arrow
260
+ (R) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 569 119 label
261
+ sce
262
+ 1.00 0 800 0 acsource
263
+ 1 1.00 800 -64 800 -96 1016 -96 1016 -64 4 polygon
264
+ 1 1.00 1016 -48 1016 -64 2 polygon
265
+ 1.00 0 1016 0 capacitor
266
+ 1.00 90 888 96 resistor
267
+ 1 1.00 952 96 1016 96 1016 64 3 polygon
268
+ 1 1.00 840 96 800 96 800 64 3 polygon
269
+ (10 V) {/Times-Roman cf} 2 16 0 1.00 656 16 label
270
+ (60 Hz) {/Times-Roman cf} 2 16 0 1.00 648 -32 label
271
+ (W) {/Symbol cf} (5 ) {/Times-Roman cf} 4 16 0 0.80 856 48 label
272
+ (R) {/Times-Roman cf} 2 16 0 1.00 872 120 label
273
+ (C) {/Times-Roman cf} 2 16 0 1.00 960 32 label
274
+ (F) {/Times-Roman cf} (m) {/Symbol cf} ( ) {CR} (100) {/Times-Roman cf} 8 16 0
275
+ 0.80 936 -72 label
276
+ 0.000 0.000 1.000 scb
277
+ (T) {ss} (E) {/Times-Roman cf} 4 16 0 1.00 -40 52 label
278
+ 1.000 0.000 0.000 scb
279
+ {ss} (I) {/Times-Roman cf} 3 16 0 1.00 57 55 label
280
+ 1.00 90 160 60 arrow
281
+ 0.000 0.000 0.000 scb
282
+ (R) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 220 60 label
283
+ 0.000 0.000 1.000 scb
284
+ (C) {ss} (V) {/Times-Roman cf} 4 16 0 1.00 192 -12 label
285
+ 1.000 0.000 0.000 scb
286
+ (C) {ss} (I) {/Times-Roman cf} 4 16 0 1.00 224 -76 label
287
+ -1.00 180 272 -58 arrow
288
+ (C) {ss} ( = I) {ns} (R) {ss} ( = I) {ns} ( ) {ss} (I) {/Times-Roman cf} 12 16
289
+ 0 1.00 24 -220 label
290
+ 0.000 0.000 1.000 scb
291
+ (C) {ss} (+ E) {ns} (R) {ss} ( = E) {ns} (T ) {ss} (E) {/Times-Roman cf} 12 16
292
+ 0 1.00 8 -156 label
293
+ 1.000 0.000 0.000 scb
294
+ 1 2.00 464 96 528 96 2 polygon
295
+ 1.00 90 508 96 arrow
296
+ pgsave restore showpage
297
+
298
+ %%Trailer
299
+ XCIRCsave restore
300
+ %%EOF
derived/Source/circuit_generation_code/AC/02076.eps ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02076.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:26:03 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 238 153
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /capacitor {
166
+ % -32 -64 64 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 -64 0 -6 2 polygon
170
+ 1 1.00 0 64 0 6 2 polygon
171
+ 1 1.00 -32 6 32 6 2 polygon
172
+ 1 1.00 -32 -6 32 -6 2 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
175
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /resistor {
185
+ % -14 -64 28 128 bbox
186
+ begingate
187
+ % fundamental
188
+ 1 1.00 0 64 0 36 2 polygon
189
+ 1 1.00 0 -64 0 -36 2 polygon
190
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
191
+ 1.000 0.000 0.000 scb
192
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
193
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
194
+ sce
195
+ 0.000 1.000 0.000 scb
196
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
197
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
198
+ sce
199
+ endgate
200
+ } def
201
+
202
+ %%Page: 02053 1
203
+ %%PageOrientation: Portrait
204
+ /pgsave save def bop
205
+ % 528 384 offsets
206
+ % 32.00 8.00 gridspace
207
+ 0.7500 inchscale
208
+ 2.6000 setlinewidth
209
+
210
+ 1.00 0 400 384 acsource
211
+ 1 1.00 400 320 400 288 656 288 656 320 4 polygon
212
+ 1 1.00 656 336 656 320 2 polygon
213
+ 1.00 0 656 384 capacitor
214
+ 1.00 270 528 480 resistor
215
+ 1 1.00 592 480 656 480 656 448 3 polygon
216
+ 1 1.00 464 480 400 480 400 448 3 polygon
217
+ 1.000 0.000 1.000 scb
218
+ (1) {/Helvetica 1.000 cf} 2 16 0 368 480 label
219
+ (2) {/Helvetica 1.000 cf} 2 16 0 664 480 label
220
+ (0) {/Helvetica 1.000 cf} 2 16 0 368 256 label
221
+ (0) {/Helvetica 1.000 cf} 2 16 0 656 256 label
222
+ sce
223
+ (10 V) {/Times-Roman 1.000 cf} 2 16 0 272 392 label
224
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 256 352 label
225
+ (W) {/Symbol 1.000 cf} (5 ) {/Times-Roman 1.000 cf} 4 16 0 496 432 label
226
+ (R) {/Times-Roman 1.000 cf} 2 16 0 512 504 label
227
+ (C) {/Times-Roman 1.000 cf} 2 16 0 584 376 label
228
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (100 ) {/Times-Roman 1.000 cf} 6 16 0 704
229
+ 376 label
230
+ pgsave restore showpage
231
+
232
+ %%Trailer
233
+ XCIRCsave restore
234
+ %%EOF
derived/Source/circuit_generation_code/AC/02077.eps ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02077.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 09:48:55 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 263 241
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /capacitor {
144
+ % -32 -64 64 128 bbox
145
+ begingate
146
+ % fundamental
147
+ 1 1.00 0 -64 0 -6 2 polygon
148
+ 1 1.00 0 64 0 6 2 polygon
149
+ 1 1.00 -32 6 32 6 2 polygon
150
+ 1 1.00 -32 -6 32 -6 2 polygon
151
+ 1.000 0.000 0.000 scb
152
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
153
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
154
+ sce
155
+ 0.000 1.000 0.000 scb
156
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
157
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
158
+ sce
159
+ endgate
160
+ } def
161
+
162
+ /resistor {
163
+ % -14 -64 28 128 bbox
164
+ begingate
165
+ % fundamental
166
+ 1 1.00 0 64 0 36 2 polygon
167
+ 1 1.00 0 -64 0 -36 2 polygon
168
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
169
+ 1.000 0.000 0.000 scb
170
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
171
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
172
+ sce
173
+ 0.000 1.000 0.000 scb
174
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
175
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
176
+ sce
177
+ endgate
178
+ } def
179
+
180
+ /dot {
181
+ % -10 -10 20 20 bbox
182
+ begingate
183
+ 248 1.00 0 0 6 0.00 360.00 xcarc
184
+ endgate
185
+ } def
186
+
187
+ %%Page: 1 1
188
+ %%PageOrientation: Portrait
189
+ /pgsave save def bop
190
+ % 560 416 offsets
191
+ 0.7500 inchscale
192
+ 2.6000 setlinewidth
193
+
194
+ 1.00 0 560 416 capacitor
195
+ 1.00 0 560 608 resistor
196
+ 1.00 0 720 416 resistor
197
+ 1 1.00 560 544 560 480 720 480 3 polygon
198
+ 1 1.00 720 352 560 352 560 256 3 polygon
199
+ 1 1.00 560 672 560 768 2 polygon
200
+ 0.603 0.603 0.603 scb
201
+ 4 1.00 496 672 496 320 752 320 752 672 4 polygon
202
+ sce
203
+ (Ideal) {/Helvetica 1.000 cf} 2 16 0 352 416 label
204
+ (capacitor) {/Helvetica 1.000 cf} 2 16 0 320 384 label
205
+ (Equivalent circuit for a real capacitor) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 816 label
206
+ (series) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 592 600 label
207
+ (parallel) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 760 408 label
208
+ 1.00 0 560 480 dot
209
+ 1.00 0 560 352 dot
210
+ pgsave restore showpage
211
+
212
+ %%Trailer
213
+ XCIRCsave restore
214
+ %%EOF
derived/Source/circuit_generation_code/AC/02078.eps ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02078.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 10:17:53 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 240 182
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /resistor {
166
+ % -14 -64 28 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 64 0 36 2 polygon
170
+ 1 1.00 0 -64 0 -36 2 polygon
171
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
174
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ 0.000 1.000 0.000 scb
177
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
178
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ /inductor {
184
+ % -14 -64 29 112 bbox
185
+ begingate
186
+ % fundamental
187
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
188
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
189
+ 1 1.00 20 32 20 16 0 12 0 36 spline
190
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
191
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
192
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
193
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
194
+ 1 1.00 0 -48 0 -64 2 polygon
195
+ 1 1.00 0 36 0 48 2 polygon
196
+ 1.000 0.000 0.000 scb
197
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
198
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
199
+ sce
200
+ 0.000 1.000 0.000 scb
201
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
202
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ /capacitor {
208
+ % -32 -64 64 128 bbox
209
+ begingate
210
+ % fundamental
211
+ 1 1.00 0 -64 0 -6 2 polygon
212
+ 1 1.00 0 64 0 6 2 polygon
213
+ 1 1.00 -32 6 32 6 2 polygon
214
+ 1 1.00 -32 -6 32 -6 2 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ %%Page: 1 1
227
+ %%PageOrientation: Portrait
228
+ /pgsave save def bop
229
+ % 736 456 offsets
230
+ % 32.00 8.00 gridspace
231
+ 0.7500 inchscale
232
+ 2.6000 setlinewidth
233
+
234
+ 1.00 0 416 456 acsource
235
+ 1.00 270 544 584 resistor
236
+ 1.00 0 672 472 inductor
237
+ 1.00 270 544 328 capacitor
238
+ 1 1.00 416 520 416 584 480 584 3 polygon
239
+ 1 1.00 608 584 672 584 672 520 3 polygon
240
+ 1 1.00 608 328 672 328 672 392 3 polygon
241
+ 1 1.00 416 392 416 328 480 328 3 polygon
242
+ 1 1.00 672 408 672 376 2 polygon
243
+ (120 V) {/Times-Roman 1.000 cf} 2 16 0 256 456 label
244
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 264 416 label
245
+ (W) {/Symbol 1.000 cf} (250 ) {/Times-Roman 1.000 cf} 4 16 0 480 536 label
246
+ (R) {/Times-Roman 1.000 cf} 2 16 0 528 608 label
247
+ (L) {/Times-Roman 1.000 cf} 2 16 0 624 456 label
248
+ (C) {/Times-Roman 1.000 cf} 2 16 0 528 376 label
249
+ (650 mH) {/Times-Roman 1.000 cf} 2 16 0 704 456 label
250
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (1.5 ) {/Times-Roman 1.000 cf} 6 16 0 488
251
+ 256 label
252
+ pgsave restore showpage
253
+
254
+ %%Trailer
255
+ XCIRCsave restore
256
+ %%EOF
derived/Source/circuit_generation_code/AC/02079.eps ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02079.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 10:21:57 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 280 185
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /resistor {
166
+ % -14 -64 28 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 64 0 36 2 polygon
170
+ 1 1.00 0 -64 0 -36 2 polygon
171
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
174
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ 0.000 1.000 0.000 scb
177
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
178
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ /inductor {
184
+ % -14 -64 29 112 bbox
185
+ begingate
186
+ % fundamental
187
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
188
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
189
+ 1 1.00 20 32 20 16 0 12 0 36 spline
190
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
191
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
192
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
193
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
194
+ 1 1.00 0 -48 0 -64 2 polygon
195
+ 1 1.00 0 36 0 48 2 polygon
196
+ 1.000 0.000 0.000 scb
197
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
198
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
199
+ sce
200
+ 0.000 1.000 0.000 scb
201
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
202
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ /capacitor {
208
+ % -32 -64 64 128 bbox
209
+ begingate
210
+ % fundamental
211
+ 1 1.00 0 -64 0 -6 2 polygon
212
+ 1 1.00 0 64 0 6 2 polygon
213
+ 1 1.00 -32 6 32 6 2 polygon
214
+ 1 1.00 -32 -6 32 -6 2 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ %%Page: 02078 1
227
+ %%PageOrientation: Portrait
228
+ /pgsave save def bop
229
+ % 728 456 offsets
230
+ % 32.00 8.00 gridspace
231
+ 0.7500 inchscale
232
+ 2.6000 setlinewidth
233
+
234
+ 1.00 0 408 456 acsource
235
+ 1.00 270 536 584 resistor
236
+ 1.00 0 664 472 inductor
237
+ 1.00 270 536 328 capacitor
238
+ 1 1.00 408 520 408 584 472 584 3 polygon
239
+ 1 1.00 600 584 664 584 664 520 3 polygon
240
+ 1 1.00 600 328 664 328 664 392 3 polygon
241
+ 1 1.00 408 392 408 328 472 328 3 polygon
242
+ 1 1.00 664 408 664 376 2 polygon
243
+ (120 V) {/Times-Roman 1.000 cf} 2 16 0 256 464 label
244
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 264 424 label
245
+ (R) {ss} (Z) {/Times-Roman 1.000 cf} 4 16 0 512 616 label
246
+ (L) {ss} (Z) {/Times-Roman 1.000 cf} 4 16 0 592 456 label
247
+ (C) {ss} (Z) {/Times-Roman 1.000 cf} 4 16 0 512 384 label
248
+ (o) {Ss} ( 0) {/Times-Roman 1.000 cf} (W \320) {/Symbol 1.000 cf} (250 ) {/Times-Roman 1.000 cf} 8 16 0
249
+ 432 536 label
250
+ (o) {Ss} ( 90) {/Times-Roman 1.000 cf} (W \320) {/Symbol 1.000 cf} (245.04 ) {/Times-Roman 1.000 cf} 8 16 0
251
+ 696 456 label
252
+ (o) {Ss} ( -90) {/Times-Roman 1.000 cf} (W \320) {/Symbol 1.000 cf} (1.7684 k) {/Times-Roman 1.000 cf} 8 16 0
253
+ 392 256 label
254
+ pgsave restore showpage
255
+
256
+ %%Trailer
257
+ XCIRCsave restore
258
+ %%EOF
derived/Source/circuit_generation_code/AC/02080.eps ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02080.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:27:05 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 236 182
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /resistor {
166
+ % -14 -64 28 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 64 0 36 2 polygon
170
+ 1 1.00 0 -64 0 -36 2 polygon
171
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
174
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ 0.000 1.000 0.000 scb
177
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
178
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ /inductor {
184
+ % -14 -64 29 112 bbox
185
+ begingate
186
+ % fundamental
187
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
188
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
189
+ 1 1.00 20 32 20 16 0 12 0 36 spline
190
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
191
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
192
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
193
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
194
+ 1 1.00 0 -48 0 -64 2 polygon
195
+ 1 1.00 0 36 0 48 2 polygon
196
+ 1.000 0.000 0.000 scb
197
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
198
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
199
+ sce
200
+ 0.000 1.000 0.000 scb
201
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
202
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ /capacitor {
208
+ % -32 -64 64 128 bbox
209
+ begingate
210
+ % fundamental
211
+ 1 1.00 0 -64 0 -6 2 polygon
212
+ 1 1.00 0 64 0 6 2 polygon
213
+ 1 1.00 -32 6 32 6 2 polygon
214
+ 1 1.00 -32 -6 32 -6 2 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ %%Page: 02078 1
227
+ %%PageOrientation: Portrait
228
+ /pgsave save def bop
229
+ % 728 456 offsets
230
+ % 32.00 8.00 gridspace
231
+ 0.7500 inchscale
232
+ 2.6000 setlinewidth
233
+
234
+ 1.00 0 408 456 acsource
235
+ 1.00 270 536 584 resistor
236
+ 1.00 0 664 472 inductor
237
+ 1.00 270 536 328 capacitor
238
+ 1 1.00 408 520 408 584 472 584 3 polygon
239
+ 1 1.00 600 584 664 584 664 520 3 polygon
240
+ 1 1.00 600 328 664 328 664 392 3 polygon
241
+ 1 1.00 408 392 408 328 472 328 3 polygon
242
+ 1 1.00 664 408 664 376 2 polygon
243
+ 1.000 0.000 1.000 scb
244
+ (1) {/Helvetica 1.000 cf} 2 16 0 376 584 label
245
+ (2) {/Helvetica 1.000 cf} 2 16 0 672 584 label
246
+ (3) {/Helvetica 1.000 cf} 2 16 0 672 296 label
247
+ (0) {/Helvetica 1.000 cf} 2 16 0 376 296 label
248
+ sce
249
+ (120 V) {/Times-Roman 1.000 cf} 2 16 0 256 464 label
250
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 264 424 label
251
+ (R) {/Times-Roman 1.000 cf} 2 16 0 520 608 label
252
+ (L) {/Times-Roman 1.000 cf} 2 16 0 616 456 label
253
+ (C) {/Times-Roman 1.000 cf} 2 16 0 520 376 label
254
+ (W) {/Symbol 1.000 cf} (250 ) {/Times-Roman 1.000 cf} 4 16 0 480 536 label
255
+ (650 mH) {/Times-Roman 1.000 cf} 2 16 0 688 456 label
256
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (1.5 ) {/Times-Roman 1.000 cf} 6 16 0 480
257
+ 256 label
258
+ pgsave restore showpage
259
+
260
+ %%Trailer
261
+ XCIRCsave restore
262
+ %%EOF
derived/Source/circuit_generation_code/AC/02081.eps ADDED
@@ -0,0 +1,268 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02081.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 10:45:00 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 135
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /resistor {
166
+ % -14 -64 28 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 64 0 36 2 polygon
170
+ 1 1.00 0 -64 0 -36 2 polygon
171
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
174
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ 0.000 1.000 0.000 scb
177
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
178
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ /inductor {
184
+ % -14 -64 29 112 bbox
185
+ begingate
186
+ % fundamental
187
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
188
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
189
+ 1 1.00 20 32 20 16 0 12 0 36 spline
190
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
191
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
192
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
193
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
194
+ 1 1.00 0 -48 0 -64 2 polygon
195
+ 1 1.00 0 36 0 48 2 polygon
196
+ 1.000 0.000 0.000 scb
197
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
198
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
199
+ sce
200
+ 0.000 1.000 0.000 scb
201
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
202
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ /capacitor {
208
+ % -32 -64 64 128 bbox
209
+ begingate
210
+ % fundamental
211
+ 1 1.00 0 -64 0 -6 2 polygon
212
+ 1 1.00 0 64 0 6 2 polygon
213
+ 1 1.00 -32 6 32 6 2 polygon
214
+ 1 1.00 -32 -6 32 -6 2 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ /dot {
227
+ % -10 -10 20 20 bbox
228
+ begingate
229
+ 248 1.00 0 0 6 0.00 360.00 xcarc
230
+ endgate
231
+ } def
232
+
233
+ %%Page: 1 1
234
+ %%PageOrientation: Portrait
235
+ /pgsave save def bop
236
+ % 792 362 offsets
237
+ % 32.00 8.00 gridspace
238
+ 0.7500 inchscale
239
+ 2.6000 setlinewidth
240
+
241
+ 1.00 0 408 362 acsource
242
+ 1.00 0 648 362 resistor
243
+ 1.00 0 888 378 inductor
244
+ 1.00 0 1128 362 capacitor
245
+ 1 1.00 408 426 408 458 1128 458 1128 426 4 polygon
246
+ 1 1.00 888 458 888 426 2 polygon
247
+ 1 1.00 648 458 648 426 2 polygon
248
+ 1 1.00 408 298 408 266 1128 266 1128 298 4 polygon
249
+ 1 1.00 888 314 888 266 2 polygon
250
+ 1 1.00 648 298 648 266 2 polygon
251
+ 1.00 0 648 458 dot
252
+ 1.00 0 648 266 dot
253
+ 1.00 0 888 266 dot
254
+ 1.00 0 888 458 dot
255
+ (120 V) {/Times-Roman 1.000 cf} 2 16 0 256 370 label
256
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 256 322 label
257
+ (R) {/Times-Roman 1.000 cf} 2 16 0 592 378 label
258
+ (L) {/Times-Roman 1.000 cf} 2 16 0 840 378 label
259
+ (C) {/Times-Roman 1.000 cf} 2 16 0 1072 378 label
260
+ (W) {/Symbol 1.000 cf} (250 ) {/Times-Roman 1.000 cf} 4 16 0 672 354 label
261
+ (650 mH) {/Times-Roman 1.000 cf} 2 16 0 920 354 label
262
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (1.5 ) {/Times-Roman 1.000 cf} 6 16 0 1176
263
+ 354 label
264
+ pgsave restore showpage
265
+
266
+ %%Trailer
267
+ XCIRCsave restore
268
+ %%EOF
derived/Source/circuit_generation_code/AC/02082.eps ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02082.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 10:50:33 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 373 164
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /resistor {
166
+ % -14 -64 28 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 64 0 36 2 polygon
170
+ 1 1.00 0 -64 0 -36 2 polygon
171
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
174
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ 0.000 1.000 0.000 scb
177
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
178
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ /inductor {
184
+ % -14 -64 29 112 bbox
185
+ begingate
186
+ % fundamental
187
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
188
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
189
+ 1 1.00 20 32 20 16 0 12 0 36 spline
190
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
191
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
192
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
193
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
194
+ 1 1.00 0 -48 0 -64 2 polygon
195
+ 1 1.00 0 36 0 48 2 polygon
196
+ 1.000 0.000 0.000 scb
197
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
198
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
199
+ sce
200
+ 0.000 1.000 0.000 scb
201
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
202
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
203
+ sce
204
+ endgate
205
+ } def
206
+
207
+ /capacitor {
208
+ % -32 -64 64 128 bbox
209
+ begingate
210
+ % fundamental
211
+ 1 1.00 0 -64 0 -6 2 polygon
212
+ 1 1.00 0 64 0 6 2 polygon
213
+ 1 1.00 -32 6 32 6 2 polygon
214
+ 1 1.00 -32 -6 32 -6 2 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ /dot {
227
+ % -10 -10 20 20 bbox
228
+ begingate
229
+ 248 1.00 0 0 6 0.00 360.00 xcarc
230
+ endgate
231
+ } def
232
+
233
+ %%Page: 02081.eps 1
234
+ %%PageOrientation: Portrait
235
+ /pgsave save def bop
236
+ % 792 464 offsets
237
+ % 32.00 8.00 gridspace
238
+ 0.7500 inchscale
239
+ 2.6000 setlinewidth
240
+
241
+ 1.00 0 408 464 acsource
242
+ 1.00 0 648 464 resistor
243
+ 1.00 0 888 480 inductor
244
+ 1.00 0 1128 464 capacitor
245
+ 1 1.00 408 528 408 560 1128 560 1128 528 4 polygon
246
+ 1 1.00 888 560 888 528 2 polygon
247
+ 1 1.00 648 560 648 528 2 polygon
248
+ 1 1.00 408 400 408 368 1128 368 1128 400 4 polygon
249
+ 1 1.00 888 416 888 368 2 polygon
250
+ 1 1.00 648 400 648 368 2 polygon
251
+ 1.00 0 648 560 dot
252
+ 1.00 0 648 368 dot
253
+ 1.00 0 888 368 dot
254
+ 1.00 0 888 560 dot
255
+ (120 V) {/Times-Roman 1.000 cf} 2 16 0 256 472 label
256
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 256 424 label
257
+ (R) {ss} (Z) {/Times-Roman 1.000 cf} 4 16 0 576 456 label
258
+ (L) {ss} (Z) {/Times-Roman 1.000 cf} 4 16 0 816 456 label
259
+ (C) {ss} (Z) {/Times-Roman 1.000 cf} 4 16 0 1040 456 label
260
+ (o) {Ss} ( 0) {/Times-Roman 1.000 cf} (W \320) {/Symbol 1.000 cf} (250 ) {/Times-Roman 1.000 cf} 8 16 0
261
+ 536 320 label
262
+ (o) {Ss} ( 90) {/Times-Roman 1.000 cf} (W \320) {/Symbol 1.000 cf} (245.04 ) {/Times-Roman 1.000 cf} 8 16 0
263
+ 736 256 label
264
+ (o) {Ss} ( -90) {/Times-Roman 1.000 cf} (W \320) {/Symbol 1.000 cf} (1.7684 k) {/Times-Roman 1.000 cf} 8 16 0
265
+ 1000 320 label
266
+ pgsave restore showpage
267
+
268
+ %%Trailer
269
+ XCIRCsave restore
270
+ %%EOF
derived/Source/circuit_generation_code/AC/02083.eps ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02083.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Sat Mar 11 11:11:42 2006
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 365 229
7
+ %%DocumentNeededResources: font Times-Roman font Helvetica font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /resistor {
176
+ begingate
177
+ 1 1.00 0 64 0 36 2 polygon
178
+ 1 1.00 0 -64 0 -36 2 polygon
179
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
180
+ 1.000 0.000 0.000 scb
181
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
182
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
183
+ 0.000 1.000 0.000 scb
184
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
185
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
186
+ endgate
187
+ } def
188
+
189
+ /inductor {
190
+ begingate
191
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
192
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
193
+ 1 1.00 20 32 20 16 0 12 0 36 spline
194
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
195
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
196
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
197
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
198
+ 1 1.00 0 -48 0 -64 2 polygon
199
+ 1 1.00 0 36 0 48 2 polygon
200
+ 1.000 0.000 0.000 scb
201
+ (l.1) {/Times-Roman cf} 2 9 0 1.00 0 48 pinlabel
202
+ (l.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
203
+ 0.000 1.000 0.000 scb
204
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
205
+ (sim:l %pl.1 %pl.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
206
+ endgate
207
+ } def
208
+
209
+ /capacitor {
210
+ begingate
211
+ 1 1.00 0 -64 0 -6 2 polygon
212
+ 1 1.00 0 64 0 6 2 polygon
213
+ 1 1.00 -32 6 32 6 2 polygon
214
+ 1 1.00 -32 -6 32 -6 2 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (c.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
217
+ (c.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
218
+ 0.000 1.000 0.000 scb
219
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
220
+ (sim:c %pc.1 %pc.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
221
+ endgate
222
+ } def
223
+
224
+ /battery {
225
+ % trivial
226
+ begingate
227
+ 1 1.00 -32 32 32 32 2 polygon
228
+ 1 1.00 0 64 0 32 2 polygon
229
+ 1 1.00 -16 12 16 12 2 polygon
230
+ 1 1.00 -16 -28 16 -28 2 polygon
231
+ 1 1.00 -32 -8 32 -8 2 polygon
232
+ 1 1.00 0 -64 0 -28 2 polygon
233
+ 1.000 0.000 0.000 scb
234
+ (b.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
235
+ (b.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
236
+ endgate
237
+ } def
238
+
239
+ /arrowhead {
240
+ % trivial
241
+ begingate
242
+ 8 -28 beginpath
243
+ 3 -18 3 -15 0 0 curveto
244
+ -3 -15 -3 -18 -8 -28 curveto
245
+ -2 -26 2 -26 8 -28 curveto
246
+ 249 1.00 endpath
247
+ endgate
248
+ } def
249
+
250
+ /arrow {
251
+ % trivial
252
+ begingate
253
+ 1 0.80 0 -40 0 20 2 polygon
254
+ 1.00 0 0 40 arrowhead
255
+ endgate
256
+ } def
257
+
258
+ /dot {
259
+ begingate
260
+ 248 1.00 0 0 6 0.00 360.00 xcarc
261
+ endgate
262
+ } def
263
+
264
+
265
+ %%EndDocumentSetup
266
+
267
+ %%Page: 1 1
268
+ %%PageOrientation: Portrait
269
+ /pgsave save def bop
270
+ % 32.00 8.00 gridspace
271
+ 0.7500 inchscale
272
+ 2.6000 setlinewidth 792 392 translate
273
+
274
+ 1.00 0 -384 0 acsource
275
+ 1.00 0 -144 0 resistor
276
+ 1.00 0 96 16 inductor
277
+ 1.00 0 336 0 capacitor
278
+ 1 1.00 96 96 96 64 2 polygon
279
+ 1 1.00 -144 96 -144 64 2 polygon
280
+ 1 1.00 -384 -64 -384 -96 336 -96 336 -64 4 polygon
281
+ 1 1.00 96 -48 96 -96 2 polygon
282
+ 1 1.00 -144 -64 -144 -96 2 polygon
283
+ 1.00 0 96 160 resistor
284
+ 1.00 0 -144 288 battery
285
+ 1.00 0 96 288 battery
286
+ 1.00 0 336 288 battery
287
+ -1.00 180 -384 208 battery
288
+ 1 1.00 -384 144 -384 64 2 polygon
289
+ 1 1.00 -384 272 -384 368 336 368 336 352 4 polygon
290
+ 1 1.00 96 368 96 352 2 polygon
291
+ 1 1.00 -144 368 -144 352 2 polygon
292
+ 1 1.00 -144 224 -144 96 2 polygon
293
+ 1 1.00 336 224 336 64 2 polygon
294
+ 1.00 270 432 304 arrow
295
+ 1.000 0.000 1.000 scb
296
+ (2) {/Helvetica cf} 2 16 0 1.00 80 384 label
297
+ (4) {/Helvetica cf} 2 16 0 1.00 48 208 label
298
+ (5) {/Helvetica cf} 2 16 0 1.00 48 80 label
299
+ (6) {/Helvetica cf} 2 16 0 1.00 288 144 label
300
+ (1) {/Helvetica cf} 2 16 0 1.00 -424 96 label
301
+ (2) {/Helvetica cf} 2 16 0 1.00 -416 384 label
302
+ (3) {/Helvetica cf} 2 16 0 1.00 -192 144 label
303
+ (0) {/Helvetica cf} 2 16 0 1.00 -416 -136 label
304
+ (0) {/Helvetica cf} 2 16 0 1.00 -160 -136 label
305
+ (0) {/Helvetica cf} 2 16 0 1.00 80 -136 label
306
+ (0) {/Helvetica cf} 2 16 0 1.00 336 -136 label
307
+ (2) {/Helvetica cf} 2 16 0 1.00 -160 384 label
308
+ (2) {/Helvetica cf} 2 16 0 1.00 336 384 label
309
+ sce
310
+ 1.00 0 -144 368 dot
311
+ 1.00 0 96 368 dot
312
+ 1.00 0 96 -96 dot
313
+ 1.00 0 -144 -96 dot
314
+ (120 V) {/Times-Roman cf} 2 16 0 1.00 -536 0 label
315
+ (60 Hz) {/Times-Roman cf} 2 16 0 1.00 -528 -40 label
316
+ (R) {/Times-Roman cf} 2 16 0 1.00 -200 16 label
317
+ (L) {/Times-Roman cf} 2 16 0 1.00 48 16 label
318
+ (C) {/Times-Roman cf} 2 16 0 1.00 280 16 label
319
+ (W) {/Symbol cf} (250 ) {/Times-Roman cf} 4 16 0 1.00 -120 -8 label
320
+ (650 mH) {/Times-Roman cf} 2 16 0 1.00 128 -8 label
321
+ (F) {/Times-Roman cf} (m) {/Symbol cf} (1.5 ) {/Times-Roman cf} 6 16 0 1.00 384
322
+ -8 label
323
+ (ir) {ss} (V) {/Times-Roman cf} 4 16 0 1.00 -240 288 label
324
+ (il) {ss} (V) {/Times-Roman cf} 4 16 0 1.00 0 288 label
325
+ (ic) {ss} (V) {/Times-Roman cf} 4 16 0 1.00 240 288 label
326
+ (i) {ss} (V) {/Times-Roman cf} 4 16 0 1.00 -480 200 label
327
+ (bogus) {ss} (R) {/Times-Roman cf} 4 16 0 1.00 120 152 label
328
+ 1 1.00 456 304 488 304 488 152 3 polygon
329
+ pgsave restore showpage
330
+
331
+ %%Trailer
332
+ XCIRCsave restore
333
+ %%EOF
derived/Source/circuit_generation_code/AC/02084.eps ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02084.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 11:01:42 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 313 192
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /capacitor {
166
+ % -32 -64 64 128 bbox
167
+ begingate
168
+ % fundamental
169
+ 1 1.00 0 -64 0 -6 2 polygon
170
+ 1 1.00 0 64 0 6 2 polygon
171
+ 1 1.00 -32 6 32 6 2 polygon
172
+ 1 1.00 -32 -6 32 -6 2 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
175
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /inductor {
185
+ % -14 -64 29 112 bbox
186
+ begingate
187
+ % fundamental
188
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
189
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
190
+ 1 1.00 20 32 20 16 0 12 0 36 spline
191
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
192
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
193
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
194
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
195
+ 1 1.00 0 -48 0 -64 2 polygon
196
+ 1 1.00 0 36 0 48 2 polygon
197
+ 1.000 0.000 0.000 scb
198
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
199
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
200
+ sce
201
+ 0.000 1.000 0.000 scb
202
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
203
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
204
+ sce
205
+ endgate
206
+ } def
207
+
208
+ /resistor {
209
+ % -14 -64 28 128 bbox
210
+ begingate
211
+ % fundamental
212
+ 1 1.00 0 64 0 36 2 polygon
213
+ 1 1.00 0 -64 0 -36 2 polygon
214
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ /dot {
227
+ % -10 -10 20 20 bbox
228
+ begingate
229
+ 248 1.00 0 0 6 0.00 360.00 xcarc
230
+ endgate
231
+ } def
232
+
233
+ %%Page: 1 1
234
+ %%PageOrientation: Portrait
235
+ /pgsave save def bop
236
+ % 832 426 offsets
237
+ % 32.00 8.00 gridspace
238
+ 0.7500 inchscale
239
+ 2.6000 setlinewidth
240
+
241
+ 1.00 0 416 426 acsource
242
+ 1.00 270 576 586 capacitor
243
+ 1.00 0 736 506 inductor
244
+ 1.00 0 736 378 capacitor
245
+ 1.00 0 960 426 resistor
246
+ 1 1.00 736 586 736 554 2 polygon
247
+ 1 1.00 512 586 416 586 416 490 3 polygon
248
+ 1 1.00 736 314 736 266 2 polygon
249
+ 1 1.00 416 362 416 266 960 266 960 362 4 polygon
250
+ 1 1.00 640 586 960 586 960 490 3 polygon
251
+ 1.00 0 736 586 dot
252
+ 1.00 0 736 266 dot
253
+ (120 V) {/Times-Roman 1.000 cf} 2 16 0 256 426 label
254
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 264 386 label
255
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 552 642 label
256
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (4.7 ) {/Times-Roman 1.000 cf} 6 16 0 512
257
+ 514 label
258
+ (L) {/Times-Roman 1.000 cf} 2 16 0 672 490 label
259
+ (650 mH) {/Times-Roman 1.000 cf} 2 16 0 768 490 label
260
+ (R) {/Times-Roman 1.000 cf} 2 16 0 904 418 label
261
+ (W) {/Symbol 1.000 cf} (470 ) {/Times-Roman 1.000 cf} 4 16 0 984 418 label
262
+ (2) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 648 370 label
263
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (1.5 ) {/Times-Roman 1.000 cf} 6 16 0 776
264
+ 370 label
265
+ pgsave restore showpage
266
+
267
+ %%Trailer
268
+ XCIRCsave restore
269
+ %%EOF
derived/Source/circuit_generation_code/AC/02085.eps ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02085.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:29:01 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 354 299
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /source {
144
+ % -32 -64 64 128 bbox
145
+ % hidden
146
+ begingate
147
+ 1 1.00 0 0 32 0.00 360.00 xcarc
148
+ 1 1.00 0 32 0 64 2 polygon
149
+ 1 1.00 0 -32 0 -64 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /acsource {
154
+ % -32 -64 64 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1.00 0 0 0 source
158
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
159
+ 1.000 0.000 0.000 scb
160
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
161
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /battery {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 -32 32 32 32 2 polygon
171
+ 1 1.00 0 64 0 32 2 polygon
172
+ 1 1.00 -16 12 16 12 2 polygon
173
+ 1 1.00 -16 -28 16 -28 2 polygon
174
+ 1 1.00 -32 -8 32 -8 2 polygon
175
+ 1 1.00 0 -64 0 -28 2 polygon
176
+ 1.000 0.000 0.000 scb
177
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
178
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ /capacitor {
184
+ % -32 -64 64 128 bbox
185
+ begingate
186
+ % fundamental
187
+ 1 1.00 0 -64 0 -6 2 polygon
188
+ 1 1.00 0 64 0 6 2 polygon
189
+ 1 1.00 -32 6 32 6 2 polygon
190
+ 1 1.00 -32 -6 32 -6 2 polygon
191
+ 1.000 0.000 0.000 scb
192
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
193
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
194
+ sce
195
+ 0.000 1.000 0.000 scb
196
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
197
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
198
+ sce
199
+ endgate
200
+ } def
201
+
202
+ /inductor {
203
+ % -14 -64 29 112 bbox
204
+ begingate
205
+ % fundamental
206
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
207
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
208
+ 1 1.00 20 32 20 16 0 12 0 36 spline
209
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
210
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
211
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
212
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
213
+ 1 1.00 0 -48 0 -64 2 polygon
214
+ 1 1.00 0 36 0 48 2 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
217
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ /resistor {
227
+ % -14 -64 28 128 bbox
228
+ begingate
229
+ % fundamental
230
+ 1 1.00 0 64 0 36 2 polygon
231
+ 1 1.00 0 -64 0 -36 2 polygon
232
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
233
+ 1.000 0.000 0.000 scb
234
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
235
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
236
+ sce
237
+ 0.000 1.000 0.000 scb
238
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
239
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
240
+ sce
241
+ endgate
242
+ } def
243
+
244
+ /arrowhead {
245
+ % -12 -32 24 36 bbox
246
+ begingate
247
+ 8 -28 beginpath
248
+ 3 -18 3 -15 0 0 curveto
249
+ -3 -15 -3 -18 -8 -28 curveto
250
+ -2 -26 2 -26 8 -28 curveto
251
+ 249 1.00 endpath
252
+ endgate
253
+ } def
254
+
255
+ /arrow {
256
+ % -12 -40 24 80 bbox
257
+ begingate
258
+ 1 0.80 0 -40 0 20 2 polygon
259
+ 1.00 0 0 40 arrowhead
260
+ endgate
261
+ } def
262
+
263
+ /dot {
264
+ % -10 -10 20 20 bbox
265
+ begingate
266
+ 248 1.00 0 0 6 0.00 360.00 xcarc
267
+ endgate
268
+ } def
269
+
270
+ %%Page: 1 1
271
+ %%PageOrientation: Portrait
272
+ /pgsave save def bop
273
+ % 952 576 offsets
274
+ % 32.00 8.00 gridspace
275
+ 0.7500 inchscale
276
+ 2.6000 setlinewidth
277
+
278
+ 1.00 0 408 480 acsource
279
+ 1.00 -181 408 672 battery
280
+ 1 1.00 408 608 408 544 2 polygon
281
+ 1.00 270 536 800 capacitor
282
+ 1 1.00 408 736 408 800 472 800 3 polygon
283
+ 1.00 0 664 704 battery
284
+ 1 1.00 600 800 664 800 664 768 3 polygon
285
+ 1.00 0 664 560 inductor
286
+ 1 1.00 664 640 664 608 2 polygon
287
+ 1.00 0 664 400 capacitor
288
+ 1 1.00 664 496 664 464 2 polygon
289
+ 1 1.00 408 416 408 304 664 304 664 352 4 polygon
290
+ 1.00 0 888 704 battery
291
+ 1 1.00 664 800 888 800 888 768 3 polygon
292
+ 1 1.00 888 640 888 512 2 polygon
293
+ 1.00 0 888 448 resistor
294
+ 1 1.00 888 384 888 304 664 304 3 polygon
295
+ 1.000 0.000 1.000 scb
296
+ (1) {/Helvetica 1.000 cf} 2 16 0 376 560 label
297
+ (0) {/Helvetica 1.000 cf} 2 16 0 376 272 label
298
+ (2) {/Helvetica 1.000 cf} 2 16 0 360 800 label
299
+ (3) {/Helvetica 1.000 cf} 2 16 0 648 816 label
300
+ (4) {/Helvetica 1.000 cf} 2 16 0 616 624 label
301
+ (5) {/Helvetica 1.000 cf} 2 16 0 616 464 label
302
+ (6) {/Helvetica 1.000 cf} 2 16 0 904 560 label
303
+ (0) {/Helvetica 1.000 cf} 2 16 0 648 256 label
304
+ (0) {/Helvetica 1.000 cf} 2 16 0 904 272 label
305
+ (3) {/Helvetica 1.000 cf} 2 16 0 904 800 label
306
+ sce
307
+ 1.00 90 984 720 arrow
308
+ (more "dummy" voltage sources to) {/Helvetica-Oblique 1.000 cf} 2 16 0 616 1024 label
309
+ (act as current measurement points) {/Helvetica-Oblique 1.000 cf} 2 16 0 616 992 label
310
+ (in the SPICE analysis \(all set to 0) {/Helvetica-Oblique 1.000 cf} 2 16 0 616 952 label
311
+ (volts\).) {/Helvetica-Oblique 1.000 cf} 2 16 0 616 912 label
312
+ 1.00 0 664 800 dot
313
+ 1.00 0 664 304 dot
314
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 520 888 label
315
+ (L) {/Times-Roman 1.000 cf} 2 16 0 616 536 label
316
+ (2) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 576 392 label
317
+ (R) {/Times-Roman 1.000 cf} 2 16 0 832 440 label
318
+ (W) {/Symbol 1.000 cf} (470 ) {/Times-Roman 1.000 cf} 4 16 0 912 440 label
319
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (1.5 ) {/Times-Roman 1.000 cf} 6 16 0 712
320
+ 392 label
321
+ (650 mH) {/Times-Roman 1.000 cf} 2 16 0 688 528 label
322
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (4.7 ) {/Times-Roman 1.000 cf} 6 16 0 480
323
+ 840 label
324
+ (120 V) {/Times-Roman 1.000 cf} 2 16 0 256 480 label
325
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 256 440 label
326
+ (it) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 312 664 label
327
+ (ilc) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 560 696 label
328
+ (ir) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 800 696 label
329
+ 1 1.00 1024 720 1024 928 2 polygon
330
+ pgsave restore showpage
331
+
332
+ %%Trailer
333
+ XCIRCsave restore
334
+ %%EOF
derived/Source/circuit_generation_code/AC/02086.eps ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02086.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:16:20 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 147
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /battery {
186
+ % -32 -64 64 128 bbox
187
+ begingate
188
+ % fundamental
189
+ 1 1.00 -32 32 32 32 2 polygon
190
+ 1 1.00 0 64 0 32 2 polygon
191
+ 1 1.00 -16 12 16 12 2 polygon
192
+ 1 1.00 -16 -28 16 -28 2 polygon
193
+ 1 1.00 -32 -8 32 -8 2 polygon
194
+ 1 1.00 0 -64 0 -28 2 polygon
195
+ 1.000 0.000 0.000 scb
196
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
197
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
198
+ sce
199
+ endgate
200
+ } def
201
+
202
+ /arrowhead {
203
+ % -12 -32 24 36 bbox
204
+ begingate
205
+ 8 -28 beginpath
206
+ 3 -18 3 -15 0 0 curveto
207
+ -3 -15 -3 -18 -8 -28 curveto
208
+ -2 -26 2 -26 8 -28 curveto
209
+ 249 1.00 endpath
210
+ endgate
211
+ } def
212
+
213
+ /arrowhead90 {
214
+ % -20 -12 36 24 bbox
215
+ begingate
216
+ 1.00 90 -16 0 arrowhead
217
+ endgate
218
+ } def
219
+
220
+ /dot {
221
+ % -10 -10 20 20 bbox
222
+ begingate
223
+ 248 1.00 0 0 6 0.00 360.00 xcarc
224
+ endgate
225
+ } def
226
+
227
+ /arrow {
228
+ % -12 -40 24 80 bbox
229
+ begingate
230
+ 1 0.80 0 -40 0 20 2 polygon
231
+ 1.00 0 0 40 arrowhead
232
+ endgate
233
+ } def
234
+
235
+ %%Page: 1 1
236
+ %%PageOrientation: Portrait
237
+ /pgsave save def bop
238
+ % 848 592 offsets
239
+ 0.5000 inchscale
240
+ 2.6000 setlinewidth
241
+
242
+ 1.00 0 976 576 inductor
243
+ 1.00 0 704 576 capacitor
244
+ 1 1.00 704 640 704 656 976 656 976 624 4 polygon
245
+ 1 1.00 704 512 704 496 976 496 976 512 4 polygon
246
+ 1.00 0 416 576 battery
247
+ 1 1.00 416 640 416 656 672 656 3 polygon
248
+ 1 1.00 416 512 416 496 672 496 3 polygon
249
+ 1.00 180 672 656 arrowhead90
250
+ 1.00 180 672 496 arrowhead90
251
+ (+) {/Helvetica 1.000 cf} 2 16 0 672 608 label
252
+ (-) {/Helvetica 1.000 cf} 2 16 0 672 528 label
253
+ (capacitor charged: voltage at \(+\) peak) {/Helvetica 1.000 cf} 2 16 0 656 432 label
254
+ (inductor discharged: zero current) {/Helvetica 1.000 cf} 2 16 0 656 384 label
255
+ 0.603 0.603 0.603 scb
256
+ 5 1.00 1232 576 1648 576 2 polygon
257
+ 5 1.00 1648 576 1744 576 2 polygon
258
+ sce
259
+ 0.000 0.000 1.000 scb
260
+ 1.00 0 1232 720 dot
261
+ sce
262
+ 1.000 0.000 0.000 scb
263
+ 1.00 0 1232 576 dot
264
+ sce
265
+ 0.000 0.000 1.000 scb
266
+ (e) {/Helvetica 1.000 cf} 2 16 0 1196 704 label
267
+ sce
268
+ 1.000 0.000 0.000 scb
269
+ (i) {/Helvetica 1.000 cf} 2 16 0 1200 560 label
270
+ sce
271
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1808 576 label
272
+ 1.00 270 1968 592 arrow
273
+ (Battery momentarily ) {/Helvetica 1.000 cf} 2 16 0 448 736 label
274
+ (connected to start the cycle) {/Helvetica 1.000 cf} 2 16 0 384 704 label
275
+ 0.000 0.000 1.000 scb
276
+ (e=) {/Helvetica 1.000 cf} 2 16 0 1008 704 label
277
+ sce
278
+ 1.000 0.000 0.000 scb
279
+ (i=) {/Helvetica 1.000 cf} 2 16 0 1024 656 label
280
+ sce
281
+ 0.000 0.000 1.000 scb
282
+ 1 1.00 1072 720 1136 720 2 polygon
283
+ sce
284
+ 0.651 0.159 0.159 scb
285
+ 3 1.00 1072 672 1136 672 2 polygon
286
+ sce
287
+ pgsave restore showpage
288
+
289
+ %%Trailer
290
+ XCIRCsave restore
291
+ %%EOF
derived/Source/circuit_generation_code/AC/02087.eps ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02087.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:05:58 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 154
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /arrowhead90 {
219
+ % -20 -12 36 24 bbox
220
+ begingate
221
+ 1.00 90 -16 0 arrowhead
222
+ endgate
223
+ } def
224
+
225
+ %%Page: 02086 1
226
+ %%PageOrientation: Portrait
227
+ /pgsave save def bop
228
+ % 511 527 offsets
229
+ 0.6000 inchscale
230
+ 2.6000 setlinewidth
231
+
232
+ 1.00 0 639 511 inductor
233
+ 1.00 0 367 511 capacitor
234
+ 1 1.00 367 575 367 591 639 591 639 559 4 polygon
235
+ 1 1.00 367 447 367 431 639 431 639 447 4 polygon
236
+ (+) {/Helvetica 1.000 cf} 2 16 0 335 543 label
237
+ (-) {/Helvetica 1.000 cf} 2 16 0 335 463 label
238
+ 0.603 0.603 0.603 scb
239
+ 5 1.00 895 511 1311 511 2 polygon
240
+ 5 1.00 1311 511 1407 511 2 polygon
241
+ sce
242
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 511 label
243
+ 1.00 270 1631 527 arrow
244
+ 0.000 0.000 1.000 scb
245
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 639 label
246
+ sce
247
+ 1.000 0.000 0.000 scb
248
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 591 label
249
+ sce
250
+ 0.000 0.000 1.000 scb
251
+ 1 1.00 767 655 831 655 2 polygon
252
+ sce
253
+ 1.000 0.000 0.000 scb
254
+ 3 1.00 767 607 831 607 2 polygon
255
+ sce
256
+ 0.000 0.000 1.000 scb
257
+ 1.00 0 927 639 3_
258
+ sce
259
+ 1.000 0.000 0.000 scb
260
+ 1.00 0 927 559 5_
261
+ sce
262
+ (capacitor discharging: voltage decreasing) {/Helvetica 1.000 cf} 2 16 0 319 367 label
263
+ (inductor charging: current increasing) {/Helvetica 1.000 cf} 2 16 0 319 319 label
264
+ 1.00 0 495 575 arrowhead90
265
+ 1 1.00 495 575 527 575 2 polygon
266
+ 1.00 180 511 447 arrowhead90
267
+ 1 1.00 511 447 479 447 2 polygon
268
+ pgsave restore showpage
269
+
270
+ %%Trailer
271
+ XCIRCsave restore
272
+ %%EOF
derived/Source/circuit_generation_code/AC/02088.eps ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02088.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:18:31 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 154
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /4_ {
219
+ % -32 -48 64 104 bbox
220
+ begingate
221
+ 1 1.00 32 -48 0 16 -32 56 32 -48 spline
222
+ endgate
223
+ } def
224
+
225
+ /6_ {
226
+ % -32 -24 64 40 bbox
227
+ begingate
228
+ 3 1.00 -32 -24 0 16 32 16 -32 -24 spline
229
+ endgate
230
+ } def
231
+
232
+ %%Page: 02086 1
233
+ %%PageOrientation: Portrait
234
+ /pgsave save def bop
235
+ % 511 527 offsets
236
+ 0.6000 inchscale
237
+ 2.6000 setlinewidth
238
+
239
+ 1.00 0 639 511 inductor
240
+ 1.00 0 367 511 capacitor
241
+ 1 1.00 367 575 367 591 639 591 639 559 4 polygon
242
+ 1 1.00 367 447 367 431 639 431 639 447 4 polygon
243
+ 0.603 0.603 0.603 scb
244
+ 5 1.00 895 511 1311 511 2 polygon
245
+ 5 1.00 1311 511 1407 511 2 polygon
246
+ sce
247
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 511 label
248
+ 1.00 270 1631 527 arrow
249
+ 0.000 0.000 1.000 scb
250
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 639 label
251
+ sce
252
+ 1.000 0.000 0.000 scb
253
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 591 label
254
+ sce
255
+ 0.000 0.000 1.000 scb
256
+ 1 1.00 767 655 831 655 2 polygon
257
+ sce
258
+ 1.000 0.000 0.000 scb
259
+ 3 1.00 767 607 831 607 2 polygon
260
+ sce
261
+ 0.000 0.000 1.000 scb
262
+ 1.00 0 927 639 3_
263
+ sce
264
+ 1.000 0.000 0.000 scb
265
+ 1.00 0 927 559 5_
266
+ sce
267
+ 1.00 270 511 447 arrow
268
+ 1.00 -271 511 575 arrow
269
+ 0.000 0.000 1.000 scb
270
+ 1.00 0 991 559 4_
271
+ sce
272
+ 1.000 0.000 0.000 scb
273
+ 1.00 0 991 639 6_
274
+ sce
275
+ (capacitor fully discharged: zero voltage) {/Helvetica 1.000 cf} 2 16 0 319 367 label
276
+ (inductor fully charged: maximum current) {/Helvetica 1.000 cf} 2 16 0 319 319 label
277
+ pgsave restore showpage
278
+
279
+ %%Trailer
280
+ XCIRCsave restore
281
+ %%EOF
derived/Source/circuit_generation_code/AC/02089.eps ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02089.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:08:46 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 154
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /4_ {
219
+ % -32 -48 64 104 bbox
220
+ begingate
221
+ 1 1.00 32 -48 0 16 -32 56 32 -48 spline
222
+ endgate
223
+ } def
224
+
225
+ /6_ {
226
+ % -32 -24 64 40 bbox
227
+ begingate
228
+ 3 1.00 -32 -24 0 16 32 16 -32 -24 spline
229
+ endgate
230
+ } def
231
+
232
+ /arrowhead90 {
233
+ % -20 -12 36 24 bbox
234
+ begingate
235
+ 1.00 90 -16 0 arrowhead
236
+ endgate
237
+ } def
238
+
239
+ /7_ {
240
+ % -32 -24 64 40 bbox
241
+ begingate
242
+ 3 1.00 32 -24 0 16 -32 16 32 -24 spline
243
+ endgate
244
+ } def
245
+
246
+ %%Page: 02086 1
247
+ %%PageOrientation: Portrait
248
+ /pgsave save def bop
249
+ % 511 527 offsets
250
+ 0.6000 inchscale
251
+ 2.6000 setlinewidth
252
+
253
+ 1.00 0 639 511 inductor
254
+ 1.00 0 367 511 capacitor
255
+ 1 1.00 367 575 367 591 639 591 639 559 4 polygon
256
+ 1 1.00 367 447 367 431 639 431 639 447 4 polygon
257
+ 0.603 0.603 0.603 scb
258
+ 5 1.00 895 511 1311 511 2 polygon
259
+ 5 1.00 1311 511 1407 511 2 polygon
260
+ sce
261
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 511 label
262
+ 1.00 270 1631 527 arrow
263
+ 0.000 0.000 1.000 scb
264
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 639 label
265
+ sce
266
+ 1.000 0.000 0.000 scb
267
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 591 label
268
+ sce
269
+ 0.000 0.000 1.000 scb
270
+ 1 1.00 767 655 831 655 2 polygon
271
+ sce
272
+ 1.000 0.000 0.000 scb
273
+ 3 1.00 767 607 831 607 2 polygon
274
+ sce
275
+ 0.000 0.000 1.000 scb
276
+ 1.00 0 927 639 3_
277
+ sce
278
+ 1.000 0.000 0.000 scb
279
+ 1.00 0 927 559 5_
280
+ sce
281
+ 0.000 0.000 1.000 scb
282
+ 1.00 0 991 559 4_
283
+ sce
284
+ 1.000 0.000 0.000 scb
285
+ 1.00 0 991 639 6_
286
+ sce
287
+ 1.00 0 495 575 arrowhead90
288
+ 1 1.00 495 575 527 575 2 polygon
289
+ 1.00 180 511 447 arrowhead90
290
+ 1 1.00 511 447 479 447 2 polygon
291
+ (-) {/Helvetica 1.000 cf} 2 16 0 335 543 label
292
+ (+) {/Helvetica 1.000 cf} 2 16 0 335 463 label
293
+ 1.000 0.000 0.000 scb
294
+ 1.00 0 1055 639 7_
295
+ sce
296
+ 0.000 0.000 1.000 scb
297
+ 1.00 180 1055 463 4_
298
+ sce
299
+ (capacitor charging: voltage increasing \(in opposite polarity\)) {/Helvetica 1.000 cf} 2 16 0 319 367 label
300
+ (inductor discharging: current decreasing) {/Helvetica 1.000 cf} 2 16 0 319 319 label
301
+ pgsave restore showpage
302
+
303
+ %%Trailer
304
+ XCIRCsave restore
305
+ %%EOF
derived/Source/circuit_generation_code/AC/02090.eps ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02090.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:09:40 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 161
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /4_ {
219
+ % -32 -48 64 104 bbox
220
+ begingate
221
+ 1 1.00 32 -48 0 16 -32 56 32 -48 spline
222
+ endgate
223
+ } def
224
+
225
+ /6_ {
226
+ % -32 -24 64 40 bbox
227
+ begingate
228
+ 3 1.00 -32 -24 0 16 32 16 -32 -24 spline
229
+ endgate
230
+ } def
231
+
232
+ /7_ {
233
+ % -32 -24 64 40 bbox
234
+ begingate
235
+ 3 1.00 32 -24 0 16 -32 16 32 -24 spline
236
+ endgate
237
+ } def
238
+
239
+ %%Page: 02086 1
240
+ %%PageOrientation: Portrait
241
+ /pgsave save def bop
242
+ % 511 559 offsets
243
+ 0.6000 inchscale
244
+ 2.6000 setlinewidth
245
+
246
+ 1.00 0 639 543 inductor
247
+ 1.00 0 367 543 capacitor
248
+ 1 1.00 367 607 367 623 639 623 639 591 4 polygon
249
+ 1 1.00 367 479 367 463 639 463 639 479 4 polygon
250
+ 0.603 0.603 0.603 scb
251
+ 5 1.00 895 543 1311 543 2 polygon
252
+ 5 1.00 1311 543 1407 543 2 polygon
253
+ sce
254
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 543 label
255
+ 1.00 270 1631 559 arrow
256
+ 0.000 0.000 1.000 scb
257
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 671 label
258
+ sce
259
+ 1.000 0.000 0.000 scb
260
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 623 label
261
+ sce
262
+ 0.000 0.000 1.000 scb
263
+ 1 1.00 767 687 831 687 2 polygon
264
+ sce
265
+ 1.000 0.000 0.000 scb
266
+ 3 1.00 767 639 831 639 2 polygon
267
+ sce
268
+ 0.000 0.000 1.000 scb
269
+ 1.00 0 927 671 3_
270
+ sce
271
+ 1.000 0.000 0.000 scb
272
+ 1.00 0 927 591 5_
273
+ sce
274
+ 0.000 0.000 1.000 scb
275
+ 1.00 0 991 591 4_
276
+ sce
277
+ 1.000 0.000 0.000 scb
278
+ 1.00 0 991 671 6_
279
+ sce
280
+ (-) {/Helvetica 1.000 cf} 2 16 0 335 575 label
281
+ (+) {/Helvetica 1.000 cf} 2 16 0 335 495 label
282
+ 1.000 0.000 0.000 scb
283
+ 1.00 0 1055 671 7_
284
+ sce
285
+ 0.000 0.000 1.000 scb
286
+ 1.00 180 1055 495 4_
287
+ 1.00 180 1119 415 3_
288
+ sce
289
+ 1.000 0.000 0.000 scb
290
+ 1.00 -1 1119 591 5_
291
+ sce
292
+ (capacitor fully charged: voltage at \(-\) peak) {/Helvetica 1.000 cf} 2 16 0 319 367 label
293
+ (inductor fully discharged: zero current ) {/Helvetica 1.000 cf} 2 16 0 319 319 label
294
+ pgsave restore showpage
295
+
296
+ %%Trailer
297
+ XCIRCsave restore
298
+ %%EOF
derived/Source/circuit_generation_code/AC/02091.eps ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02091.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:10:34 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 161
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /4_ {
219
+ % -32 -48 64 104 bbox
220
+ begingate
221
+ 1 1.00 32 -48 0 16 -32 56 32 -48 spline
222
+ endgate
223
+ } def
224
+
225
+ /6_ {
226
+ % -32 -24 64 40 bbox
227
+ begingate
228
+ 3 1.00 -32 -24 0 16 32 16 -32 -24 spline
229
+ endgate
230
+ } def
231
+
232
+ /7_ {
233
+ % -32 -24 64 40 bbox
234
+ begingate
235
+ 3 1.00 32 -24 0 16 -32 16 32 -24 spline
236
+ endgate
237
+ } def
238
+
239
+ /arrowhead90 {
240
+ % -20 -12 36 24 bbox
241
+ begingate
242
+ 1.00 90 -16 0 arrowhead
243
+ endgate
244
+ } def
245
+
246
+ %%Page: 02086 1
247
+ %%PageOrientation: Portrait
248
+ /pgsave save def bop
249
+ % 511 559 offsets
250
+ 0.6000 inchscale
251
+ 2.6000 setlinewidth
252
+
253
+ 1.00 0 639 543 inductor
254
+ 1.00 0 367 543 capacitor
255
+ 1 1.00 367 607 367 623 639 623 639 591 4 polygon
256
+ 1 1.00 367 479 367 463 639 463 639 479 4 polygon
257
+ 0.603 0.603 0.603 scb
258
+ 5 1.00 895 543 1311 543 2 polygon
259
+ 5 1.00 1311 543 1407 543 2 polygon
260
+ sce
261
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 543 label
262
+ 1.00 270 1631 559 arrow
263
+ 0.000 0.000 1.000 scb
264
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 671 label
265
+ sce
266
+ 1.000 0.000 0.000 scb
267
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 623 label
268
+ sce
269
+ 0.000 0.000 1.000 scb
270
+ 1 1.00 767 687 831 687 2 polygon
271
+ sce
272
+ 1.000 0.000 0.000 scb
273
+ 3 1.00 767 639 831 639 2 polygon
274
+ sce
275
+ 0.000 0.000 1.000 scb
276
+ 1.00 0 927 671 3_
277
+ sce
278
+ 1.000 0.000 0.000 scb
279
+ 1.00 0 927 591 5_
280
+ sce
281
+ 0.000 0.000 1.000 scb
282
+ 1.00 0 991 591 4_
283
+ sce
284
+ 1.000 0.000 0.000 scb
285
+ 1.00 0 991 671 6_
286
+ sce
287
+ (-) {/Helvetica 1.000 cf} 2 16 0 335 575 label
288
+ (+) {/Helvetica 1.000 cf} 2 16 0 335 495 label
289
+ 1.000 0.000 0.000 scb
290
+ 1.00 0 1055 671 7_
291
+ sce
292
+ 0.000 0.000 1.000 scb
293
+ 1.00 180 1055 495 4_
294
+ 1.00 180 1119 415 3_
295
+ sce
296
+ 1.000 0.000 0.000 scb
297
+ 1.00 -1 1119 591 5_
298
+ sce
299
+ 0.000 0.000 1.000 scb
300
+ 1.00 -181 1183 415 3_
301
+ sce
302
+ 1.000 0.000 0.000 scb
303
+ 1.00 -181 1183 495 5_
304
+ sce
305
+ (capacitor discharging: voltage decreasing) {/Helvetica 1.000 cf} 2 16 0 319 367 label
306
+ (inductor charging: current increasing) {/Helvetica 1.000 cf} 2 16 0 319 319 label
307
+ 1.00 0 495 479 arrowhead90
308
+ 1 1.00 495 479 527 479 2 polygon
309
+ 1.00 -1 511 607 arrowhead90
310
+ 1 1.00 511 607 479 607 2 polygon
311
+ pgsave restore showpage
312
+
313
+ %%Trailer
314
+ XCIRCsave restore
315
+ %%EOF
derived/Source/circuit_generation_code/AC/02092.eps ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02092.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:11:33 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 161
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /4_ {
219
+ % -32 -48 64 104 bbox
220
+ begingate
221
+ 1 1.00 32 -48 0 16 -32 56 32 -48 spline
222
+ endgate
223
+ } def
224
+
225
+ /6_ {
226
+ % -32 -24 64 40 bbox
227
+ begingate
228
+ 3 1.00 -32 -24 0 16 32 16 -32 -24 spline
229
+ endgate
230
+ } def
231
+
232
+ /7_ {
233
+ % -32 -24 64 40 bbox
234
+ begingate
235
+ 3 1.00 32 -24 0 16 -32 16 32 -24 spline
236
+ endgate
237
+ } def
238
+
239
+ %%Page: 02086 1
240
+ %%PageOrientation: Portrait
241
+ /pgsave save def bop
242
+ % 511 559 offsets
243
+ 0.6000 inchscale
244
+ 2.6000 setlinewidth
245
+
246
+ 1.00 0 639 543 inductor
247
+ 1.00 0 367 543 capacitor
248
+ 1 1.00 367 607 367 623 639 623 639 591 4 polygon
249
+ 1 1.00 367 479 367 463 639 463 639 479 4 polygon
250
+ 0.603 0.603 0.603 scb
251
+ 5 1.00 895 543 1311 543 2 polygon
252
+ 5 1.00 1311 543 1407 543 2 polygon
253
+ sce
254
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 543 label
255
+ 1.00 270 1631 559 arrow
256
+ 0.000 0.000 1.000 scb
257
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 671 label
258
+ sce
259
+ 1.000 0.000 0.000 scb
260
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 623 label
261
+ sce
262
+ 0.000 0.000 1.000 scb
263
+ 1 1.00 767 687 831 687 2 polygon
264
+ sce
265
+ 1.000 0.000 0.000 scb
266
+ 3 1.00 767 639 831 639 2 polygon
267
+ sce
268
+ 0.000 0.000 1.000 scb
269
+ 1.00 0 927 671 3_
270
+ sce
271
+ 1.000 0.000 0.000 scb
272
+ 1.00 0 927 591 5_
273
+ sce
274
+ 0.000 0.000 1.000 scb
275
+ 1.00 0 991 591 4_
276
+ sce
277
+ 1.000 0.000 0.000 scb
278
+ 1.00 0 991 671 6_
279
+ 1.00 0 1055 671 7_
280
+ sce
281
+ 0.000 0.000 1.000 scb
282
+ 1.00 180 1055 495 4_
283
+ 1.00 180 1119 415 3_
284
+ sce
285
+ 1.000 0.000 0.000 scb
286
+ 1.00 -1 1119 591 5_
287
+ sce
288
+ 0.000 0.000 1.000 scb
289
+ 1.00 -181 1183 415 3_
290
+ sce
291
+ 1.000 0.000 0.000 scb
292
+ 1.00 -181 1183 495 5_
293
+ sce
294
+ 1.00 270 511 607 arrow
295
+ 1.00 90 511 479 arrow
296
+ 0.000 0.000 1.000 scb
297
+ 1.00 -181 1247 495 4_
298
+ sce
299
+ 1.000 0.000 0.000 scb
300
+ 1.00 180 1247 415 7_
301
+ sce
302
+ (capacitor fully discharged: zero voltage) {/Helvetica 1.000 cf} 2 16 0 319 367 label
303
+ (inductor fully charged: current at \(-\) peak) {/Helvetica 1.000 cf} 2 16 0 319 319 label
304
+ pgsave restore showpage
305
+
306
+ %%Trailer
307
+ XCIRCsave restore
308
+ %%EOF
derived/Source/circuit_generation_code/AC/02093.eps ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02093.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:12:30 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 161
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /4_ {
219
+ % -32 -48 64 104 bbox
220
+ begingate
221
+ 1 1.00 32 -48 0 16 -32 56 32 -48 spline
222
+ endgate
223
+ } def
224
+
225
+ /6_ {
226
+ % -32 -24 64 40 bbox
227
+ begingate
228
+ 3 1.00 -32 -24 0 16 32 16 -32 -24 spline
229
+ endgate
230
+ } def
231
+
232
+ /7_ {
233
+ % -32 -24 64 40 bbox
234
+ begingate
235
+ 3 1.00 32 -24 0 16 -32 16 32 -24 spline
236
+ endgate
237
+ } def
238
+
239
+ /arrowhead90 {
240
+ % -20 -12 36 24 bbox
241
+ begingate
242
+ 1.00 90 -16 0 arrowhead
243
+ endgate
244
+ } def
245
+
246
+ %%Page: 02086 1
247
+ %%PageOrientation: Portrait
248
+ /pgsave save def bop
249
+ % 511 559 offsets
250
+ 0.6000 inchscale
251
+ 2.6000 setlinewidth
252
+
253
+ 1.00 0 639 543 inductor
254
+ 1.00 0 367 543 capacitor
255
+ 1 1.00 367 607 367 623 639 623 639 591 4 polygon
256
+ 1 1.00 367 479 367 463 639 463 639 479 4 polygon
257
+ 0.603 0.603 0.603 scb
258
+ 5 1.00 895 543 1311 543 2 polygon
259
+ 5 1.00 1311 543 1407 543 2 polygon
260
+ sce
261
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 543 label
262
+ 1.00 270 1631 559 arrow
263
+ 0.000 0.000 1.000 scb
264
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 671 label
265
+ sce
266
+ 1.000 0.000 0.000 scb
267
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 623 label
268
+ sce
269
+ 0.000 0.000 1.000 scb
270
+ 1 1.00 767 687 831 687 2 polygon
271
+ sce
272
+ 1.000 0.000 0.000 scb
273
+ 3 1.00 767 639 831 639 2 polygon
274
+ sce
275
+ 0.000 0.000 1.000 scb
276
+ 1.00 0 927 671 3_
277
+ sce
278
+ 1.000 0.000 0.000 scb
279
+ 1.00 0 927 591 5_
280
+ sce
281
+ 0.000 0.000 1.000 scb
282
+ 1.00 0 991 591 4_
283
+ sce
284
+ 1.000 0.000 0.000 scb
285
+ 1.00 0 991 671 6_
286
+ 1.00 0 1055 671 7_
287
+ sce
288
+ 0.000 0.000 1.000 scb
289
+ 1.00 180 1055 495 4_
290
+ 1.00 180 1119 415 3_
291
+ sce
292
+ 1.000 0.000 0.000 scb
293
+ 1.00 -1 1119 591 5_
294
+ sce
295
+ 0.000 0.000 1.000 scb
296
+ 1.00 -181 1183 415 3_
297
+ sce
298
+ 1.000 0.000 0.000 scb
299
+ 1.00 -181 1183 495 5_
300
+ sce
301
+ 0.000 0.000 1.000 scb
302
+ 1.00 -181 1247 495 4_
303
+ sce
304
+ 1.000 0.000 0.000 scb
305
+ 1.00 180 1247 415 7_
306
+ sce
307
+ 1.00 0 495 479 arrowhead90
308
+ 1 1.00 495 479 527 479 2 polygon
309
+ 1.00 -1 511 607 arrowhead90
310
+ 1 1.00 511 607 479 607 2 polygon
311
+ (-) {/Helvetica 1.000 cf} 2 16 0 335 495 label
312
+ (+) {/Helvetica 1.000 cf} 2 16 0 335 575 label
313
+ 1.000 0.000 0.000 scb
314
+ 1.00 -181 1311 415 7_
315
+ sce
316
+ 0.000 0.000 1.000 scb
317
+ 1.00 -1 1311 591 4_
318
+ sce
319
+ (capacitor charging: voltage increasing) {/Helvetica 1.000 cf} 2 16 0 319 367 label
320
+ (inductor discharging: current decreasing) {/Helvetica 1.000 cf} 2 16 0 319 319 label
321
+ pgsave restore showpage
322
+
323
+ %%Trailer
324
+ XCIRCsave restore
325
+ %%EOF
derived/Source/circuit_generation_code/AC/02094.eps ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02094.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:13:29 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 380 161
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /arrowhead {
186
+ % -12 -32 24 36 bbox
187
+ begingate
188
+ 8 -28 beginpath
189
+ 3 -18 3 -15 0 0 curveto
190
+ -3 -15 -3 -18 -8 -28 curveto
191
+ -2 -26 2 -26 8 -28 curveto
192
+ 249 1.00 endpath
193
+ endgate
194
+ } def
195
+
196
+ /arrow {
197
+ % -12 -40 24 80 bbox
198
+ begingate
199
+ 1 0.80 0 -40 0 20 2 polygon
200
+ 1.00 0 0 40 arrowhead
201
+ endgate
202
+ } def
203
+
204
+ /3_ {
205
+ % -32 -24 64 40 bbox
206
+ begingate
207
+ 1 1.00 32 -24 0 16 -32 16 32 -24 spline
208
+ endgate
209
+ } def
210
+
211
+ /5_ {
212
+ % -32 -48 64 104 bbox
213
+ begingate
214
+ 3 1.00 -32 -48 0 16 32 56 -32 -48 spline
215
+ endgate
216
+ } def
217
+
218
+ /4_ {
219
+ % -32 -48 64 104 bbox
220
+ begingate
221
+ 1 1.00 32 -48 0 16 -32 56 32 -48 spline
222
+ endgate
223
+ } def
224
+
225
+ /6_ {
226
+ % -32 -24 64 40 bbox
227
+ begingate
228
+ 3 1.00 -32 -24 0 16 32 16 -32 -24 spline
229
+ endgate
230
+ } def
231
+
232
+ /7_ {
233
+ % -32 -24 64 40 bbox
234
+ begingate
235
+ 3 1.00 32 -24 0 16 -32 16 32 -24 spline
236
+ endgate
237
+ } def
238
+
239
+ %%Page: 02086 1
240
+ %%PageOrientation: Portrait
241
+ /pgsave save def bop
242
+ % 511 559 offsets
243
+ 0.6000 inchscale
244
+ 2.6000 setlinewidth
245
+
246
+ 1.00 0 639 543 inductor
247
+ 1.00 0 367 543 capacitor
248
+ 1 1.00 367 607 367 623 639 623 639 591 4 polygon
249
+ 1 1.00 367 479 367 463 639 463 639 479 4 polygon
250
+ 0.603 0.603 0.603 scb
251
+ 5 1.00 895 543 1311 543 2 polygon
252
+ 5 1.00 1311 543 1407 543 2 polygon
253
+ sce
254
+ (Time ) {/Helvetica 1.000 cf} 2 16 0 1471 543 label
255
+ 1.00 270 1631 559 arrow
256
+ 0.000 0.000 1.000 scb
257
+ (e=) {/Helvetica 1.000 cf} 2 16 0 703 671 label
258
+ sce
259
+ 1.000 0.000 0.000 scb
260
+ (i=) {/Helvetica 1.000 cf} 2 16 0 719 623 label
261
+ sce
262
+ 0.000 0.000 1.000 scb
263
+ 1 1.00 767 687 831 687 2 polygon
264
+ sce
265
+ 1.000 0.000 0.000 scb
266
+ 3 1.00 767 639 831 639 2 polygon
267
+ sce
268
+ 0.000 0.000 1.000 scb
269
+ 1.00 0 927 671 3_
270
+ sce
271
+ 1.000 0.000 0.000 scb
272
+ 1.00 0 927 591 5_
273
+ sce
274
+ 0.000 0.000 1.000 scb
275
+ 1.00 0 991 591 4_
276
+ sce
277
+ 1.000 0.000 0.000 scb
278
+ 1.00 0 991 671 6_
279
+ 1.00 0 1055 671 7_
280
+ sce
281
+ 0.000 0.000 1.000 scb
282
+ 1.00 180 1055 495 4_
283
+ 1.00 180 1119 415 3_
284
+ sce
285
+ 1.000 0.000 0.000 scb
286
+ 1.00 -1 1119 591 5_
287
+ sce
288
+ 0.000 0.000 1.000 scb
289
+ 1.00 -181 1183 415 3_
290
+ sce
291
+ 1.000 0.000 0.000 scb
292
+ 1.00 -181 1183 495 5_
293
+ sce
294
+ 0.000 0.000 1.000 scb
295
+ 1.00 -181 1247 495 4_
296
+ sce
297
+ 1.000 0.000 0.000 scb
298
+ 1.00 180 1247 415 7_
299
+ sce
300
+ (-) {/Helvetica 1.000 cf} 2 16 0 335 495 label
301
+ (+) {/Helvetica 1.000 cf} 2 16 0 335 575 label
302
+ 1.000 0.000 0.000 scb
303
+ 1.00 -181 1311 415 7_
304
+ sce
305
+ 0.000 0.000 1.000 scb
306
+ 1.00 -1 1311 591 4_
307
+ 1.00 -1 1375 671 3_
308
+ sce
309
+ 1.000 0.000 0.000 scb
310
+ 1.00 180 1375 495 5_
311
+ sce
312
+ (capacitor fully charged: voltage at \(+\) peak) {/Helvetica 1.000 cf} 2 16 0 319 367 label
313
+ (inductor fully discharged: zero current) {/Helvetica 1.000 cf} 2 16 0 319 319 label
314
+ pgsave restore showpage
315
+
316
+ %%Trailer
317
+ XCIRCsave restore
318
+ %%EOF
derived/Source/circuit_generation_code/AC/02096.eps ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02096.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:22:33 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 280 175
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /source {
186
+ % -32 -64 64 128 bbox
187
+ % hidden
188
+ begingate
189
+ 1 1.00 0 0 32 0.00 360.00 xcarc
190
+ 1 1.00 0 32 0 64 2 polygon
191
+ 1 1.00 0 -32 0 -64 2 polygon
192
+ endgate
193
+ } def
194
+
195
+ /acsource {
196
+ % -32 -64 64 128 bbox
197
+ begingate
198
+ % fundamental
199
+ 1.00 0 0 0 source
200
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
201
+ 1.000 0.000 0.000 scb
202
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
203
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
204
+ sce
205
+ endgate
206
+ } def
207
+
208
+ /dot {
209
+ % -10 -10 20 20 bbox
210
+ begingate
211
+ 248 1.00 0 0 6 0.00 360.00 xcarc
212
+ endgate
213
+ } def
214
+
215
+ %%Page: 02086 1
216
+ %%PageOrientation: Portrait
217
+ /pgsave save def bop
218
+ % 688 448 offsets
219
+ % 32.00 8.00 gridspace
220
+ 0.7500 inchscale
221
+ 2.6000 setlinewidth
222
+
223
+ 1.00 0 816 432 inductor
224
+ 1.00 0 544 432 capacitor
225
+ 1 1.00 544 496 544 512 816 512 816 480 4 polygon
226
+ 1 1.00 544 368 544 352 816 352 816 368 4 polygon
227
+ 1.00 0 288 432 acsource
228
+ 1 1.00 288 496 288 608 688 608 688 512 4 polygon
229
+ 1 1.00 288 368 288 256 688 256 688 352 4 polygon
230
+ 1.00 0 688 512 dot
231
+ 1.00 0 688 352 dot
232
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 392
233
+ 416 label
234
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 848 416 label
235
+ pgsave restore showpage
236
+
237
+ %%Trailer
238
+ XCIRCsave restore
239
+ %%EOF
derived/Source/circuit_generation_code/AC/02097.eps ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02097.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:29:54 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 277 214
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /source {
186
+ % -32 -64 64 128 bbox
187
+ % hidden
188
+ begingate
189
+ 1 1.00 0 0 32 0.00 360.00 xcarc
190
+ 1 1.00 0 32 0 64 2 polygon
191
+ 1 1.00 0 -32 0 -64 2 polygon
192
+ endgate
193
+ } def
194
+
195
+ /acsource {
196
+ % -32 -64 64 128 bbox
197
+ begingate
198
+ % fundamental
199
+ 1.00 0 0 0 source
200
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
201
+ 1.000 0.000 0.000 scb
202
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
203
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
204
+ sce
205
+ endgate
206
+ } def
207
+
208
+ /resistor {
209
+ % -14 -64 28 128 bbox
210
+ begingate
211
+ % fundamental
212
+ 1 1.00 0 64 0 36 2 polygon
213
+ 1 1.00 0 -64 0 -36 2 polygon
214
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ /dot {
227
+ % -10 -10 20 20 bbox
228
+ begingate
229
+ 248 1.00 0 0 6 0.00 360.00 xcarc
230
+ endgate
231
+ } def
232
+
233
+ %%Page: 02086 1
234
+ %%PageOrientation: Portrait
235
+ /pgsave save def bop
236
+ % 688 480 offsets
237
+ % 32.00 8.00 gridspace
238
+ 0.7500 inchscale
239
+ 2.6000 setlinewidth
240
+
241
+ 1.00 0 816 464 inductor
242
+ 1.00 0 544 464 capacitor
243
+ 1 1.00 544 400 544 384 816 384 816 400 4 polygon
244
+ 1.00 0 288 528 acsource
245
+ 1 1.00 288 400 288 288 688 288 688 384 4 polygon
246
+ 1.00 0 816 576 resistor
247
+ 1 1.00 816 640 816 656 544 656 544 528 4 polygon
248
+ 1 1.00 288 464 288 400 2 polygon
249
+ 1 1.00 288 592 288 720 688 720 688 656 4 polygon
250
+ 1.000 0.000 1.000 scb
251
+ (1) {/Helvetica 1.000 cf} 2 16 0 256 720 label
252
+ (0) {/Helvetica 1.000 cf} 2 16 0 256 256 label
253
+ (0) {/Helvetica 1.000 cf} 2 16 0 704 256 label
254
+ (1) {/Helvetica 1.000 cf} 2 16 0 512 640 label
255
+ (1) {/Helvetica 1.000 cf} 2 16 0 832 640 label
256
+ (2) {/Helvetica 1.000 cf} 2 16 0 768 512 label
257
+ (0) {/Helvetica 1.000 cf} 2 16 0 512 352 label
258
+ (0) {/Helvetica 1.000 cf} 2 16 0 816 352 label
259
+ sce
260
+ 1.00 0 688 656 dot
261
+ 1.00 0 688 384 dot
262
+ (10 uF) {/Times-Roman 1.000 cf} 2 16 0 584 456 label
263
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 464 456 label
264
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 752 448 label
265
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 840 448 label
266
+ (bogus) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 696 576 label
267
+ (W) {/Symbol 1.000 cf} (1 p) {/Times-Roman 1.000 cf} 4 16 0 848 568 label
268
+ pgsave restore showpage
269
+
270
+ %%Trailer
271
+ XCIRCsave restore
272
+ %%EOF
derived/Source/circuit_generation_code/AC/02098.eps ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02098.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:38:20 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 190 152
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /source {
186
+ % -32 -64 64 128 bbox
187
+ % hidden
188
+ begingate
189
+ 1 1.00 0 0 32 0.00 360.00 xcarc
190
+ 1 1.00 0 32 0 64 2 polygon
191
+ 1 1.00 0 -32 0 -64 2 polygon
192
+ endgate
193
+ } def
194
+
195
+ /acsource {
196
+ % -32 -64 64 128 bbox
197
+ begingate
198
+ % fundamental
199
+ 1.00 0 0 0 source
200
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
201
+ 1.000 0.000 0.000 scb
202
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
203
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
204
+ sce
205
+ endgate
206
+ } def
207
+
208
+ %%Page: 02086 1
209
+ %%PageOrientation: Portrait
210
+ /pgsave save def bop
211
+ % 368 352 offsets
212
+ % 32.00 8.00 gridspace
213
+ 0.7500 inchscale
214
+ 2.6000 setlinewidth
215
+
216
+ 1.00 0 496 336 inductor
217
+ 1.00 0 496 448 capacitor
218
+ 1.00 0 288 400 acsource
219
+ 1 1.00 288 464 288 528 496 528 496 512 4 polygon
220
+ 1 1.00 288 320 288 256 496 256 496 272 4 polygon
221
+ 1 1.00 288 336 288 320 2 polygon
222
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 544
223
+ 440 label
224
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 528 320 label
225
+ pgsave restore showpage
226
+
227
+ %%Trailer
228
+ XCIRCsave restore
229
+ %%EOF
derived/Source/circuit_generation_code/AC/02099.eps ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02099.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:30:30 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 210 178
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /source {
186
+ % -32 -64 64 128 bbox
187
+ % hidden
188
+ begingate
189
+ 1 1.00 0 0 32 0.00 360.00 xcarc
190
+ 1 1.00 0 32 0 64 2 polygon
191
+ 1 1.00 0 -32 0 -64 2 polygon
192
+ endgate
193
+ } def
194
+
195
+ /acsource {
196
+ % -32 -64 64 128 bbox
197
+ begingate
198
+ % fundamental
199
+ 1.00 0 0 0 source
200
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
201
+ 1.000 0.000 0.000 scb
202
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
203
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
204
+ sce
205
+ endgate
206
+ } def
207
+
208
+ /resistor {
209
+ % -14 -64 28 128 bbox
210
+ begingate
211
+ % fundamental
212
+ 1 1.00 0 64 0 36 2 polygon
213
+ 1 1.00 0 -64 0 -36 2 polygon
214
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
215
+ 1.000 0.000 0.000 scb
216
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
217
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
218
+ sce
219
+ 0.000 1.000 0.000 scb
220
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
221
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
222
+ sce
223
+ endgate
224
+ } def
225
+
226
+ %%Page: 02086 1
227
+ %%PageOrientation: Portrait
228
+ /pgsave save def bop
229
+ % 440 384 offsets
230
+ % 32.00 8.00 gridspace
231
+ 0.7500 inchscale
232
+ 2.6000 setlinewidth
233
+
234
+ 1.00 0 568 368 inductor
235
+ 1.00 0 568 480 capacitor
236
+ 1.00 0 360 432 acsource
237
+ 1 1.00 360 352 360 288 568 288 568 304 4 polygon
238
+ 1 1.00 360 368 360 352 2 polygon
239
+ 1.00 270 456 560 resistor
240
+ 1 1.00 360 496 360 560 392 560 3 polygon
241
+ 1 1.00 520 560 568 560 568 544 3 polygon
242
+ 1.000 0.000 1.000 scb
243
+ (1) {/Helvetica 1.000 cf} 2 16 0 328 560 label
244
+ (2) {/Helvetica 1.000 cf} 2 16 0 584 560 label
245
+ (3) {/Helvetica 1.000 cf} 2 16 0 536 416 label
246
+ (0) {/Helvetica 1.000 cf} 2 16 0 328 256 label
247
+ (0) {/Helvetica 1.000 cf} 2 16 0 568 256 label
248
+ sce
249
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 432 592 label
250
+ (1 V) {/Times-Roman 1.000 cf} 2 16 0 256 424 label
251
+ (W) {/Symbol 1.000 cf} (1 ) {/Times-Roman 1.000 cf} 4 16 0 424 512 label
252
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 488 472 label
253
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 504 352 label
254
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 600 352 label
255
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 616
256
+ 472 label
257
+ pgsave restore showpage
258
+
259
+ %%Trailer
260
+ XCIRCsave restore
261
+ %%EOF
derived/Source/circuit_generation_code/AC/02100.eps ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02100.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 12:55:50 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 386 155
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /inductor {
143
+ % -14 -64 29 112 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
147
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
148
+ 1 1.00 20 32 20 16 0 12 0 36 spline
149
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
150
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
151
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
152
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
153
+ 1 1.00 0 -48 0 -64 2 polygon
154
+ 1 1.00 0 36 0 48 2 polygon
155
+ 1.000 0.000 0.000 scb
156
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
157
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
158
+ sce
159
+ 0.000 1.000 0.000 scb
160
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
161
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /capacitor {
167
+ % -32 -64 64 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 -64 0 -6 2 polygon
171
+ 1 1.00 0 64 0 6 2 polygon
172
+ 1 1.00 -32 6 32 6 2 polygon
173
+ 1 1.00 -32 -6 32 -6 2 polygon
174
+ 1.000 0.000 0.000 scb
175
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
176
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
177
+ sce
178
+ 0.000 1.000 0.000 scb
179
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
180
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
181
+ sce
182
+ endgate
183
+ } def
184
+
185
+ /dot {
186
+ % -10 -10 20 20 bbox
187
+ begingate
188
+ 248 1.00 0 0 6 0.00 360.00 xcarc
189
+ endgate
190
+ } def
191
+
192
+ %%Page: 02086 1
193
+ %%PageOrientation: Portrait
194
+ /pgsave save def bop
195
+ % 784 400 offsets
196
+ % 32.00 8.00 gridspace
197
+ 0.7500 inchscale
198
+ 2.6000 setlinewidth
199
+
200
+ 1.00 0 912 384 inductor
201
+ 1.00 0 640 384 capacitor
202
+ 1 1.00 640 448 640 464 912 464 912 432 4 polygon
203
+ 1 1.00 640 320 640 304 912 304 912 320 4 polygon
204
+ 1 1.00 784 464 784 512 432 512 3 polygon
205
+ 1 1.00 784 304 784 256 432 256 3 polygon
206
+ (. . .) {/Helvetica 1.000 cf} 2 16 0 368 256 label
207
+ (. . .) {/Helvetica 1.000 cf} 2 16 0 368 512 label
208
+ (... to the rest of) {/Helvetica 1.000 cf} 2 16 0 256 408 label
209
+ (the "oscillator") {/Helvetica 1.000 cf} 2 16 0 272 368 label
210
+ (circuit) {/Helvetica 1.000 cf} 2 16 0 336 328 label
211
+ (the natural frequency) {/Helvetica 1.000 cf} 2 16 0 976 432 label
212
+ (of the "tank circuit" ) {/Helvetica 1.000 cf} 2 16 0 976 392 label
213
+ (helps to stabilize) {/Helvetica 1.000 cf} 2 16 0 976 352 label
214
+ (oscillations) {/Helvetica 1.000 cf} 2 16 0 976 312 label
215
+ 1.00 0 784 464 dot
216
+ 1.00 0 784 304 dot
217
+ pgsave restore showpage
218
+
219
+ %%Trailer
220
+ XCIRCsave restore
221
+ %%EOF
derived/Source/circuit_generation_code/AC/02101.eps ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02101.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Mon Mar 13 16:00:58 2006
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 421 154
7
+ %%DocumentNeededResources: font Times-Roman font Helvetica
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /inductor {
157
+ begingate
158
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
159
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
160
+ 1 1.00 20 32 20 16 0 12 0 36 spline
161
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
162
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
163
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
164
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
165
+ 1 1.00 0 -48 0 -64 2 polygon
166
+ 1 1.00 0 36 0 48 2 polygon
167
+ 1.000 0.000 0.000 scb
168
+ (l.1) {/Times-Roman cf} 2 9 0 1.00 0 48 pinlabel
169
+ (l.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
170
+ 0.000 1.000 0.000 scb
171
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
172
+ (sim:l %pl.1 %pl.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
173
+ endgate
174
+ } def
175
+
176
+ /capacitor {
177
+ begingate
178
+ 1 1.00 0 -64 0 -6 2 polygon
179
+ 1 1.00 0 64 0 6 2 polygon
180
+ 1 1.00 -32 6 32 6 2 polygon
181
+ 1 1.00 -32 -6 32 -6 2 polygon
182
+ 1.000 0.000 0.000 scb
183
+ (c.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
184
+ (c.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
185
+ 0.000 1.000 0.000 scb
186
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
187
+ (sim:c %pc.1 %pc.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
188
+ endgate
189
+ } def
190
+
191
+ /resistor {
192
+ begingate
193
+ 1 1.00 0 64 0 36 2 polygon
194
+ 1 1.00 0 -64 0 -36 2 polygon
195
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
196
+ 1.000 0.000 0.000 scb
197
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
198
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
199
+ 0.000 1.000 0.000 scb
200
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
201
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
202
+ endgate
203
+ } def
204
+
205
+ /source {
206
+ % hidden
207
+ begingate
208
+ 1 1.00 0 0 32 0.00 360.00 xcarc
209
+ 1 1.00 0 32 0 64 2 polygon
210
+ 1 1.00 0 -32 0 -64 2 polygon
211
+ endgate
212
+ } def
213
+
214
+ /acsource {
215
+ begingate
216
+ 1.00 0 0 0 source
217
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
218
+ 1.000 0.000 0.000 scb
219
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
220
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
221
+ endgate
222
+ } def
223
+
224
+ /dot {
225
+ begingate
226
+ 248 1.00 0 0 6 0.00 360.00 xcarc
227
+ endgate
228
+ } def
229
+
230
+
231
+ %%EndDocumentSetup
232
+
233
+ %%Page: 02086 1
234
+ %%PageOrientation: Portrait
235
+ /pgsave save def bop
236
+ % 32.00 8.00 gridspace
237
+ 0.6903 inchscale
238
+ 2.6000 setlinewidth 950 470 translate
239
+
240
+ 1.00 0 64 -16 inductor
241
+ 1.00 0 -208 -16 capacitor
242
+ 1 1.00 -208 48 -208 64 64 64 64 32 4 polygon
243
+ 1 1.00 -208 -80 -208 -96 64 -96 64 -80 4 polygon
244
+ 1 1.00 -64 64 -64 112 -424 112 3 polygon
245
+ 1 1.00 -64 -96 -64 -144 -352 -144 3 polygon
246
+ 1.00 90 -416 -144 resistor
247
+ 1.00 0 -640 -16 acsource
248
+ 1 1.00 -640 48 -640 112 -352 112 3 polygon
249
+ 1 1.00 -480 -144 -640 -144 -640 -80 3 polygon
250
+ (load) {/Helvetica cf} 2 16 0 1.00 -448 -192 label
251
+ (AC source of) {/Helvetica cf} 2 16 0 1.00 -560 -16 label
252
+ (mixed frequencies) {/Helvetica cf} 2 16 0 1.00 -592 -48 label
253
+ (Tank circuit presents a ) {/Helvetica cf} 2 16 0 1.00 128 32 label
254
+ (high impedance to a narrow) {/Helvetica cf} 2 16 0 1.00 128 -8 label
255
+ (range of frequencies, blocking) {/Helvetica cf} 2 16 0 1.00 128 -48 label
256
+ (them from getting to the load) {/Helvetica cf} 2 16 0 1.00 128 -88 label
257
+ 1.00 0 -64 64 dot
258
+ 1.00 0 -64 -96 dot
259
+ pgsave restore showpage
260
+
261
+ %%Trailer
262
+ XCIRCsave restore
263
+ %%EOF
derived/Source/circuit_generation_code/AC/02102.eps ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02102.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:31:12 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 302 239
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /inductor {
144
+ % -14 -64 29 112 bbox
145
+ begingate
146
+ % fundamental
147
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
148
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
149
+ 1 1.00 20 32 20 16 0 12 0 36 spline
150
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
151
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
152
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
153
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
154
+ 1 1.00 0 -48 0 -64 2 polygon
155
+ 1 1.00 0 36 0 48 2 polygon
156
+ 1.000 0.000 0.000 scb
157
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
158
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
159
+ sce
160
+ 0.000 1.000 0.000 scb
161
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
162
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
163
+ sce
164
+ endgate
165
+ } def
166
+
167
+ /capacitor {
168
+ % -32 -64 64 128 bbox
169
+ begingate
170
+ % fundamental
171
+ 1 1.00 0 -64 0 -6 2 polygon
172
+ 1 1.00 0 64 0 6 2 polygon
173
+ 1 1.00 -32 6 32 6 2 polygon
174
+ 1 1.00 -32 -6 32 -6 2 polygon
175
+ 1.000 0.000 0.000 scb
176
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
177
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
178
+ sce
179
+ 0.000 1.000 0.000 scb
180
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
181
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
182
+ sce
183
+ endgate
184
+ } def
185
+
186
+ /source {
187
+ % -32 -64 64 128 bbox
188
+ % hidden
189
+ begingate
190
+ 1 1.00 0 0 32 0.00 360.00 xcarc
191
+ 1 1.00 0 32 0 64 2 polygon
192
+ 1 1.00 0 -32 0 -64 2 polygon
193
+ endgate
194
+ } def
195
+
196
+ /acsource {
197
+ % -32 -64 64 128 bbox
198
+ begingate
199
+ % fundamental
200
+ 1.00 0 0 0 source
201
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
202
+ 1.000 0.000 0.000 scb
203
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
204
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
205
+ sce
206
+ endgate
207
+ } def
208
+
209
+ /resistor {
210
+ % -14 -64 28 128 bbox
211
+ begingate
212
+ % fundamental
213
+ 1 1.00 0 64 0 36 2 polygon
214
+ 1 1.00 0 -64 0 -36 2 polygon
215
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
216
+ 1.000 0.000 0.000 scb
217
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
218
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
219
+ sce
220
+ 0.000 1.000 0.000 scb
221
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
222
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
223
+ sce
224
+ endgate
225
+ } def
226
+
227
+ /dot {
228
+ % -10 -10 20 20 bbox
229
+ begingate
230
+ 248 1.00 0 0 6 0.00 360.00 xcarc
231
+ endgate
232
+ } def
233
+
234
+ %%Page: 02086 1
235
+ %%PageOrientation: Portrait
236
+ /pgsave save def bop
237
+ % 776 480 offsets
238
+ % 32.00 8.00 gridspace
239
+ 0.7500 inchscale
240
+ 2.6000 setlinewidth
241
+
242
+ 1.00 0 904 464 inductor
243
+ 1.00 0 632 464 capacitor
244
+ 1 1.00 632 400 632 384 904 384 904 400 4 polygon
245
+ 1.00 0 376 528 acsource
246
+ 1 1.00 376 400 376 288 776 288 776 384 4 polygon
247
+ 1.00 0 904 576 resistor
248
+ 1 1.00 904 640 904 656 632 656 632 528 4 polygon
249
+ 1 1.00 376 464 376 400 2 polygon
250
+ 1 1.00 376 592 376 720 776 720 776 656 4 polygon
251
+ 1.000 0.000 1.000 scb
252
+ (1) {/Helvetica 1.000 cf} 2 16 0 344 720 label
253
+ (0) {/Helvetica 1.000 cf} 2 16 0 344 256 label
254
+ (0) {/Helvetica 1.000 cf} 2 16 0 792 256 label
255
+ (1) {/Helvetica 1.000 cf} 2 16 0 600 640 label
256
+ (1) {/Helvetica 1.000 cf} 2 16 0 920 640 label
257
+ (2) {/Helvetica 1.000 cf} 2 16 0 856 512 label
258
+ (0) {/Helvetica 1.000 cf} 2 16 0 600 352 label
259
+ (0) {/Helvetica 1.000 cf} 2 16 0 904 352 label
260
+ sce
261
+ 1.00 0 776 656 dot
262
+ 1.00 0 776 384 dot
263
+ (1) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 288 520 label
264
+ (1 V) {/Times-Roman 1.000 cf} 2 16 0 424 512 label
265
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 552 456 label
266
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 848 448 label
267
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 840 576 label
268
+ (W) {/Symbol 1.000 cf} (100 ) {/Times-Roman 1.000 cf} 4 16 0 928 576 label
269
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 928 448 label
270
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 680
271
+ 456 label
272
+ (Parallel LC with resistance in series with L) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 808 label
273
+ pgsave restore showpage
274
+
275
+ %%Trailer
276
+ XCIRCsave restore
277
+ %%EOF
derived/Source/circuit_generation_code/AC/02103.eps ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02103.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:31:52 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 300 239
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /inductor {
144
+ % -14 -64 29 112 bbox
145
+ begingate
146
+ % fundamental
147
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
148
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
149
+ 1 1.00 20 32 20 16 0 12 0 36 spline
150
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
151
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
152
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
153
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
154
+ 1 1.00 0 -48 0 -64 2 polygon
155
+ 1 1.00 0 36 0 48 2 polygon
156
+ 1.000 0.000 0.000 scb
157
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
158
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
159
+ sce
160
+ 0.000 1.000 0.000 scb
161
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
162
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
163
+ sce
164
+ endgate
165
+ } def
166
+
167
+ /capacitor {
168
+ % -32 -64 64 128 bbox
169
+ begingate
170
+ % fundamental
171
+ 1 1.00 0 -64 0 -6 2 polygon
172
+ 1 1.00 0 64 0 6 2 polygon
173
+ 1 1.00 -32 6 32 6 2 polygon
174
+ 1 1.00 -32 -6 32 -6 2 polygon
175
+ 1.000 0.000 0.000 scb
176
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
177
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
178
+ sce
179
+ 0.000 1.000 0.000 scb
180
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
181
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
182
+ sce
183
+ endgate
184
+ } def
185
+
186
+ /source {
187
+ % -32 -64 64 128 bbox
188
+ % hidden
189
+ begingate
190
+ 1 1.00 0 0 32 0.00 360.00 xcarc
191
+ 1 1.00 0 32 0 64 2 polygon
192
+ 1 1.00 0 -32 0 -64 2 polygon
193
+ endgate
194
+ } def
195
+
196
+ /acsource {
197
+ % -32 -64 64 128 bbox
198
+ begingate
199
+ % fundamental
200
+ 1.00 0 0 0 source
201
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
202
+ 1.000 0.000 0.000 scb
203
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
204
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
205
+ sce
206
+ endgate
207
+ } def
208
+
209
+ /resistor {
210
+ % -14 -64 28 128 bbox
211
+ begingate
212
+ % fundamental
213
+ 1 1.00 0 64 0 36 2 polygon
214
+ 1 1.00 0 -64 0 -36 2 polygon
215
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
216
+ 1.000 0.000 0.000 scb
217
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
218
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
219
+ sce
220
+ 0.000 1.000 0.000 scb
221
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
222
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
223
+ sce
224
+ endgate
225
+ } def
226
+
227
+ /dot {
228
+ % -10 -10 20 20 bbox
229
+ begingate
230
+ 248 1.00 0 0 6 0.00 360.00 xcarc
231
+ endgate
232
+ } def
233
+
234
+ %%Page: 02086 1
235
+ %%PageOrientation: Portrait
236
+ /pgsave save def bop
237
+ % 760 480 offsets
238
+ % 32.00 8.00 gridspace
239
+ 0.7500 inchscale
240
+ 2.6000 setlinewidth
241
+
242
+ 1.00 0 888 464 inductor
243
+ 1.00 0 616 464 capacitor
244
+ 1 1.00 616 400 616 384 888 384 888 400 4 polygon
245
+ 1.00 0 360 528 acsource
246
+ 1 1.00 360 400 360 288 760 288 760 384 4 polygon
247
+ 1.00 0 888 576 resistor
248
+ 1 1.00 360 464 360 400 2 polygon
249
+ 1 1.00 360 592 360 720 760 720 760 656 4 polygon
250
+ 1.000 0.000 1.000 scb
251
+ (1) {/Helvetica 1.000 cf} 2 16 0 328 720 label
252
+ (0) {/Helvetica 1.000 cf} 2 16 0 328 256 label
253
+ (0) {/Helvetica 1.000 cf} 2 16 0 776 256 label
254
+ (1) {/Helvetica 1.000 cf} 2 16 0 584 640 label
255
+ (1) {/Helvetica 1.000 cf} 2 16 0 904 640 label
256
+ (2) {/Helvetica 1.000 cf} 2 16 0 584 496 label
257
+ (0) {/Helvetica 1.000 cf} 2 16 0 584 352 label
258
+ (0) {/Helvetica 1.000 cf} 2 16 0 888 352 label
259
+ sce
260
+ 1 1.00 760 656 888 656 888 640 3 polygon
261
+ 1.00 0 616 576 resistor
262
+ 1 1.00 760 656 616 656 616 640 3 polygon
263
+ 1.000 0.000 1.000 scb
264
+ (3) {/Helvetica 1.000 cf} 2 16 0 856 512 label
265
+ sce
266
+ 1.00 0 760 656 dot
267
+ 1.00 0 760 384 dot
268
+ (Parallel LC with resistance in series with C) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 808 label
269
+ (1) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 272 528 label
270
+ (1 V) {/Times-Roman 1.000 cf} 2 16 0 408 528 label
271
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 552 576 label
272
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 536 456 label
273
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 832 448 label
274
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 920 448 label
275
+ (bogus) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 912 568 label
276
+ (W) {/Symbol 1.000 cf} (100 ) {/Times-Roman 1.000 cf} 4 16 0 648 576 label
277
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 664
278
+ 456 label
279
+ pgsave restore showpage
280
+
281
+ %%Trailer
282
+ XCIRCsave restore
283
+ %%EOF
derived/Source/circuit_generation_code/AC/02104.eps ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02104.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:32:27 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 328 248
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /source {
144
+ % -32 -64 64 128 bbox
145
+ % hidden
146
+ begingate
147
+ 1 1.00 0 0 32 0.00 360.00 xcarc
148
+ 1 1.00 0 32 0 64 2 polygon
149
+ 1 1.00 0 -32 0 -64 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /acsource {
154
+ % -32 -64 64 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1.00 0 0 0 source
158
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
159
+ 1.000 0.000 0.000 scb
160
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
161
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /resistor {
167
+ % -14 -64 28 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 64 0 36 2 polygon
171
+ 1 1.00 0 -64 0 -36 2 polygon
172
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
175
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /capacitor {
185
+ % -32 -64 64 128 bbox
186
+ begingate
187
+ % fundamental
188
+ 1 1.00 0 -64 0 -6 2 polygon
189
+ 1 1.00 0 64 0 6 2 polygon
190
+ 1 1.00 -32 6 32 6 2 polygon
191
+ 1 1.00 -32 -6 32 -6 2 polygon
192
+ 1.000 0.000 0.000 scb
193
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
194
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
195
+ sce
196
+ 0.000 1.000 0.000 scb
197
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
198
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
199
+ sce
200
+ endgate
201
+ } def
202
+
203
+ /inductor {
204
+ % -14 -64 29 112 bbox
205
+ begingate
206
+ % fundamental
207
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
208
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
209
+ 1 1.00 20 32 20 16 0 12 0 36 spline
210
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
211
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
212
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
213
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
214
+ 1 1.00 0 -48 0 -64 2 polygon
215
+ 1 1.00 0 36 0 48 2 polygon
216
+ 1.000 0.000 0.000 scb
217
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
218
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
219
+ sce
220
+ 0.000 1.000 0.000 scb
221
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
222
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
223
+ sce
224
+ endgate
225
+ } def
226
+
227
+ /dot {
228
+ % -10 -10 20 20 bbox
229
+ begingate
230
+ 248 1.00 0 0 6 0.00 360.00 xcarc
231
+ endgate
232
+ } def
233
+
234
+ %%Page: 1 1
235
+ %%PageOrientation: Portrait
236
+ /pgsave save def bop
237
+ % 736 512 offsets
238
+ % 32.00 8.00 gridspace
239
+ 0.7500 inchscale
240
+ 2.6000 setlinewidth
241
+
242
+ 1.00 0 352 512 acsource
243
+ 1.00 270 544 704 resistor
244
+ 1 1.00 352 576 352 704 480 704 3 polygon
245
+ 1.00 0 736 576 capacitor
246
+ 1.00 0 736 400 inductor
247
+ 1 1.00 736 512 736 448 2 polygon
248
+ 1 1.00 608 704 736 704 736 640 3 polygon
249
+ 1 1.00 736 336 736 288 352 288 352 448 4 polygon
250
+ 1.00 180 1008 400 resistor
251
+ 1 1.00 1008 464 1008 480 736 480 3 polygon
252
+ 1 1.00 1008 336 1008 320 736 320 3 polygon
253
+ 1.000 0.000 1.000 scb
254
+ (1) {/Helvetica 1.000 cf} 2 16 0 320 704 label
255
+ (0) {/Helvetica 1.000 cf} 2 16 0 320 256 label
256
+ (0) {/Helvetica 1.000 cf} 2 16 0 736 256 label
257
+ (2) {/Helvetica 1.000 cf} 2 16 0 752 704 label
258
+ (3) {/Helvetica 1.000 cf} 2 16 0 688 480 label
259
+ (3) {/Helvetica 1.000 cf} 2 16 0 1024 480 label
260
+ (0) {/Helvetica 1.000 cf} 2 16 0 1024 288 label
261
+ sce
262
+ 1.00 0 736 480 dot
263
+ 1.00 0 736 320 dot
264
+ (Series LC with resistance in parallel with L) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 840 label
265
+ (1) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 264 504 label
266
+ (1 V) {/Times-Roman 1.000 cf} 2 16 0 400 504 label
267
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 528 736 label
268
+ (W) {/Symbol 1.000 cf} (1 ) {/Times-Roman 1.000 cf} 4 16 0 512 648 label
269
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 656 568 label
270
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 784
271
+ 568 label
272
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 672 392 label
273
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 768 392 label
274
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 936 392 label
275
+ (W) {/Symbol 1.000 cf} (100 ) {/Times-Roman 1.000 cf} 4 16 0 1040 392 label
276
+ pgsave restore showpage
277
+
278
+ %%Trailer
279
+ XCIRCsave restore
280
+ %%EOF
derived/Source/circuit_generation_code/AC/02105.eps ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02105.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:33:01 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 328 245
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /source {
144
+ % -32 -64 64 128 bbox
145
+ % hidden
146
+ begingate
147
+ 1 1.00 0 0 32 0.00 360.00 xcarc
148
+ 1 1.00 0 32 0 64 2 polygon
149
+ 1 1.00 0 -32 0 -64 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /acsource {
154
+ % -32 -64 64 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1.00 0 0 0 source
158
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
159
+ 1.000 0.000 0.000 scb
160
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
161
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /resistor {
167
+ % -14 -64 28 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 64 0 36 2 polygon
171
+ 1 1.00 0 -64 0 -36 2 polygon
172
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
175
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /capacitor {
185
+ % -32 -64 64 128 bbox
186
+ begingate
187
+ % fundamental
188
+ 1 1.00 0 -64 0 -6 2 polygon
189
+ 1 1.00 0 64 0 6 2 polygon
190
+ 1 1.00 -32 6 32 6 2 polygon
191
+ 1 1.00 -32 -6 32 -6 2 polygon
192
+ 1.000 0.000 0.000 scb
193
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
194
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
195
+ sce
196
+ 0.000 1.000 0.000 scb
197
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
198
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
199
+ sce
200
+ endgate
201
+ } def
202
+
203
+ /inductor {
204
+ % -14 -64 29 112 bbox
205
+ begingate
206
+ % fundamental
207
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
208
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
209
+ 1 1.00 20 32 20 16 0 12 0 36 spline
210
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
211
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
212
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
213
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
214
+ 1 1.00 0 -48 0 -64 2 polygon
215
+ 1 1.00 0 36 0 48 2 polygon
216
+ 1.000 0.000 0.000 scb
217
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
218
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
219
+ sce
220
+ 0.000 1.000 0.000 scb
221
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
222
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
223
+ sce
224
+ endgate
225
+ } def
226
+
227
+ /dot {
228
+ % -10 -10 20 20 bbox
229
+ begingate
230
+ 248 1.00 0 0 6 0.00 360.00 xcarc
231
+ endgate
232
+ } def
233
+
234
+ %%Page: 02104 1
235
+ %%PageOrientation: Portrait
236
+ /pgsave save def bop
237
+ % 744 512 offsets
238
+ % 32.00 8.00 gridspace
239
+ 0.7500 inchscale
240
+ 2.6000 setlinewidth
241
+
242
+ 1.00 0 360 512 acsource
243
+ 1.00 270 552 704 resistor
244
+ 1 1.00 360 576 360 704 488 704 3 polygon
245
+ 1.00 0 744 576 capacitor
246
+ 1.00 0 744 400 inductor
247
+ 1 1.00 744 512 744 448 2 polygon
248
+ 1 1.00 616 704 744 704 744 640 3 polygon
249
+ 1 1.00 744 336 744 288 360 288 360 448 4 polygon
250
+ 1.00 180 1016 576 resistor
251
+ 1 1.00 1016 640 1016 656 744 656 3 polygon
252
+ 1 1.00 1016 512 1016 496 744 496 3 polygon
253
+ 1.000 0.000 1.000 scb
254
+ (1) {/Helvetica 1.000 cf} 2 16 0 328 704 label
255
+ (0) {/Helvetica 1.000 cf} 2 16 0 328 256 label
256
+ (0) {/Helvetica 1.000 cf} 2 16 0 744 256 label
257
+ (2) {/Helvetica 1.000 cf} 2 16 0 760 704 label
258
+ (3) {/Helvetica 1.000 cf} 2 16 0 696 480 label
259
+ (3) {/Helvetica 1.000 cf} 2 16 0 1032 480 label
260
+ (2) {/Helvetica 1.000 cf} 2 16 0 1032 656 label
261
+ sce
262
+ 1.00 0 744 656 dot
263
+ 1.00 0 744 496 dot
264
+ (Series LC with resistance in parallel with C) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 832 label
265
+ (1) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 272 512 label
266
+ (1 V) {/Times-Roman 1.000 cf} 2 16 0 408 512 label
267
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 528 736 label
268
+ (W) {/Symbol 1.000 cf} (1 ) {/Times-Roman 1.000 cf} 4 16 0 520 656 label
269
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 656 568 label
270
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 688 384 label
271
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 776 384 label
272
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 792
273
+ 568 label
274
+ (2) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 944 568 label
275
+ (W) {/Symbol 1.000 cf} (100 ) {/Times-Roman 1.000 cf} 4 16 0 1040 568 label
276
+ pgsave restore showpage
277
+
278
+ %%Trailer
279
+ XCIRCsave restore
280
+ %%EOF
derived/Source/circuit_generation_code/AC/02106.eps ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02106.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:33:34 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 257 248
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman font Symbol
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /source {
144
+ % -32 -64 64 128 bbox
145
+ % hidden
146
+ begingate
147
+ 1 1.00 0 0 32 0.00 360.00 xcarc
148
+ 1 1.00 0 32 0 64 2 polygon
149
+ 1 1.00 0 -32 0 -64 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /acsource {
154
+ % -32 -64 64 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1.00 0 0 0 source
158
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
159
+ 1.000 0.000 0.000 scb
160
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
161
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /resistor {
167
+ % -14 -64 28 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 64 0 36 2 polygon
171
+ 1 1.00 0 -64 0 -36 2 polygon
172
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
175
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /capacitor {
185
+ % -32 -64 64 128 bbox
186
+ begingate
187
+ % fundamental
188
+ 1 1.00 0 -64 0 -6 2 polygon
189
+ 1 1.00 0 64 0 6 2 polygon
190
+ 1 1.00 -32 6 32 6 2 polygon
191
+ 1 1.00 -32 -6 32 -6 2 polygon
192
+ 1.000 0.000 0.000 scb
193
+ (c.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
194
+ (c.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
195
+ sce
196
+ 0.000 1.000 0.000 scb
197
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
198
+ (sim:c %pc.1 %pc.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
199
+ sce
200
+ endgate
201
+ } def
202
+
203
+ /inductor {
204
+ % -14 -64 29 112 bbox
205
+ begingate
206
+ % fundamental
207
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
208
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
209
+ 1 1.00 20 32 20 16 0 12 0 36 spline
210
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
211
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
212
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
213
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
214
+ 1 1.00 0 -48 0 -64 2 polygon
215
+ 1 1.00 0 36 0 48 2 polygon
216
+ 1.000 0.000 0.000 scb
217
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
218
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
219
+ sce
220
+ 0.000 1.000 0.000 scb
221
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
222
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
223
+ sce
224
+ endgate
225
+ } def
226
+
227
+ %%Page: 02104 1
228
+ %%PageOrientation: Portrait
229
+ /pgsave save def bop
230
+ % 744 512 offsets
231
+ % 32.00 8.00 gridspace
232
+ 0.7500 inchscale
233
+ 2.6000 setlinewidth
234
+
235
+ 1.00 0 360 512 acsource
236
+ 1.00 270 552 704 resistor
237
+ 1 1.00 360 576 360 704 488 704 3 polygon
238
+ 1.00 0 744 576 capacitor
239
+ 1.00 0 744 400 inductor
240
+ 1 1.00 744 512 744 448 2 polygon
241
+ 1 1.00 616 704 744 704 744 640 3 polygon
242
+ 1 1.00 744 336 744 288 360 288 360 448 4 polygon
243
+ 1.000 0.000 1.000 scb
244
+ (1) {/Helvetica 1.000 cf} 2 16 0 328 704 label
245
+ (0) {/Helvetica 1.000 cf} 2 16 0 328 256 label
246
+ (0) {/Helvetica 1.000 cf} 2 16 0 744 256 label
247
+ (2) {/Helvetica 1.000 cf} 2 16 0 760 704 label
248
+ (3) {/Helvetica 1.000 cf} 2 16 0 696 480 label
249
+ sce
250
+ (Series LC with resistance in series) {/Helvetica-Oblique 1.000 cf} 2 16 0 256 840 label
251
+ (1) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 272 504 label
252
+ (1 V) {/Times-Roman 1.000 cf} 2 16 0 408 504 label
253
+ (1) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 528 736 label
254
+ (W) {/Symbol 1.000 cf} (100 ) {/Times-Roman 1.000 cf} 4 16 0 496 656 label
255
+ (1) {ss} (C) {/Times-Roman 1.000 cf} 4 16 0 664 568 label
256
+ (F) {/Times-Roman 1.000 cf} (m) {/Symbol 1.000 cf} (10 ) {/Times-Roman 1.000 cf} 6 16 0 792
257
+ 568 label
258
+ (1) {ss} (L) {/Times-Roman 1.000 cf} 4 16 0 680 384 label
259
+ (100 mH) {/Times-Roman 1.000 cf} 2 16 0 768 384 label
260
+ pgsave restore showpage
261
+
262
+ %%Trailer
263
+ XCIRCsave restore
264
+ %%EOF
derived/Source/circuit_generation_code/AC/02107.eps ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02107.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sun Jul 22 13:18:11 2001
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 242 169
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /battery {
143
+ % -32 -64 64 128 bbox
144
+ begingate
145
+ % fundamental
146
+ 1 1.00 -32 32 32 32 2 polygon
147
+ 1 1.00 0 64 0 32 2 polygon
148
+ 1 1.00 -16 12 16 12 2 polygon
149
+ 1 1.00 -16 -28 16 -28 2 polygon
150
+ 1 1.00 -32 -8 32 -8 2 polygon
151
+ 1 1.00 0 -64 0 -28 2 polygon
152
+ 1.000 0.000 0.000 scb
153
+ (b.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
154
+ (b.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
155
+ sce
156
+ endgate
157
+ } def
158
+
159
+ /inductor {
160
+ % -14 -64 29 112 bbox
161
+ begingate
162
+ % fundamental
163
+ 1 1.00 20 -28 20 -44 0 -48 0 -24 spline
164
+ 1 1.00 -20 -20 -20 -32 0 -28 0 -24 spline
165
+ 1 1.00 20 32 20 16 0 12 0 36 spline
166
+ 1 1.00 20 12 20 -4 0 -8 0 16 spline
167
+ 1 1.00 20 -8 20 -24 0 -28 0 -4 spline
168
+ 1 1.00 -20 20 -20 8 0 12 0 16 spline
169
+ 1 1.00 -20 0 -20 -12 0 -8 0 -4 spline
170
+ 1 1.00 0 -48 0 -64 2 polygon
171
+ 1 1.00 0 36 0 48 2 polygon
172
+ 1.000 0.000 0.000 scb
173
+ (l.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
174
+ (l.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
175
+ sce
176
+ 0.000 1.000 0.000 scb
177
+ (spice:L%i %pl.1 %pl.2 1.0U) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
178
+ (sim:l %pl.1 %pl.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
179
+ sce
180
+ endgate
181
+ } def
182
+
183
+ /resistor {
184
+ % -14 -64 28 128 bbox
185
+ begingate
186
+ % fundamental
187
+ 1 1.00 0 64 0 36 2 polygon
188
+ 1 1.00 0 -64 0 -36 2 polygon
189
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
190
+ 1.000 0.000 0.000 scb
191
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
192
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
193
+ sce
194
+ 0.000 1.000 0.000 scb
195
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
196
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
197
+ sce
198
+ endgate
199
+ } def
200
+
201
+ /circle {
202
+ % -6 -12 28 24 bbox
203
+ begingate
204
+ 1 1.00 16 0 6 0.00 360.00 xcarc
205
+ 1 1.00 0 0 10 0 2 polygon
206
+ 1.000 0.000 0.000 scb
207
+ (out) {/Times-Roman 1.000 cf} 2 4 0 16 0 pinlabel
208
+ (out) {/Times-Roman 1.000 cf} 2 7 0 0 0 pinlabel
209
+ sce
210
+ endgate
211
+ } def
212
+
213
+ /arrowhead {
214
+ % -12 -32 24 36 bbox
215
+ begingate
216
+ 8 -28 beginpath
217
+ 3 -18 3 -15 0 0 curveto
218
+ -3 -15 -3 -18 -8 -28 curveto
219
+ -2 -26 2 -26 8 -28 curveto
220
+ 249 1.00 endpath
221
+ endgate
222
+ } def
223
+
224
+ /switch {
225
+ % -14 -71 51 125 bbox
226
+ begingate
227
+ % fundamental
228
+ 1 1.30 32 32 2 -43 2 polygon
229
+ 1 0.60 0 -48 57 49.00 90.00 xcarc
230
+ 1.00 -91 0 -64 circle
231
+ 0.60 90 -12 8 arrowhead
232
+ 1.00 270 0 48 circle
233
+ 1.000 0.000 0.000 scb
234
+ (sw.1) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
235
+ (sw.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
236
+ sce
237
+ endgate
238
+ } def
239
+
240
+ %%Page: 1 1
241
+ %%PageOrientation: Portrait
242
+ /pgsave save def bop
243
+ % 576 384 offsets
244
+ % 32.00 8.00 gridspace
245
+ 0.7500 inchscale
246
+ 2.6000 setlinewidth
247
+
248
+ 1.00 0 288 384 battery
249
+ 1.00 0 832 400 inductor
250
+ 1.00 270 672 512 resistor
251
+ 1.00 -91 464 512 switch
252
+ 1 1.00 288 448 288 512 400 512 3 polygon
253
+ 1 1.00 512 512 624 512 2 polygon
254
+ 1 1.00 736 512 832 512 832 448 3 polygon
255
+ 1 1.00 832 336 832 256 288 256 288 320 4 polygon
256
+ (switch) {/Helvetica 1.000 cf} 2 16 0 400 560 label
257
+ (R) {/Times-Roman 1.000 cf} 2 16 0 656 536 label
258
+ (L) {/Times-Roman 1.000 cf} 2 16 0 784 384 label
259
+ pgsave restore showpage
260
+
261
+ %%Trailer
262
+ XCIRCsave restore
263
+ %%EOF
derived/Source/circuit_generation_code/AC/02109.eps ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02109.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Sun Mar 12 16:02:10 2006
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 404 166
7
+ %%DocumentNeededResources: font Times-Roman font Helvetica
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /arrowhead {
176
+ % trivial
177
+ begingate
178
+ 8 -28 beginpath
179
+ 3 -18 3 -15 0 0 curveto
180
+ -3 -15 -3 -18 -8 -28 curveto
181
+ -2 -26 2 -26 8 -28 curveto
182
+ 249 1.00 endpath
183
+ endgate
184
+ } def
185
+
186
+ /arrow {
187
+ % trivial
188
+ begingate
189
+ 1 0.80 0 -40 0 20 2 polygon
190
+ 1.00 0 0 40 arrowhead
191
+ endgate
192
+ } def
193
+
194
+ /battery {
195
+ % trivial
196
+ begingate
197
+ 1 1.00 -32 32 32 32 2 polygon
198
+ 1 1.00 0 64 0 32 2 polygon
199
+ 1 1.00 -16 12 16 12 2 polygon
200
+ 1 1.00 -16 -28 16 -28 2 polygon
201
+ 1 1.00 -32 -8 32 -8 2 polygon
202
+ 1 1.00 0 -64 0 -28 2 polygon
203
+ 1.000 0.000 0.000 scb
204
+ (b.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
205
+ (b.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
206
+ endgate
207
+ } def
208
+
209
+
210
+ %%EndDocumentSetup
211
+
212
+ %%Page: 1 1
213
+ %%PageOrientation: Portrait
214
+ /pgsave save def bop
215
+ % 32.00 32.00 gridspace
216
+ 0.7500 inchscale
217
+ 2.6000 setlinewidth 1280 416 translate
218
+
219
+ 1.00 0 -352 -96 acsource
220
+ 1.00 0 -352 96 acsource
221
+ 1 1.00 -352 32 -352 -32 2 polygon
222
+ 1 1.00 -352 160 -64 160 2 polygon
223
+ 1 1.00 -352 -160 -64 -160 2 polygon
224
+ (mixed-frequency) {/Helvetica cf} 2 16 0 1.00 -176 12 label
225
+ (AC voltage) {/Helvetica cf} 2 16 0 1.00 -128 -36 label
226
+ 1.00 330 -32 96 arrow
227
+ 1.00 210 -32 -96 arrow
228
+ 1.00 0 -992 96 acsource
229
+ 1.00 0 -992 -96 battery
230
+ 1 1.00 -992 32 -992 -32 2 polygon
231
+ 1 1.00 -992 160 -704 160 2 polygon
232
+ 1 1.00 -992 -160 -704 -160 2 polygon
233
+ 1.00 330 -672 96 arrow
234
+ 1.00 210 -672 -96 arrow
235
+ (AC + DC) {/Helvetica cf} 2 16 0 1.00 -736 12 label
236
+ (voltage) {/Helvetica cf} 2 16 0 1.00 -720 -36 label
237
+ (60 Hz) {/Times-Roman cf} 2 16 0 1.00 -504 88 label
238
+ (90 Hz) {/Times-Roman cf} 2 16 0 1.00 -504 -112 label
239
+ 0 1.00 -192 52 -192 -52 144 -52 144 52 4 polygon
240
+ 0 1.00 -748 52 -748 -52 -560 -52 -560 52 4 polygon
241
+ pgsave restore showpage
242
+
243
+ %%Trailer
244
+ XCIRCsave restore
245
+ %%EOF
derived/Source/circuit_generation_code/AC/02110.eps ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02110.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Sun Mar 12 21:05:58 2006
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 383 221
7
+ %%DocumentNeededResources: font Times-Roman font Helvetica font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /dot {
176
+ begingate
177
+ 248 1.00 0 0 6 0.00 360.00 xcarc
178
+ endgate
179
+ } def
180
+
181
+
182
+ %%EndDocumentSetup
183
+
184
+ %%Page: 1 1
185
+ %%PageOrientation: Portrait
186
+ /pgsave save def bop
187
+ % 32.00 32.00 gridspace
188
+ 0.6000 inchscale
189
+ 2.6000 setlinewidth 736 624 translate
190
+
191
+ 1.00 0 -160 144 acsource
192
+ (plot voltage waveform) {/Helvetica cf} 2 16 0 1.00 -80 -252 label
193
+ 1 1.00 -160 -304 -160 -304 784 -304 3 polygon
194
+ 1 1.00 -160 -176 80 -176 2 polygon
195
+ 1 1.00 -160 80 528 80 2 polygon
196
+ 1 1.00 -160 208 656 208 2 polygon
197
+ (plot voltage waveform) {/Helvetica cf} 2 16 0 1.00 64 -128 label
198
+ 0.600 0.600 0.600 scb
199
+ 1 1.00 368 -275 368 -144 2 polygon
200
+ sce
201
+ (plot voltage waveform) {/Helvetica cf} 2 16 0 1.00 192 8 label
202
+ 0.600 0.600 0.600 scb
203
+ 1 1.00 496 -275 496 -8 2 polygon
204
+ sce
205
+ (plot voltage waveform) {/Helvetica cf} 2 16 0 1.00 320 128 label
206
+ 0.600 0.600 0.600 scb
207
+ 1 1.00 624 -280 624 112 2 polygon
208
+ sce
209
+ 1.00 0 -160 208 dot
210
+ 1.00 0 -160 80 dot
211
+ 1.00 0 -160 -176 dot
212
+ 1.00 0 -160 272 acsource
213
+ 1 1.00 -160 320 -160 344 784 344 3 polygon
214
+ (plot voltage waveform) {/Helvetica cf} 2 16 0 1.00 536 264 label
215
+ 0.600 0.600 0.600 scb
216
+ 1 1.00 752 -280 752 248 2 polygon
217
+ sce
218
+ 0 1.00 520 300 520 252 952 252 952 300 4 polygon
219
+ 0 1.00 304 164 304 116 736 116 736 164 4 polygon
220
+ 0 1.00 176 44 176 -4 608 -4 608 44 4 polygon
221
+ 0 1.00 48 -92 48 -140 480 -140 480 -92 4 polygon
222
+ 0 1.00 -96 -216 -96 -264 336 -264 336 -216 4 polygon
223
+ 1.00 0 -160 -240 acsource
224
+ 1.00 0 -160 -112 acsource
225
+ 1.00 0 -160 16 acsource
226
+ 0.600 0.600 0.600 scb
227
+ 497 1.00 40 -274 44 -284 46 -290 48 -301 49 -294 50 -289 52 -283 56 -274 52
228
+ -275 45 -275 40 -274 11 polygon
229
+ 497 1.00 40 -205 44 -195 46 -189 48 -178 49 -185 50 -190 52 -196 56 -205 52
230
+ -204 45 -204 40 -205 11 polygon
231
+ 1 1.00 48 -200 48 -213 2 polygon
232
+ 497 1.00 360 -274 364 -284 366 -290 368 -301 369 -294 370 -289 372 -283 376
233
+ -274 372 -275 365 -275 360 -274 11 polygon
234
+ 497 1.00 488 -274 492 -284 494 -290 496 -301 497 -294 498 -289 500 -283 504
235
+ -274 500 -275 493 -275 488 -274 11 polygon
236
+ 497 1.00 616 -274 620 -284 622 -290 624 -301 625 -294 626 -289 628 -283 632
237
+ -274 628 -275 621 -275 616 -274 11 polygon
238
+ 497 1.00 744 -274 748 -284 750 -290 752 -301 753 -294 754 -289 756 -283 760
239
+ -274 756 -275 749 -275 744 -274 11 polygon
240
+ 1 1.00 48 -267 48 -276 2 polygon
241
+ 0.000 0.000 0.000 scb
242
+ 1 1.00 -160 -48 400 -48 2 polygon
243
+ 0.600 0.600 0.600 scb
244
+ 497 1.00 360 -77 364 -67 366 -61 368 -50 369 -57 370 -62 372 -68 376 -77 372
245
+ -76 365 -76 360 -77 11 polygon
246
+ 1 1.00 368 -72 368 -85 2 polygon
247
+ 497 1.00 488 51 492 61 494 67 496 78 497 71 498 66 500 60 504 51 500 52 493 52
248
+ 488 51 11 polygon
249
+ 1 1.00 496 56 496 43 2 polygon
250
+ 497 1.00 616 179 620 189 622 195 624 206 625 199 626 194 628 188 632 179 628
251
+ 180 621 180 616 179 11 polygon
252
+ 1 1.00 624 184 624 168 2 polygon
253
+ 497 1.00 744 315 748 325 750 331 752 342 753 335 754 330 756 324 760 315 756
254
+ 316 749 316 744 315 11 polygon
255
+ 1 1.00 752 316 752 303 2 polygon
256
+ sce
257
+ 1.00 0 -160 -48 dot
258
+ 0.000 0.000 0.000 scb
259
+ {/Symbol cf} ( 50Hz) {CR} (=1.27V ) {ns} (1) {ss} (V) {/Times-Roman cf} 9 16
260
+ 0 1.00 -416 240 label
261
+ {/Symbol cf} ( 150Hz) {CR} (=424mV ) {ns} (3) {ss} (V) {/Times-Roman cf} 9
262
+ 16 0 1.00 -416 112 label
263
+ {/Symbol cf} ( 250Hz) {CR} (=255mV ) {ns} (5) {ss} (V) {/Times-Roman cf} 9
264
+ 16 0 1.00 -416 -16 label
265
+ {/Symbol cf} ( 350Hz) {CR} (=182mV ) {ns} (7) {ss} (V) {/Times-Roman cf} 9
266
+ 16 0 1.00 -416 -144 label
267
+ {/Symbol cf} ( 450Hz) {CR} (=141mV ) {ns} (9) {ss} (V) {/Times-Roman cf} 9
268
+ 16 0 1.00 -416 -272 label
269
+ pgsave restore showpage
270
+
271
+ %%Trailer
272
+ XCIRCsave restore
273
+ %%EOF
derived/Source/circuit_generation_code/AC/02111.eps ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02111.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:34:43 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 253 214
7
+ %%DocumentNeededResources: font Helvetica font Helvetica-Oblique
8
+ %%+ font Times-Roman
9
+ %%EndComments
10
+ %%BeginProlog
11
+ %
12
+ % PostScript prolog for output from xcircuit
13
+ % Version: 2.0
14
+ %
15
+ % Electrical circuit (and otherwise general) drawing program
16
+ %
17
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
18
+ % The Johns Hopkins University
19
+ %
20
+ %%BeginResource: procset XCIRCproc 2.0 2
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
31
+ findfont fscale scalefont setfont } def
32
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
33
+ glevel 1 add /glevel exch def } def
34
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
35
+ glevel 1 add /glevel exch def } def
36
+ /ns { currentpoint transform % preserve x position!
37
+ glevel {grestore} repeat /glevel 0 def
38
+ itransform pop currentpoint pop sub 0 rmoveto } def
39
+ /ul { showflag 1 eq { gsave
40
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
41
+ false charpath flattenpath pathbbox grestore exch pop 1 index
42
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
43
+ rlineto stroke moveto } if } def
44
+ /ol { showflag 1 eq { gsave gsave
45
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
46
+ true charpath flattenpath pathbbox grestore exch pop
47
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
48
+ exch pop 1 index sub setlinewidth exch pop currentpoint
49
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
50
+ moveto } if } def
51
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
52
+ grestore } def
53
+ /bs { stW 0 rmoveto } def
54
+ /pspc 0 def
55
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
56
+ /hS { qS qS } def
57
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
58
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
59
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
60
+ pop exch sub exch pop neg grestore } def
61
+ /texty { gsave 2 copy pop exec mty } def
62
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
63
+ /tright { textx grestore fspc sub 0 rmoveto } def
64
+ /tmiddle { texty 0.5 mul rmoveto } def
65
+ /ttop { texty fspc sub rmoveto } def
66
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
67
+
68
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
69
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
71
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
72
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
73
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
74
+ /glevel 0 def /showflag 0 def /fspc pspc def
75
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
76
+ {fspc 0 rmoveto} ifelse
77
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
78
+ {0 fspc rmoveto} ifelse
79
+ /showflag 1 def tshow grestore } def
80
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
81
+ { pop pop pop pop {pop} repeat } ifelse } def
82
+ /pinglobal { pinlabel } def
83
+ /infolabel { pinlabel } def
84
+
85
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
86
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
87
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
88
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
89
+ /beginparm { -1 1 {makeparm exch def} for
90
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
91
+ for } if begingate } bind def
92
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
93
+
94
+ /hlevel 0 def
95
+ /tmpa [1 0 0 1 0 0] def
96
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
97
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
98
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
99
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
100
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
101
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
102
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
103
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
104
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
105
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
106
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
107
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
108
+ /setstyles {
109
+ currentlinewidth mul setlinewidth /style exch def
110
+ style 1 and 0 gt not {closepath} if
111
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
112
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
113
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
114
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
115
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
116
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
117
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
118
+
119
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
120
+ /xcarc { gsave newpath arc setstyles } def
121
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
122
+ 3 index div 1 scale } def
123
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
124
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
125
+ /pellip { elb ele arc setmatrix } def
126
+ /nellip { elb ele arcn setmatrix } def
127
+ /spline { gsave moveto curveto setstyles } def
128
+ /polyc { {lineto} repeat } bind def
129
+ /beginpath { gsave moveto } bind def
130
+ /endpath { setstyles } bind def
131
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
132
+ /insertion {/PSobj save def /showpage {} def bop translate} def
133
+ /end_insert {PSobj restore} def
134
+ /setpagemat {/pagemat matrix currentmatrix def} def
135
+ /inchscale {setpagemat 0.375 mul dup scale} def
136
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
137
+
138
+ %%EndResource
139
+ %%EndProlog
140
+
141
+ % XCircuit output starts here.
142
+
143
+ /source {
144
+ % -32 -64 64 128 bbox
145
+ % hidden
146
+ begingate
147
+ 1 1.00 0 0 32 0.00 360.00 xcarc
148
+ 1 1.00 0 32 0 64 2 polygon
149
+ 1 1.00 0 -32 0 -64 2 polygon
150
+ endgate
151
+ } def
152
+
153
+ /acsource {
154
+ % -32 -64 64 128 bbox
155
+ begingate
156
+ % fundamental
157
+ 1.00 0 0 0 source
158
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
159
+ 1.000 0.000 0.000 scb
160
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
161
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
162
+ sce
163
+ endgate
164
+ } def
165
+
166
+ /resistor {
167
+ % -14 -64 28 128 bbox
168
+ begingate
169
+ % fundamental
170
+ 1 1.00 0 64 0 36 2 polygon
171
+ 1 1.00 0 -64 0 -36 2 polygon
172
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
175
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
176
+ sce
177
+ 0.000 1.000 0.000 scb
178
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
179
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
180
+ sce
181
+ endgate
182
+ } def
183
+
184
+ /diode {
185
+ % -8 -48 36 96 bbox
186
+ begingate
187
+ % fundamental
188
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
189
+ 1 1.00 0 -48 0 -16 2 polygon
190
+ 1 1.00 0 48 0 16 2 polygon
191
+ 1 1.00 -18 16 18 16 2 polygon
192
+ 1.000 0.000 0.000 scb
193
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
194
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
195
+ sce
196
+ endgate
197
+ } def
198
+
199
+ /arrowhead {
200
+ % -12 -32 24 36 bbox
201
+ begingate
202
+ 8 -28 beginpath
203
+ 3 -18 3 -15 0 0 curveto
204
+ -3 -15 -3 -18 -8 -28 curveto
205
+ -2 -26 2 -26 8 -28 curveto
206
+ 249 1.00 endpath
207
+ endgate
208
+ } def
209
+
210
+ /arrow {
211
+ % -12 -40 24 80 bbox
212
+ begingate
213
+ 1 0.80 0 -40 0 20 2 polygon
214
+ 1.00 0 0 40 arrowhead
215
+ endgate
216
+ } def
217
+
218
+ %%Page: 1 1
219
+ %%PageOrientation: Portrait
220
+ /pgsave save def bop
221
+ % 560 560 offsets
222
+ % 32.00 8.00 gridspace
223
+ 0.7500 inchscale
224
+ 2.6000 setlinewidth
225
+
226
+ 1.00 0 304 560 acsource
227
+ 1.00 0 784 560 resistor
228
+ 1.00 270 544 688 diode
229
+ 1 1.00 304 624 304 688 496 688 3 polygon
230
+ 1 1.00 592 688 784 688 784 624 3 polygon
231
+ 1 1.00 304 496 304 432 784 432 784 496 4 polygon
232
+ (load) {/Helvetica 1.000 cf} 2 16 0 816 560 label
233
+ (diode) {/Helvetica 1.000 cf} 2 16 0 496 720 label
234
+ 1.000 0.000 1.000 scb
235
+ (1) {/Helvetica 1.000 cf} 2 16 0 272 688 label
236
+ (2) {/Helvetica 1.000 cf} 2 16 0 800 688 label
237
+ (0) {/Helvetica 1.000 cf} 2 16 0 256 400 label
238
+ (0) {/Helvetica 1.000 cf} 2 16 0 800 400 label
239
+ sce
240
+ (+) {/Helvetica 1.000 cf} 2 16 0 800 608 label
241
+ (-) {/Helvetica 1.000 cf} 2 16 0 800 496 label
242
+ 1.00 270 392 408 arrow
243
+ 1.00 270 504 408 arrow
244
+ 1.00 270 616 408 arrow
245
+ 1.00 270 720 408 arrow
246
+ 1.00 -271 712 648 arrow
247
+ 1.00 -271 592 648 arrow
248
+ 1.00 -271 480 648 arrow
249
+ 1.00 -271 368 648 arrow
250
+ (The diode only allows electron) {/Helvetica-Oblique 1.000 cf} 2 16 0 272 336 label
251
+ (flow in a counter-clockwise) {/Helvetica-Oblique 1.000 cf} 2 16 0 272 296 label
252
+ (direction.) {/Helvetica-Oblique 1.000 cf} 2 16 0 272 256 label
253
+ pgsave restore showpage
254
+
255
+ %%Trailer
256
+ XCIRCsave restore
257
+ %%EOF
derived/Source/circuit_generation_code/AC/02112.eps ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02112.eps
3
+ %%Creator: Xcircuit v2.0
4
+ %%CreationDate: Sat Jun 29 14:35:23 2002
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 263 182
7
+ %%DocumentNeededResources: font Helvetica font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 2.0
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--2/25/99 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 2.0 2
20
+ % supporting definitions --- these are the primary xcircuit types.
21
+
22
+ /XCIRCsave save def
23
+ /topmat matrix currentmatrix def
24
+
25
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
26
+ exch findfont exch makefont dup length dict /ndict exch def
27
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
28
+ ndict definefont pop} def
29
+ /cf { dup type /realtype eq {40 mul /fscale exch def} if dup /xfont exch def
30
+ findfont fscale scalefont setfont } def
31
+ /Ss { gsave 0.67 dup scale gsave mty neg rmoveto
32
+ glevel 1 add /glevel exch def } def
33
+ /ss { gsave 0.67 dup scale gsave mty 0.5 mul rmoveto
34
+ glevel 1 add /glevel exch def } def
35
+ /ns { currentpoint transform % preserve x position!
36
+ glevel {grestore} repeat /glevel 0 def
37
+ itransform pop currentpoint pop sub 0 rmoveto } def
38
+ /ul { showflag 1 eq { gsave
39
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
40
+ false charpath flattenpath pathbbox grestore exch pop 1 index
41
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
42
+ rlineto stroke moveto } if } def
43
+ /ol { showflag 1 eq { gsave gsave
44
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
45
+ true charpath flattenpath pathbbox grestore exch pop
46
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
47
+ exch pop 1 index sub setlinewidth exch pop currentpoint
48
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
49
+ moveto } if } def
50
+ /stW { gsave true charpath flattenpath pathbbox pop exch pop sub
51
+ grestore } def
52
+ /bs { stW 0 rmoveto } def
53
+ /pspc 0 def
54
+ /qS { (aa) stW (a a) stW sub 4 div 0 rmoveto } def
55
+ /hS { qS qS } def
56
+ /textx { dup 1 add copy 0 exch { exch dup type /stringtype eq
57
+ {stringwidth pop add}{exec} ifelse } repeat neg ns } def
58
+ /mty { 0 topmat setmatrix (A) true charpath flattenpath pathbbox exch
59
+ pop exch sub exch pop neg grestore } def
60
+ /texty { gsave 2 copy pop exec mty } def
61
+ /tcenter { textx grestore 0.5 mul 0 rmoveto } def
62
+ /tright { textx grestore fspc sub 0 rmoveto } def
63
+ /tmiddle { texty 0.5 mul rmoveto } def
64
+ /ttop { texty fspc sub rmoveto } def
65
+ /tshow {{ dup type /stringtype eq {show}{exec} ifelse} repeat ns } def
66
+
67
+ /label { gsave translate 0 0 moveto rotate /just exch def just 16 and 0 gt
68
+ {0 1 dtransform gsave pagemat setmatrix idtransform exch grestore
69
+ 1 0 dtransform gsave pagemat setmatrix idtransform exch grestore
70
+ dup 0 eq {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse
71
+ {-1 /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse exch 0 lt
72
+ {-1 /just just dup 12 and 4 ne {12 xor} if def} {1} ifelse scale } if
73
+ /glevel 0 def /showflag 0 def /fspc pspc def
74
+ just 1 and 0 gt {gsave just 2 and 0 gt {tright}{tcenter} ifelse}
75
+ {fspc 0 rmoveto} ifelse
76
+ just 4 and 0 gt {just 8 and 0 gt {ttop}{tmiddle} ifelse}
77
+ {0 fspc rmoveto} ifelse
78
+ /showflag 1 def tshow grestore } def
79
+ /pinlabel { hlevel 0 eq { /pspc 20 def label /pspc 0 def }
80
+ { pop pop pop pop {pop} repeat } ifelse } def
81
+ /pinglobal { pinlabel } def
82
+ /infolabel { pinlabel } def
83
+
84
+ /begingate { /hlevel hlevel 1 add def gsave translate 0 0 moveto dup 0 lt
85
+ {neg 1 sub -1 1 scale} if rotate dup scale } bind def
86
+ /makeparm {3 string cvs dup length 1 add string /tstr exch def tstr exch
87
+ 1 exch putinterval tstr 0 (v) putinterval tstr cvn} bind def
88
+ /beginparm { -1 1 {makeparm exch def} for
89
+ dup type /arraytype eq { aload length -1 1 {makeparm exch def}
90
+ for } if begingate } bind def
91
+ /endgate { /hlevel hlevel 1 sub def grestore } bind def
92
+
93
+ /hlevel 0 def
94
+ /tmpa [1 0 0 1 0 0] def
95
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
96
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
97
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
98
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
99
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
100
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
101
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
102
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
103
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
104
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
105
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
106
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
107
+ /setstyles {
108
+ currentlinewidth mul setlinewidth /style exch def
109
+ style 1 and 0 gt not {closepath} if
110
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
111
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
112
+ style dup 256 ge exch 480 lt and { gsave 1 setgray eofill grestore } if
113
+ style 16 and 0 gt { gsave style 224 and -5 bitshift dup 7 lt
114
+ {gar exch get ppaint} { pop eofill } ifelse grestore } if
115
+ style 8 and 0 gt { newpath } { stroke } ifelse grestore } def
116
+ /scb { gsave setrgbcolor } bind def /sce { grestore } bind def
117
+
118
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
119
+ /xcarc { gsave newpath arc setstyles } def
120
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
121
+ 3 index div 1 scale } def
122
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
123
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
124
+ /pellip { elb ele arc setmatrix } def
125
+ /nellip { elb ele arcn setmatrix } def
126
+ /spline { gsave moveto curveto setstyles } def
127
+ /polyc { {lineto} repeat } bind def
128
+ /beginpath { gsave moveto } bind def
129
+ /endpath { setstyles } bind def
130
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 setgray } def
131
+ /insertion {/PSobj save def /showpage {} def bop translate} def
132
+ /end_insert {PSobj restore} def
133
+ /setpagemat {/pagemat matrix currentmatrix def} def
134
+ /inchscale {setpagemat 0.375 mul dup scale} def
135
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
136
+
137
+ %%EndResource
138
+ %%EndProlog
139
+
140
+ % XCircuit output starts here.
141
+
142
+ /source {
143
+ % -32 -64 64 128 bbox
144
+ % hidden
145
+ begingate
146
+ 1 1.00 0 0 32 0.00 360.00 xcarc
147
+ 1 1.00 0 32 0 64 2 polygon
148
+ 1 1.00 0 -32 0 -64 2 polygon
149
+ endgate
150
+ } def
151
+
152
+ /acsource {
153
+ % -32 -64 64 128 bbox
154
+ begingate
155
+ % fundamental
156
+ 1.00 0 0 0 source
157
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
158
+ 1.000 0.000 0.000 scb
159
+ (s.p) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
160
+ (s.m) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
161
+ sce
162
+ endgate
163
+ } def
164
+
165
+ /diode {
166
+ % -8 -48 36 96 bbox
167
+ begingate
168
+ % fundamental
169
+ 248 1.00 -18 -16 0 16 18 -16 3 polygon
170
+ 1 1.00 0 -48 0 -16 2 polygon
171
+ 1 1.00 0 48 0 16 2 polygon
172
+ 1 1.00 -18 16 18 16 2 polygon
173
+ 1.000 0.000 0.000 scb
174
+ (d.m) {/Times-Roman 1.000 cf} 2 9 0 0 48 pinlabel
175
+ (d.p) {/Times-Roman 1.000 cf} 2 13 0 0 -48 pinlabel
176
+ sce
177
+ endgate
178
+ } def
179
+
180
+ /resistor {
181
+ % -14 -64 28 128 bbox
182
+ begingate
183
+ % fundamental
184
+ 1 1.00 0 64 0 36 2 polygon
185
+ 1 1.00 0 -64 0 -36 2 polygon
186
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
187
+ 1.000 0.000 0.000 scb
188
+ (r.1) {/Times-Roman 1.000 cf} 2 9 0 0 64 pinlabel
189
+ (r.2) {/Times-Roman 1.000 cf} 2 13 0 0 -64 pinlabel
190
+ sce
191
+ 0.000 1.000 0.000 scb
192
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman 1.000 cf} 2 0 0 -208 -160 infolabel
193
+ (sim:r %pr.1 %pr.2) {/Times-Roman 1.000 cf} 2 0 0 -208 -208 infolabel
194
+ sce
195
+ endgate
196
+ } def
197
+
198
+ /dot {
199
+ % -10 -10 20 20 bbox
200
+ begingate
201
+ 248 1.00 0 0 6 0.00 360.00 xcarc
202
+ endgate
203
+ } def
204
+
205
+ %%Page: 01026.ps 1
206
+ %%PageOrientation: Portrait
207
+ /pgsave save def bop
208
+ % 760 448 offsets
209
+ % 32.00 8.00 gridspace
210
+ 0.7500 inchscale
211
+ 2.6000 setlinewidth
212
+
213
+ 1.00 0 344 448 acsource
214
+ 1.00 135 696 512 diode
215
+ 1.00 -226 824 384 diode
216
+ 1.00 45 824 512 diode
217
+ 1.00 45 696 384 diode
218
+ 1 1.00 664 480 632 448 664 416 3 polygon
219
+ 1 1.00 728 352 760 320 792 352 3 polygon
220
+ 1 1.00 856 416 888 448 856 480 3 polygon
221
+ 1 1.00 792 544 760 576 728 544 3 polygon
222
+ 1.00 270 760 448 resistor
223
+ 1 1.00 712 448 632 448 2 polygon
224
+ 1 1.00 824 448 888 448 2 polygon
225
+ (+) {/Helvetica 1.000 cf} 2 19 0 720 456 label
226
+ (-) {/Helvetica 1.000 cf} 2 19 0 824 456 label
227
+ 1.000 0.000 1.000 scb
228
+ (1) {/Helvetica 1.000 cf} 2 16 0 312 608 label
229
+ (0) {/Helvetica 1.000 cf} 2 16 0 312 256 label
230
+ (3) {/Helvetica 1.000 cf} 2 16 0 904 432 label
231
+ (2) {/Helvetica 1.000 cf} 2 16 0 584 432 label
232
+ sce
233
+ 1 1.00 760 576 760 608 344 608 344 512 4 polygon
234
+ 1 1.00 760 320 760 288 344 288 344 384 4 polygon
235
+ 1.000 0.000 1.000 scb
236
+ (1) {/Helvetica 1.000 cf} 2 16 0 776 608 label
237
+ (0) {/Helvetica 1.000 cf} 2 16 0 776 256 label
238
+ sce
239
+ 1.00 0 760 576 dot
240
+ 1.00 0 888 448 dot
241
+ 1.00 0 760 320 dot
242
+ 1.00 0 632 448 dot
243
+ (1) {ss} (V) {/Times-Roman 1.000 cf} 4 16 0 256 440 label
244
+ (15 V) {/Times-Roman 1.000 cf} 2 16 0 392 456 label
245
+ (60 Hz) {/Times-Roman 1.000 cf} 2 16 0 384 416 label
246
+ (1) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 640 536 label
247
+ (3) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 840 536 label
248
+ (2) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 632 352 label
249
+ (4) {ss} (D) {/Times-Roman 1.000 cf} 4 16 0 840 344 label
250
+ (load) {ss} (R) {/Times-Roman 1.000 cf} 4 16 0 720 480 label
251
+ (W) {/Symbol 1.000 cf} (10 k) {/Times-Roman 1.000 cf} 4 16 0 704 408 label
252
+ pgsave restore showpage
253
+
254
+ %%Trailer
255
+ XCIRCsave restore
256
+ %%EOF
derived/Source/circuit_generation_code/AC/02113.eps ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02113.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Sun Mar 12 19:34:50 2006
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 277 162
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /resistor {
176
+ begingate
177
+ 1 1.00 0 64 0 36 2 polygon
178
+ 1 1.00 0 -64 0 -36 2 polygon
179
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
180
+ 1.000 0.000 0.000 scb
181
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
182
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
183
+ 0.000 1.000 0.000 scb
184
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
185
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
186
+ endgate
187
+ } def
188
+
189
+ /capacitor {
190
+ begingate
191
+ 1 1.00 0 -64 0 -6 2 polygon
192
+ 1 1.00 0 64 0 6 2 polygon
193
+ 1 1.00 -32 6 32 6 2 polygon
194
+ 1 1.00 -32 -6 32 -6 2 polygon
195
+ 1.000 0.000 0.000 scb
196
+ (c.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
197
+ (c.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
198
+ 0.000 1.000 0.000 scb
199
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
200
+ (sim:c %pc.1 %pc.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
201
+ endgate
202
+ } def
203
+
204
+
205
+ %%EndDocumentSetup
206
+
207
+ %%Page: 1 1
208
+ %%PageOrientation: Portrait
209
+ /pgsave save def bop
210
+ 0.7500 inchscale
211
+ 2.6000 setlinewidth 560 352 translate
212
+
213
+ 1.00 0 -160 96 acsource
214
+ 1.00 0 -160 -32 acsource
215
+ 1.00 90 64 160 resistor
216
+ 1.00 0 288 16 capacitor
217
+ 1 1.00 0 160 -160 160 -160 160 3 polygon
218
+ 1 1.00 128 160 288 160 288 64 3 polygon
219
+ 1 1.00 288 -16 288 -96 -160 -96 -160 -96 4 polygon
220
+ (60 Hz) {/Times-Roman cf} 2 16 0 1.00 -304 64 label
221
+ (90 Hz) {/Times-Roman cf} 2 16 0 1.00 -296 -72 label
222
+ (5 V) {/Times-Roman cf} 2 16 0 1.00 -280 104 label
223
+ (5 V) {/Times-Roman cf} 2 16 0 1.00 -280 -32 label
224
+ (R) {/Times-Roman cf} 2 16 0 1.00 48 184 label
225
+ (W) {/Symbol cf} (2.2 k) {/Times-Roman cf} 4 16 0 1.00 0 112 label
226
+ (C) {/Times-Roman cf} 2 16 0 1.00 216 8 label
227
+ (F) {/Times-Roman cf} (m) {/Symbol cf} (1 ) {/Times-Roman cf} 6 16 0 1.00 336 8
228
+ label
229
+ pgsave restore showpage
230
+
231
+ %%Trailer
232
+ XCIRCsave restore
233
+ %%EOF
derived/Source/circuit_generation_code/AC/02114.eps ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02114.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Sun Mar 12 19:37:16 2006
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 277 144
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /resistor {
176
+ begingate
177
+ 1 1.00 0 64 0 36 2 polygon
178
+ 1 1.00 0 -64 0 -36 2 polygon
179
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
180
+ 1.000 0.000 0.000 scb
181
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
182
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
183
+ 0.000 1.000 0.000 scb
184
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
185
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
186
+ endgate
187
+ } def
188
+
189
+ /capacitor {
190
+ begingate
191
+ 1 1.00 0 -64 0 -6 2 polygon
192
+ 1 1.00 0 64 0 6 2 polygon
193
+ 1 1.00 -32 6 32 6 2 polygon
194
+ 1 1.00 -32 -6 32 -6 2 polygon
195
+ 1.000 0.000 0.000 scb
196
+ (c.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
197
+ (c.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
198
+ 0.000 1.000 0.000 scb
199
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
200
+ (sim:c %pc.1 %pc.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
201
+ endgate
202
+ } def
203
+
204
+
205
+ %%EndDocumentSetup
206
+
207
+ %%Page: 02113 1
208
+ %%PageOrientation: Portrait
209
+ /pgsave save def bop
210
+ 0.7500 inchscale
211
+ 2.6000 setlinewidth 560 256 translate
212
+
213
+ 1.00 0 -160 96 acsource
214
+ 1.00 90 64 192 resistor
215
+ 1.00 0 288 112 capacitor
216
+ 1 1.00 0 192 -160 192 -160 128 3 polygon
217
+ 1 1.00 128 192 288 192 288 144 3 polygon
218
+ 1 1.00 288 48 288 0 -160 0 -160 32 4 polygon
219
+ (5 V) {/Times-Roman cf} 2 16 0 1.00 -288 96 label
220
+ (60 Hz) {/Times-Roman cf} 2 16 0 1.00 -304 56 label
221
+ (R) {/Times-Roman cf} 2 16 0 1.00 48 216 label
222
+ (C) {/Times-Roman cf} 2 16 0 1.00 216 104 label
223
+ (F) {/Times-Roman cf} (m) {/Symbol cf} (1 ) {/Times-Roman cf} 6 16 0 1.00 336
224
+ 104 label
225
+ (W) {/Symbol cf} (2.2 k) {/Times-Roman cf} 4 16 0 1.00 0 144 label
226
+ (W) {/Symbol cf} ( = 2.653 k) {ns} (C) {ss} (X) {/Times-Roman cf} 8 16 0 1.00
227
+ -48 32 label
228
+ pgsave restore showpage
229
+
230
+ %%Trailer
231
+ XCIRCsave restore
232
+ %%EOF
derived/Source/circuit_generation_code/AC/02115.eps ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Title: 02115.eps
3
+ %%Creator: Xcircuit v3.2
4
+ %%CreationDate: Sun Mar 12 19:40:03 2006
5
+ %%Pages: 1
6
+ %%BoundingBox: 68 68 275 135
7
+ %%DocumentNeededResources: font Times-Roman font Symbol
8
+ %%EndComments
9
+ %%BeginProlog
10
+ %
11
+ % PostScript prolog for output from xcircuit
12
+ % Version: 3.1
13
+ %
14
+ % Electrical circuit (and otherwise general) drawing program
15
+ %
16
+ % Written by Tim Edwards 8/5/93--1/5/04 (tim@bach.ece.jhu.edu)
17
+ % The Johns Hopkins University
18
+ %
19
+ %%BeginResource: procset XCIRCproc 3.1 0
20
+ %
21
+ % supporting definitions --- these are the primary xcircuit types.
22
+
23
+ /XCIRCsave save def
24
+ /topmat matrix currentmatrix def
25
+
26
+ /fontslant { /slant exch def [1 0 slant 1 0 0]
27
+ exch findfont exch makefont dup length dict /ndict exch def
28
+ { 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
29
+ ndict definefont pop} def
30
+ /ul { dup type /stringtype eq showflag 1 eq and { gsave
31
+ currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
32
+ false charpath flattenpath pathbbox grestore exch pop 1 index
33
+ sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
34
+ rlineto stroke moveto } if } def
35
+ /ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
36
+ currentpoint topmat setmatrix 2 index stringwidth pop 3 index
37
+ true charpath flattenpath pathbbox grestore exch pop
38
+ exch pop topmat setmatrix (_) true charpath pathbbox grestore
39
+ exch pop 1 index sub setlinewidth exch pop currentpoint
40
+ exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
41
+ moveto } if } def
42
+ /stW { gsave currentpoint newpath moveto true charpath flattenpath
43
+ pathbbox pop exch pop sub grestore } def
44
+ /Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
45
+ 0 currentpoint pop put} def
46
+ /Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
47
+ /Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
48
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
49
+ /Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
50
+ {currentpoint exch pop moveto exit} {pop} ifelse } for } def
51
+ /qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
52
+ /hS { qS qS } def
53
+ /pspc 0 def
54
+ /cf0 { scalefont setfont } bind def
55
+ /Kn { dup kY add /kY exch def rmoveto } bind def
56
+ /ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
57
+ 0.33 mul neg Kn} def
58
+ /Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
59
+ 0.67 mul Kn } def
60
+ /ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
61
+ /CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
62
+ /cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
63
+ { 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
64
+ {fscale0 mul fscale mul cf0} ifelse } def
65
+ /ctmk { counttomark dup 2 add -1 roll pop } bind def
66
+ /label { gsave translate 0 0 moveto dup scale neg /rotval exch def
67
+ /just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
68
+ def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
69
+ gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
70
+ gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
71
+ {pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
72
+ rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
73
+ exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
74
+ 4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
75
+ /fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
76
+ /kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
77
+ {exch dup type /stringtype eq {true charpath flattenpath} {dup type
78
+ /arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
79
+ ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
80
+ 1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
81
+ mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
82
+ and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
83
+ ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
84
+ translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
85
+ 1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
86
+ /arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
87
+ grestore } def
88
+ /pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
89
+ /pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
90
+ /pinglobal { pinlabel } def
91
+ /infolabel { pinlabel } def
92
+
93
+ /scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
94
+ /cRedef {/defColor currentcolor 3 array astore def} def
95
+ /begingate {dup type /dicttype ne {1 dict} if begin % default params
96
+ dup type /dicttype ne {1 dict} if begin % instanced params
97
+ /hlevel hlevel 1 add def /defColor currentcolor sce 3 array
98
+ astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
99
+ } bind def
100
+ /endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
101
+ scb end end} bind def
102
+
103
+ /hlevel 0 def
104
+ /tmpa [1 0 0 1 0 0] def
105
+ /gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
106
+ {8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
107
+ {8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
108
+ {8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
109
+ {8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
110
+ {8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
111
+ {8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
112
+ /ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
113
+ neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
114
+ gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
115
+ { 3 index exch 5 exch put dup -8 3 index { 3 index
116
+ exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
117
+ /setstyles {
118
+ currentlinewidth mul setlinewidth /style exch def
119
+ style 1 and 0 gt not {closepath} if
120
+ style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
121
+ style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
122
+ gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
123
+ 7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
124
+ {3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
125
+ {dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
126
+ {style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
127
+ style 512 eq or {newpath} {stroke} ifelse grestore} def
128
+
129
+ /polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
130
+ /xcarc { gsave newpath arc setstyles } def
131
+ /elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
132
+ 3 index div 1 scale } def
133
+ /ele { 0 4 1 roll 0 4 1 roll } bind def
134
+ /ellipse { gsave elb newpath ele arc setmatrix setstyles } def
135
+ /pellip { elb ele arc setmatrix } def
136
+ /nellip { elb ele arcn setmatrix } def
137
+ /spline { gsave moveto curveto setstyles } def
138
+ /polyc { {lineto} repeat } bind def
139
+ /beginpath { gsave moveto } bind def
140
+ /endpath { setstyles } bind def
141
+ /bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
142
+ /psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
143
+ rotate translate dup scale} def
144
+ /end_insert {PSobj restore} def
145
+ /setpagemat {/pagemat matrix currentmatrix def} def
146
+ /inchscale {setpagemat 0.375 mul dup scale} def
147
+ /cmscale {setpagemat 0.35433071 mul dup scale} def
148
+
149
+ %%EndResource
150
+ %%EndProlog
151
+
152
+ % XCircuit output starts here.
153
+
154
+ %%BeginDocumentSetup
155
+
156
+ /source {
157
+ % hidden
158
+ begingate
159
+ 1 1.00 0 0 32 0.00 360.00 xcarc
160
+ 1 1.00 0 32 0 64 2 polygon
161
+ 1 1.00 0 -32 0 -64 2 polygon
162
+ endgate
163
+ } def
164
+
165
+ /acsource {
166
+ begingate
167
+ 1.00 0 0 0 source
168
+ 1 0.80 0 -48 0 48 -16 0 16 0 spline
169
+ 1.000 0.000 0.000 scb
170
+ (s.p) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
171
+ (s.m) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
172
+ endgate
173
+ } def
174
+
175
+ /resistor {
176
+ begingate
177
+ 1 1.00 0 64 0 36 2 polygon
178
+ 1 1.00 0 -64 0 -36 2 polygon
179
+ 1 1.00 0 -36 14 -30 -14 -18 14 -6 -14 6 14 18 -14 30 0 36 8 polygon
180
+ 1.000 0.000 0.000 scb
181
+ (r.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
182
+ (r.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
183
+ 0.000 1.000 0.000 scb
184
+ (spice:R%i %pr.1 %pr.2 1.0K) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
185
+ (sim:r %pr.1 %pr.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
186
+ endgate
187
+ } def
188
+
189
+ /capacitor {
190
+ begingate
191
+ 1 1.00 0 -64 0 -6 2 polygon
192
+ 1 1.00 0 64 0 6 2 polygon
193
+ 1 1.00 -32 6 32 6 2 polygon
194
+ 1 1.00 -32 -6 32 -6 2 polygon
195
+ 1.000 0.000 0.000 scb
196
+ (c.1) {/Times-Roman cf} 2 9 0 1.00 0 64 pinlabel
197
+ (c.2) {/Times-Roman cf} 2 13 0 1.00 0 -64 pinlabel
198
+ 0.000 1.000 0.000 scb
199
+ (spice:C%i %pc.1 %pc.2 1.0P) {/Times-Roman cf} 2 0 0 1.00 -208 -160 infolabel
200
+ (sim:c %pc.1 %pc.2) {/Times-Roman cf} 2 0 0 1.00 -208 -208 infolabel
201
+ endgate
202
+ } def
203
+
204
+
205
+ %%EndDocumentSetup
206
+
207
+ %%Page: 02113 1
208
+ %%PageOrientation: Portrait
209
+ /pgsave save def bop
210
+ 0.7500 inchscale
211
+ 2.6000 setlinewidth 552 320 translate
212
+
213
+ 1.00 0 -160 16 acsource
214
+ 1.00 90 64 96 resistor
215
+ 1.00 0 288 16 capacitor
216
+ 1 1.00 0 96 -160 96 -160 80 3 polygon
217
+ 1 1.00 128 96 288 96 288 64 3 polygon
218
+ 1 1.00 288 -16 288 -64 -160 -64 -160 -48 4 polygon
219
+ 1 1.00 -160 80 -160 80 2 polygon
220
+ (5 V) {/Times-Roman cf} 2 16 0 1.00 -272 16 label
221
+ (90 Hz) {/Times-Roman cf} 2 16 0 1.00 -296 -24 label
222
+ (R) {/Times-Roman cf} 2 16 0 1.00 48 120 label
223
+ (C) {/Times-Roman cf} 2 16 0 1.00 216 8 label
224
+ (F) {/Times-Roman cf} (m) {/Symbol cf} (1 ) {/Times-Roman cf} 6 16 0 1.00 336 8
225
+ label
226
+ (W) {/Symbol cf} (2.2 k) {/Times-Roman cf} 4 16 0 1.00 0 48 label
227
+ (W) {/Symbol cf} ( = 1.768 k) {ns} (C) {ss} (X) {/Times-Roman cf} 8 16 0 1.00
228
+ -48 -32 label
229
+ pgsave restore showpage
230
+
231
+ %%Trailer
232
+ XCIRCsave restore
233
+ %%EOF