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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"CHAPTER 8 TRANSISTOR BIASING"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8-1, Page 263"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Example 8.1.py\n",
"#What is the collector-emitter voltage in Figure 8-2? \n",
"\n",
"#Variable declaration\n",
"VCC=10 #collector voltage(V)\n",
"RC=3.6 #Collector resistance (KOhm)\n",
"RE=1 #Emitter resistance (KOhm)\n",
"R1=10 #Base resistance1 (KOhm)\n",
"R2=2.2 #Base resistance2 (KOhm)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"\n",
"#Calculation\n",
"VBB=(R2/(R1+R2))*VCC #Base voltage(V)\n",
"VE=VBB-VBE #Emitter voltage(V)\n",
"IE=VE/RE #Emitter current(mA)\n",
"IC=IE #Collector current(mA)\n",
"VC=VCC-(IC*RC) #collector to ground voltage(V)\n",
"VCE=VC-VE #Collector-emitter voltage(V)\n",
"\n",
"#Result\n",
"print 'Collector current IC = ',round(IC,2),'mA'\n",
"print 'Collector-emitter voltage VCE = ',round(VCE,2),'V'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Collector current IC = 1.1 mA\n",
"Collector-emitter voltage VCE = 4.92 V\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8-3, Page 267"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Example 8.3.py\n",
"#Is the voltage divider of figure 8-5 stiff? Calculate emitter current.\n",
"\n",
"#Variable declaration\n",
"VCC=10 #collector voltage(V)\n",
"RC=3.6 #Collector resistance (KOhm)\n",
"RE=1 #Emitter resistance (KOhm)\n",
"R1=10 #Base resistance1 (KOhm)\n",
"R2=2.2 #Base resistance2 (KOhm)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"Bdc=200 #current gain\n",
"\n",
"#Calculation\n",
"R=(R1*R2)/(R1+R2) #Thevenin resistance(KOhm)\n",
"Ri=Bdc*RE #Base input resistance(KOhm)\n",
"R100=0.01*Ri #100th of Ri(KOhm)\n",
"VBB=(R2/(R1+R2))*VCC #Base voltage(V)\n",
"VE=VBB-VBE #Emitter voltage(V)\n",
"IE=VE/(RE+(R/Ri)) #Emitter current(mA)\n",
"\n",
"#Result\n",
"print 'As per stiff voltage divider rule, R1||R2 < 0.01 Bdc*RE, So, Voltage divider is stiff.'\n",
"print 'Emitter current IE = ',round(IE,2),'mA'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"As per stiff voltage divider rule, R1||R2 < 0.01 Bdc*RE, So, Voltage divider is stiff.\n",
"Emitter current IE = 1.09 mA\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8-4, Page 269"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Example 8.4.py\n",
"#For the circuit shown in figure 8-7, design resistor values.\n",
"#VCC=10 V, VCE @ mid point, IC=10mA, 2N3904's Bdc=100-300.\n",
"\n",
"#Variable declaration\n",
"VCC=10 #collector voltage(V)\n",
"IC=10 #Collector current(mA)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"Bdc=100 #current gain\n",
"\n",
"#Calculation\n",
"IE=IC #Emitter current(mA)\n",
"VE=0.1*VCC #Emitter voltage(V)\n",
"RE=(VE/IE)*1000 #Emitter resistance (Ohm)\n",
"RC=4*RE #Collector resistance(Ohm)\n",
"R2=0.01*Bdc*RE #Base input resistance2(Ohm)\n",
"V2=VE+VBE #voltage across R1(V)\n",
"V1=VCC-V2 #voltage across R2(V)\n",
"R1=(V1/V2)*R2 #Base input resistance1(Ohm)\n",
"\n",
"#Result\n",
"print 'Emitter resistance RE = ',RE,'Ohm'\n",
"print 'Collector resistance RC = ',RC,'Ohm'\n",
"print 'Base resistance R1 = ',round(R1,2),'Ohm'\n",
"print 'Base resistance R2 = ',R2,'Ohm'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Emitter resistance RE = 100.0 Ohm\n",
"Collector resistance RC = 400.0 Ohm\n",
"Base resistance R1 = 488.24 Ohm\n",
"Base resistance R2 = 100.0 Ohm\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8-5, Page 271"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Example 8.5.py\n",
"#What is the collector voltage in Figure 8-10 if emitter resistor is increased to 1.8 KOhm? \n",
"\n",
"#Variable declaration\n",
"VCC=10 #collector voltage(V)\n",
"RC=3.6 #Collector resistance (KOhm)\n",
"RE=1.8 #Emitter resistance (KOhm)\n",
"RB=2.7 #Base resistance (KOhm)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"VEE=2 #emitter voltage(V)\n",
"\n",
"#Calculation\n",
"VBB=0 #Base voltage(V)\n",
"VE=VEE-VBE #Emitter to ground voltage(V)\n",
"IE=VE/RE #Emitter current(mA)\n",
"IC=IE #Collector current(mA)\n",
"VC=VCC-(IC*RC) #collector to ground voltage(V)\n",
"\n",
"#Result\n",
"print 'Emitter current IE = ',round(IE,2),'mA'\n",
"print 'Collector voltage VC = ',VC,'V'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Emitter current IE = 0.72 mA\n",
"Collector voltage VC = 7.4 V\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8-6, Page 271"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Example 8.6.py\n",
"#Figure 8-11 shows 3 stage circuit using TSEB. Find VC.\n",
"\n",
"#Variable declaration\n",
"VCC=15 #collector voltage(V)\n",
"RC=10 #Collector resistance (KOhm)\n",
"RE=20 #Emitter resistance (KOhm)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"VEE=15 #emitter voltage(V)\n",
"\n",
"#Calculation\n",
"VBB=0 #Base voltage(V)\n",
"VE=VEE-VBE #Emitter to ground voltage(V)\n",
"IE=VE/RE #Emitter current(mA)\n",
"IC=IE #Collector current(mA)\n",
"VC=VCC-(IC*RC) #collector to ground voltage(V)\n",
"\n",
"#Result\n",
"print 'Emitter current IE = ',IE,'mA'\n",
"print 'Collector voltage VC = ',VC,'V'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Emitter current IE = 0.715 mA\n",
"Collector voltage VC = 7.85 V\n"
]
}
],
"prompt_number": 11
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8-7, Page 278"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Example 8.7.py\n",
"#Calculate the three transistor voltages for the PNP circuit of figure 8-19b?\n",
"\n",
"#Variable declaration\n",
"VCC=-10 #collector supply voltage(V)\n",
"VEE=-VCC #Emitter supply voltage(V)\n",
"RC=3.6 #Collector resistance (KOhm)\n",
"RE=1 #Emitter resistance (KOhm)\n",
"R1=10 #Base resistance1 (KOhm)\n",
"R2=2.2 #Base resistance2 (KOhm)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"\n",
"#Calculation\n",
"V2=(R2/(R1+R2))*VEE #Base voltage(V)\n",
"IE=(V2-VBE)/RE #Emitter current(mA)\n",
"VC=IE*RC #collector to ground voltage(V)\n",
"VB=VEE-V2 #Base to ground voltage(V)\n",
"VE=VEE-(V2-VBE) #Emitter to ground voltage(V)\n",
"\n",
"#Result\n",
"print 'Emitter current IE = ',round(IE,2),'mA'\n",
"print 'Collector to ground voltage VC = ',round(VC,2),'V'\n",
"print 'Base to ground voltage VB = ',round(VB,2),'V'\n",
"print 'Emitter to ground voltage VE = ',round(VE,2),'V'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Emitter current IE = 1.1 mA\n",
"Collector to ground voltage VC = 3.97 V\n",
"Base to ground voltage VB = 8.2 V\n",
"Emitter to ground voltage VE = 8.9 V\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
|