summaryrefslogtreecommitdiff
path: root/demos/pspice/pspice.sch
blob: 9e64a24a5ef08e76db9e7fc8bb24a144d9e00b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
EESchema Schematic File Version 2
LIBS:pspice
LIBS:pspice-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date "Sun 22 Mar 2015"
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Label 4550 2800 0    60   ~ 0
VIN
Text Label 8650 2100 0    60   ~ 0
VOUT
Wire Notes Line
	1100 7100 1100 6200
Wire Notes Line
	1100 7100 3900 7100
Wire Notes Line
	3900 7100 3900 6200
Wire Notes Line
	3900 6200 1100 6200
Wire Wire Line
	4400 2800 5300 2800
Connection ~ 9200 1800
Wire Wire Line
	8700 1800 9200 1800
Wire Wire Line
	7800 1800 8200 1800
Wire Wire Line
	7800 1450 7800 1800
Wire Wire Line
	7800 1500 8250 1500
Wire Wire Line
	9200 1500 9200 2100
Wire Wire Line
	8250 2900 8400 2900
Connection ~ 7050 2450
Wire Wire Line
	7050 2600 7050 2450
Connection ~ 5750 3200
Connection ~ 6100 3200
Wire Wire Line
	6350 3200 6350 3150
Wire Wire Line
	5500 3200 6350 3200
Wire Wire Line
	5750 3150 5750 3200
Wire Wire Line
	5500 3200 5500 3150
Wire Wire Line
	3900 2800 3850 2800
Wire Wire Line
	6100 2450 7250 2450
Wire Wire Line
	6100 2450 6100 2300
Wire Wire Line
	5750 2450 5750 2300
Connection ~ 5100 2800
Connection ~ 6700 2800
Wire Wire Line
	6550 2800 6700 2800
Wire Wire Line
	6700 2300 6700 3300
Wire Wire Line
	5100 2300 5100 3300
Wire Wire Line
	9200 2100 7700 2100
Text Notes 1150 6600 0    60   ~ 0
+gnucap .model Q2N2222 npn (bf=200)\n.print tran v(nodes)\n.print dc v(nodes)\n.tran 10 10000 10 > pspice.dat\n
Text Notes 1100 6200 0    60   ~ 0
Pspice directives using one multiline text:
$Comp
L R R12
U 1 1 3E9D53DA
P 8450 1800
F 0 "R12" V 8530 1800 50  0000 C CNN
F 1 "22K" V 8450 1800 50  0000 C CNN
F 2 "" H 8450 1800 60  0001 C CNN
F 3 "" H 8450 1800 60  0001 C CNN
	1    8450 1800
	0    1    1    0   
$EndComp
$Comp
L R R11
U 1 1 3E9D4D47
P 7800 1200
F 0 "R11" H 7700 1400 50  0000 C CNN
F 1 "100" V 7800 1200 50  0000 C CNN
F 2 "" H 7800 1200 60  0001 C CNN
F 3 "" H 7800 1200 60  0001 C CNN
	1    7800 1200
	1    0    0    -1  
$EndComp
$Comp
L INDUCTOR L1
U 1 1 3E9D4A5D
P 8500 1500
F 0 "L1" H 8500 1600 50  0000 C CNN
F 1 "100mH" H 8500 1400 50  0000 C CNN
F 2 "" H 8500 1500 60  0001 C CNN
F 3 "" H 8500 1500 60  0001 C CNN
	1    8500 1500
	1    0    0    -1  
$EndComp
$Comp
L R R10
U 1 1 3E9D3DED
P 8000 2900
F 0 "R10" V 8080 2900 50  0000 C CNN
F 1 "220" V 8000 2900 50  0000 C CNN
F 2 "" H 8000 2900 60  0001 C CNN
F 3 "" H 8000 2900 60  0001 C CNN
	1    8000 2900
	0    1    1    0   
$EndComp
$Comp
L 0 #GND01
U 1 1 3E9D3DE2
P 8400 3450
F 0 "#GND01" H 8400 3350 40  0001 C CNN
F 1 "0" H 8400 3380 40  0000 C CNN
F 2 "" H 8400 3450 60  0001 C CNN
F 3 "" H 8400 3450 60  0001 C CNN
	1    8400 3450
	1    0    0    -1  
$EndComp
$Comp
L CAP C3
U 1 1 3E9D3DD3
P 8400 3150
F 0 "C3" V 8500 3300 50  0000 C CNN
F 1 "10uF" V 8500 3000 50  0000 C CNN
F 2 "" H 8400 3150 60  0000 C CNN
F 3 "" H 8400 3150 60  0000 C CNN
	1    8400 3150
	1    0    0    -1  
$EndComp
$Comp
L 0 #GND02
U 1 1 3E9D1EFF
P 7050 3150
F 0 "#GND02" H 7050 3050 40  0001 C CNN
F 1 "0" H 7050 3080 40  0000 C CNN
F 2 "" H 7050 3150 60  0001 C CNN
F 3 "" H 7050 3150 60  0001 C CNN
	1    7050 3150
	1    0    0    -1  
$EndComp
$Comp
L C C2
U 1 1 3E9D1EF8
P 7050 2850
F 0 "C2" V 7150 3000 50  0000 C CNN
F 1 "1nF" V 7150 2700 50  0000 C CNN
F 2 "" H 7050 2850 60  0001 C CNN
F 3 "" H 7050 2850 60  0001 C CNN
	1    7050 2850
	1    0    0    -1  
$EndComp
$Comp
L 0 #GND03
U 1 1 32E8B852
P 7700 3550
F 0 "#GND03" H 7700 3450 40  0001 C CNN
F 1 "0" H 7700 3480 40  0000 C CNN
F 2 "" H 7700 3550 60  0001 C CNN
F 3 "" H 7700 3550 60  0001 C CNN
	1    7700 3550
	1    0    0    -1  
$EndComp
$Comp
L +12V #+12V6
U 1 1 32E8B84A
P 7800 900
F 0 "#+12V6" H 7800 1100 40  0001 C CNN
F 1 "+12V" H 7800 1050 40  0000 C CNN
F 2 "" H 7800 900 60  0001 C CNN
F 3 "" H 7800 900 60  0001 C CNN
	1    7800 900 
	1    0    0    -1  
$EndComp
$Comp
L R R8
U 1 1 32E8B80E
P 7700 3250
F 0 "R8" V 7780 3250 50  0000 C CNN
F 1 "2.2K" V 7700 3250 50  0000 C CNN
F 2 "" H 7700 3250 60  0001 C CNN
F 3 "" H 7700 3250 60  0001 C CNN
	1    7700 3250
	1    0    0    -1  
$EndComp
$Comp
L QNPN Q3
U 1 1 32E8B7FC
P 7550 2450
F 0 "Q3" H 7450 2750 50  0000 C CNN
F 1 "Q2N2222" H 7450 2650 50  0000 C CNN
F 2 "" H 7550 2450 60  0001 C CNN
F 3 "" H 7550 2450 60  0001 C CNN
	1    7550 2450
	1    0    0    -1  
$EndComp
$Comp
L 0 #GND04
U 1 1 32CFC469
P 3850 4250
F 0 "#GND04" H 3850 4150 40  0001 C CNN
F 1 "0" H 3850 4180 40  0000 C CNN
F 2 "" H 3850 4250 60  0001 C CNN
F 3 "" H 3850 4250 60  0001 C CNN
	1    3850 4250
	1    0    0    -1  
$EndComp
$Comp
L VSOURCE V2
U 1 1 32CFC454
P 3850 3500
F 0 "V2" H 3850 3400 60  0000 C CNN
F 1 "AC 0.1" H 3850 3600 60  0000 C CNN
F 2 "" H 3850 3500 60  0001 C CNN
F 3 "" H 3850 3500 60  0001 C CNN
	1    3850 3500
	1    0    0    -1  
$EndComp
$Comp
L C C1
U 1 1 32CFC413
P 4150 2800
F 0 "C1" V 4250 2950 50  0000 C CNN
F 1 "1UF" V 4250 2650 50  0000 C CNN
F 2 "" H 4150 2800 60  0001 C CNN
F 3 "" H 4150 2800 60  0001 C CNN
	1    4150 2800
	0    1    1    0   
$EndComp
$Comp
L +12V #+12V5
U 1 1 32CFC34D
P 2850 1500
F 0 "#+12V5" H 2850 1700 40  0001 C CNN
F 1 "+12V" H 2850 1650 40  0000 C CNN
F 2 "" H 2850 1500 60  0001 C CNN
F 3 "" H 2850 1500 60  0001 C CNN
	1    2850 1500
	1    0    0    -1  
$EndComp
$Comp
L 0 #GND05
U 1 1 32CFC344
P 2850 2950
F 0 "#GND05" H 2850 2850 40  0001 C CNN
F 1 "0" H 2850 2880 40  0000 C CNN
F 2 "" H 2850 2950 60  0001 C CNN
F 3 "" H 2850 2950 60  0001 C CNN
	1    2850 2950
	1    0    0    -1  
$EndComp
$Comp
L VSOURCE V1
U 1 1 32CFC337
P 2850 2200
F 0 "V1" H 2850 2100 60  0000 C CNN
F 1 "DC 12V" H 2850 2300 60  0000 C CNN
F 2 "" H 2850 2200 60  0001 C CNN
F 3 "" H 2850 2200 60  0001 C CNN
	1    2850 2200
	1    0    0    -1  
$EndComp
$Comp
L +12V #+12V4
U 1 1 32CFC303
P 6700 1750
F 0 "#+12V4" H 6700 1950 40  0001 C CNN
F 1 "+12V" H 6700 1900 40  0000 C CNN
F 2 "" H 6700 1750 60  0001 C CNN
F 3 "" H 6700 1750 60  0001 C CNN
	1    6700 1750
	1    0    0    -1  
$EndComp
$Comp
L +12V #+12V3
U 1 1 32CFC2FF
P 6100 1750
F 0 "#+12V3" H 6100 1950 40  0001 C CNN
F 1 "+12V" H 6100 1900 40  0000 C CNN
F 2 "" H 6100 1750 60  0001 C CNN
F 3 "" H 6100 1750 60  0001 C CNN
	1    6100 1750
	1    0    0    -1  
$EndComp
$Comp
L +12V #+12V2
U 1 1 32CFC2FD
P 5750 1750
F 0 "#+12V2" H 5750 1950 40  0001 C CNN
F 1 "+12V" H 5750 1900 40  0000 C CNN
F 2 "" H 5750 1750 60  0001 C CNN
F 3 "" H 5750 1750 60  0001 C CNN
	1    5750 1750
	1    0    0    -1  
$EndComp
$Comp
L +12V #+12V1
U 1 1 32CFC2F7
P 5100 1750
F 0 "#+12V1" H 5100 1950 40  0001 C CNN
F 1 "+12V" H 5100 1900 40  0000 C CNN
F 2 "" H 5100 1750 60  0001 C CNN
F 3 "" H 5100 1750 60  0001 C CNN
	1    5100 1750
	1    0    0    -1  
$EndComp
$Comp
L 0 #GND06
U 1 1 32CFC2B8
P 6700 3850
F 0 "#GND06" H 6700 3750 40  0001 C CNN
F 1 "0" H 6700 3780 40  0000 C CNN
F 2 "" H 6700 3850 60  0001 C CNN
F 3 "" H 6700 3850 60  0001 C CNN
	1    6700 3850
	1    0    0    -1  
$EndComp
$Comp
L 0 #GND07
U 1 1 32CFC2B5
P 5100 3850
F 0 "#GND07" H 5100 3750 40  0001 C CNN
F 1 "0" H 5100 3780 40  0000 C CNN
F 2 "" H 5100 3850 60  0001 C CNN
F 3 "" H 5100 3850 60  0001 C CNN
	1    5100 3850
	1    0    0    -1  
$EndComp
$Comp
L R R2
U 1 1 32CFC293
P 5100 3550
F 0 "R2" V 5180 3550 50  0000 C CNN
F 1 "10K" V 5100 3550 50  0000 C CNN
F 2 "" H 5100 3550 60  0001 C CNN
F 3 "" H 5100 3550 60  0001 C CNN
	1    5100 3550
	1    0    0    -1  
$EndComp
$Comp
L R R6
U 1 1 32CFC288
P 5100 2050
F 0 "R6" H 5000 2250 50  0000 C CNN
F 1 "22K" V 5100 2050 50  0000 C CNN
F 2 "" H 5100 2050 60  0001 C CNN
F 3 "" H 5100 2050 60  0001 C CNN
	1    5100 2050
	1    0    0    -1  
$EndComp
$Comp
L R R5
U 1 1 32CFC27F
P 6700 2050
F 0 "R5" H 6600 2250 50  0000 C CNN
F 1 "22K" V 6700 2050 50  0000 C CNN
F 2 "" H 6700 2050 60  0001 C CNN
F 3 "" H 6700 2050 60  0001 C CNN
	1    6700 2050
	1    0    0    -1  
$EndComp
$Comp
L R R1
U 1 1 32CFC277
P 6700 3550
F 0 "R1" V 6780 3550 50  0000 C CNN
F 1 "10K" V 6700 3550 50  0000 C CNN
F 2 "" H 6700 3550 60  0001 C CNN
F 3 "" H 6700 3550 60  0001 C CNN
	1    6700 3550
	1    0    0    -1  
$EndComp
$Comp
L 0 #GND08
U 1 1 32CFC26C
P 5950 3850
F 0 "#GND08" H 5950 3750 40  0001 C CNN
F 1 "0" H 5950 3780 40  0000 C CNN
F 2 "" H 5950 3850 60  0001 C CNN
F 3 "" H 5950 3850 60  0001 C CNN
	1    5950 3850
	1    0    0    -1  
$EndComp
$Comp
L R R7
U 1 1 32CFC25A
P 5950 3550
F 0 "R7" V 6030 3550 50  0000 C CNN
F 1 "470" V 5950 3550 50  0000 C CNN
F 2 "" H 5950 3550 60  0001 C CNN
F 3 "" H 5950 3550 60  0001 C CNN
	1    5950 3550
	1    0    0    -1  
$EndComp
$Comp
L R R4
U 1 1 32CFC254
P 6100 2050
F 0 "R4" H 6000 2250 50  0000 C CNN
F 1 "1K" V 6100 2050 50  0000 C CNN
F 2 "" H 6100 2050 60  0001 C CNN
F 3 "" H 6100 2050 60  0001 C CNN
	1    6100 2050
	1    0    0    -1  
$EndComp
$Comp
L R R3
U 1 1 32CFC24C
P 5750 2050
F 0 "R3" H 5650 2250 50  0000 C CNN
F 1 "1K" V 5750 2050 50  0000 C CNN
F 2 "" H 5750 2050 60  0001 C CNN
F 3 "" H 5750 2050 60  0001 C CNN
	1    5750 2050
	1    0    0    -1  
$EndComp
$Comp
L QNPN Q2
U 1 1 32CFC230
P 6250 2800
F 0 "Q2" H 6150 3100 50  0000 C CNN
F 1 "Q2N2222" H 6150 3000 50  0000 C CNN
F 2 "" H 6250 2800 60  0001 C CNN
F 3 "" H 6250 2800 60  0001 C CNN
	1    6250 2800
	-1   0    0    -1  
$EndComp
$Comp
L QNPN Q1
U 1 1 32CFC227
P 5600 2800
F 0 "Q1" H 5500 3100 50  0000 C CNN
F 1 "Q2N2222" H 5500 3000 50  0000 C CNN
F 2 "" H 5600 2800 60  0001 C CNN
F 3 "" H 5600 2800 60  0001 C CNN
	1    5600 2800
	1    0    0    -1  
$EndComp
Wire Wire Line
	9200 1500 8750 1500
Connection ~ 7800 1500
Wire Wire Line
	2850 2900 2850 2950
Wire Wire Line
	3850 4200 3850 4250
Wire Wire Line
	5100 3800 5100 3850
Wire Wire Line
	5950 3800 5950 3850
Wire Wire Line
	6100 3150 6100 3200
Wire Wire Line
	5950 3200 5950 3300
Connection ~ 5950 3200
Wire Wire Line
	6700 3850 6700 3800
Wire Wire Line
	7050 3150 7050 3100
Wire Wire Line
	7700 3550 7700 3500
Wire Wire Line
	8400 3450 8400 3400
Wire Wire Line
	7700 2800 7700 3000
Wire Wire Line
	7750 2900 7700 2900
Connection ~ 7700 2900
Wire Wire Line
	7700 2850 7450 2850
Wire Wire Line
	7450 2850 7450 2800
Connection ~ 7700 2850
Wire Wire Line
	6700 1750 6700 1800
Wire Wire Line
	6100 1750 6100 1800
Wire Wire Line
	5750 1750 5750 1800
Wire Wire Line
	5100 1750 5100 1800
Wire Wire Line
	7800 900  7800 950 
$EndSCHEMATC