summaryrefslogtreecommitdiff
path: root/digital ciruits/ex1_trans_amp/ex1_trans_amp.bak
blob: 4fef9361c07e9be1e782ad899de3bd4557f7e977 (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
EESchema Schematic File Version 4
LIBS:ex1_trans_amp-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L pspice:VSOURCE V1
U 1 1 5B215C64
P 2300 2650
F 0 "V1" H 2728 2696 50  0000 L CNN
F 1 "12" H 2728 2605 50  0000 L CNN
F 2 "" H 2300 2650 50  0001 C CNN
F 3 "" H 2300 2650 50  0001 C CNN
	1    2300 2650
	1    0    0    -1  
$EndComp
$Comp
L pspice:R R1
U 1 1 5B215CDC
P 3700 2650
F 0 "R1" H 3768 2696 50  0000 L CNN
F 1 "100k" H 3768 2605 50  0000 L CNN
F 2 "" H 3700 2650 50  0001 C CNN
F 3 "" H 3700 2650 50  0001 C CNN
	1    3700 2650
	1    0    0    -1  
$EndComp
$Comp
L pspice:R R3
U 1 1 5B215D10
P 4800 2650
F 0 "R3" H 4868 2696 50  0000 L CNN
F 1 "3.9k" H 4868 2605 50  0000 L CNN
F 2 "" H 4800 2650 50  0001 C CNN
F 3 "" H 4800 2650 50  0001 C CNN
	1    4800 2650
	1    0    0    -1  
$EndComp
$Comp
L pspice:R R2
U 1 1 5B215D5B
P 4100 4600
F 0 "R2" H 4168 4646 50  0000 L CNN
F 1 "24k" H 4168 4555 50  0000 L CNN
F 2 "" H 4100 4600 50  0001 C CNN
F 3 "" H 4100 4600 50  0001 C CNN
	1    4100 4600
	1    0    0    -1  
$EndComp
$Comp
L pspice:R R4
U 1 1 5B215DB1
P 4800 4600
F 0 "R4" H 4868 4646 50  0000 L CNN
F 1 "1k" H 4868 4555 50  0000 L CNN
F 2 "" H 4800 4600 50  0001 C CNN
F 3 "" H 4800 4600 50  0001 C CNN
	1    4800 4600
	1    0    0    -1  
$EndComp
$Comp
L pspice:C C1
U 1 1 5B215E29
P 3200 3800
F 0 "C1" V 2885 3800 50  0000 C CNN
F 1 "10u" V 2976 3800 50  0000 C CNN
F 2 "" H 3200 3800 50  0001 C CNN
F 3 "" H 3200 3800 50  0001 C CNN
	1    3200 3800
	0    1    1    0   
$EndComp
$Comp
L pspice:VSOURCE V2
U 1 1 5B215E9D
P 2300 4650
F 0 "V2" H 2728 4696 50  0000 L CNN
F 1 "0 ac 1.0 sin(0 1 1k)" H 2728 4605 50  0000 L CNN
F 2 "" H 2300 4650 50  0001 C CNN
F 3 "" H 2300 4650 50  0001 C CNN
	1    2300 4650
	1    0    0    -1  
$EndComp
Wire Wire Line
	2950 3800 2300 3800
Wire Wire Line
	3700 2400 3700 1950
Wire Wire Line
	3700 1950 2300 1950
Wire Wire Line
	3700 1950 4800 1950
Wire Wire Line
	4800 1950 4800 2400
Connection ~ 3700 1950
Wire Wire Line
	3700 2900 3700 3800
Wire Wire Line
	3700 3800 3450 3800
Connection ~ 3700 3800
Wire Wire Line
	4800 3450 4800 2900
$Comp
L pspice:0 #GND01
U 1 1 5B216243
P 2300 3350
F 0 "#GND01" H 2300 3250 50  0001 C CNN
F 1 "0" H 2300 3437 50  0000 C CNN
F 2 "" H 2300 3350 50  0001 C CNN
F 3 "" H 2300 3350 50  0001 C CNN
	1    2300 3350
	1    0    0    -1  
$EndComp
$Comp
L pspice:0 #GND02
U 1 1 5B21627D
P 2300 5350
F 0 "#GND02" H 2300 5250 50  0001 C CNN
F 1 "0" H 2300 5437 50  0000 C CNN
F 2 "" H 2300 5350 50  0001 C CNN
F 3 "" H 2300 5350 50  0001 C CNN
	1    2300 5350
	1    0    0    -1  
$EndComp
$Comp
L pspice:0 #GND03
U 1 1 5B2162D0
P 4100 5300
F 0 "#GND03" H 4100 5200 50  0001 C CNN
F 1 "0" H 4100 5387 50  0000 C CNN
F 2 "" H 4100 5300 50  0001 C CNN
F 3 "" H 4100 5300 50  0001 C CNN
	1    4100 5300
	1    0    0    -1  
$EndComp
$Comp
L pspice:0 #GND04
U 1 1 5B216303
P 4800 5300
F 0 "#GND04" H 4800 5200 50  0001 C CNN
F 1 "0" H 4800 5387 50  0000 C CNN
F 2 "" H 4800 5300 50  0001 C CNN
F 3 "" H 4800 5300 50  0001 C CNN
	1    4800 5300
	1    0    0    -1  
$EndComp
Wire Wire Line
	4100 4850 4100 5300
Wire Wire Line
	4800 4850 4800 5300
Text GLabel 2050 3800 0    50   BiDi ~ 0
v1
Wire Wire Line
	2050 3800 2300 3800
Connection ~ 2300 3800
Text Notes 2250 6100 0    50   ~ 0
.tran 1e-5 2e-3
Text Notes 2250 5800 0    50   ~ 0
.model qnpn npn
Text Notes 1500 1600 0    50   ~ 0
1. Start the Simulator (Tools->Simulator)\n2. Click "Run/Stop Simulation".\n3. Click "Add signals"\n4. Add V(base) and V(v1), click OK.
Text Notes 1500 1000 0    80   ~ 0
Example based on Chapter 21.1 AC coupler transistor amplifier, from\nhttp://ngspice.sourceforge.net/docs/ngspice-manual.pdf\n
Text Notes 2250 6600 0    50   ~ 0
.control\nrun\nplot v(base) v(v1)\n.endc
Wire Wire Line
	4800 4150 4800 4250
Wire Wire Line
	2300 3800 2300 4350
Wire Wire Line
	2300 4950 2300 5350
Wire Wire Line
	2300 3350 2300 2950
Wire Wire Line
	2300 2350 2300 1950
Wire Wire Line
	4350 3800 4100 3800
Wire Wire Line
	3700 3800 4100 3800
Connection ~ 4100 3800
Wire Wire Line
	4100 3800 4100 4350
$Comp
L pspice:QNPN Q1
U 1 1 5B2E41F0
P 4650 3800
F 0 "Q1" H 4877 3846 50  0000 L CNN
F 1 "QNPN" H 4877 3755 50  0000 L CNN
F 2 "" H 4650 3800 50  0001 C CNN
F 3 "" H 4650 3800 50  0001 C CNN
	1    4650 3800
	1    0    0    -1  
$EndComp
Wire Wire Line
	4550 4150 4550 4250
Wire Wire Line
	4550 4250 4800 4250
Connection ~ 4800 4250
Wire Wire Line
	4800 4250 4800 4350
$EndSCHEMATC