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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"CHAPTER 3 DIODE THEORY"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3-2, Page 63"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"Pr=5 #Power rating(W)\n",
"Vd=1.2 #diode voltage(V)\n",
"Id=1.75 #diode current(A)\n",
"\n",
"PD=Vd*Id #Power dissipaion(W)\n",
"\n",
"print 'Power Dissipation =',PD,'W'\n",
"print 'PD(',PD,'W) < ''Pr(',Pr,'W), So diode will not be destroyed.'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Power Dissipation = 2.1 W\n",
"PD( 2.1 W) < Pr( 5 W), So diode will not be destroyed.\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3-3, Page 65"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"\n",
"Vs=10 #Source voltage(V)\n",
"RL=1 #Load resistance(KOhm)\n",
"VL=Vs #LOad voltage(V)\n",
"\n",
"IL=VL/RL #Load current(mA)\n",
"\n",
"print 'Vs will be appearing across RL'\n",
"print 'Load voltage VL =',Vs,'V'\n",
"print 'Load current IL =',IL,'mA'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Vs will be appearing across RL\n",
"Load voltage VL = 10 V\n",
"Load current IL = 10 mA\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3-4, Page 65"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"print 'As per figure 3-6b, Thevenize the circuit to the left of the diode'\n",
"R1=6 #Resistance(KOhm)\n",
"R2=3 #Resistance(KOhm)\n",
"RL=1 #Load Resistance(KOhm)\n",
"Vs=36 #Supply voltage(V)\n",
"\n",
"Vth=R2*Vs/(R1+R2) #ThCevenin voltage(V)\n",
"Rth=(R1*R2)/(R1+R2) #Thevenin resistance(KOhm)\n",
"Rt=Rth+RL #total resistance(KOhm)\n",
"IL=Vth/Rt #Load current(mA)\n",
"VL=IL*RL #Load voltage(V)\n",
"\n",
"print 'Vth =',Vth,'V & Rth =',Rth,'KOhm'\n",
"print 'Visualize diode as closed switch,'\n",
"print 'IL =',IL,'mA'\n",
"print 'VL =',VL,'V'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"As per figure 3-6b, Thevenize the circuit to the left of the diode\n",
"Vth = 12 V & Rth = 2 KOhm\n",
"Visualize diode as closed switch,\n",
"IL = 4 mA\n",
"VL = 4 V\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3-5, Page 67"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"print 'As per Second approximation in Fig.3-8,'\n",
"Vd=0.7 #diode voltgage(V)\n",
"Vs=10 #supply voltage(V)\n",
"RL=1 #Load resistance(KOhm)\n",
"\n",
"VL=Vs-Vd #Load voltage(v)\n",
"IL=VL/RL #Load current(mA)\n",
"PD=Vd*IL #diode power(mW)\n",
"\n",
"print 'IL =',IL,'mA & VL =',VL,'V'\n",
"print 'Diode power PD =',PD,'mW'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"As per Second approximation in Fig.3-8,\n",
"IL = 9.3 mA & VL = 9.3 V\n",
"Diode power PD = 6.51 mW\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3-6, Page 67"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"print 'As per Second approximation in Fig.3-9a,'\n",
"Vd=0.7 #diode voltgage(V)\n",
"Vs=36 #supply voltage(V)\n",
"R1=6 #Resistance(KOhm)\n",
"R2=3 #Resistance(KOhm)\n",
"RL=1 #Load resistance(KOhm)\n",
"\n",
"Vth=R2*Vs/(R1+R2)#Thevenin Voltage(V)\n",
"Rth=(R1*R2)/(R1+R2)#Thevenin resistance(KOhm)\n",
"IL=(Vth-Vd)/R2#Load current(mA)\n",
"VL=IL*RL#Load voltage(V)\n",
"PD=Vd*IL#diode power(mW)\n",
"\n",
"print 'Thevenize the circuit to the left of the diode'\n",
"print 'Vth =',Vth,'V & Rth =',Rth,'KOhm'\n",
"print 'VL =',round(VL,2),'V & IL =',round(IL,2),'mA'\n",
"print 'Diode power PD =',round(PD,2),'mW'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"As per Second approximation in Fig.3-9a,\n",
"Thevenize the circuit to the left of the diode\n",
"Vth = 12 V & Rth = 2 KOhm\n",
"VL = 3.77 V & IL = 3.77 mA\n",
"Diode power PD = 2.64 mW\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3-7, Page 68"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"print 'In Fig.3-11a,'\n",
"Vd=0.7 #diode voltgage(V)\n",
"Vs=10 #supply voltage(V)\n",
"RL=1000L #Load resistance(Ohm)\n",
"Rb=0.23 #bulk resistance\n",
"\n",
"print 'As per third approximation, we get fig.3-11b'\n",
"if Rb<(RL/100):\n",
" print'If Rb < 0.01RL than ignore Rb & use second approximation.'\n",
" VL=Vs-Vd #Load voltage(V)\n",
" IL=(VL/RL)*1000 #Load current(mA)\n",
" PD=Vd*IL #diode power(mW)\n",
"\n",
" print 'IL =',IL,'mA & VL =',VL,'V'\n",
" print 'Diode power PD =',PD,'mW'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"In Fig.3-11a,\n",
"As per third approximation, we get fig.3-11b\n",
"If Rb < 0.01RL than ignore Rb & use second approximation.\n",
"IL = 9.3 mA & VL = 9.3 V\n",
"Diode power PD = 6.51 mW\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3-8, Page 69"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"print 'In Fig.3-11a, take RL = 10 Ohm'\n",
"Vd=0.7 #diode voltgage(V)\n",
"Vs=10 #supply voltage(V)\n",
"RL=10 #Load resistance(Ohm)\n",
"Rb=0.23 #bulk resistance\n",
"RT=Rb+RL #Total reistance(Ohm)\n",
"VT=Vs-Vd #total voltage(V)\n",
"\n",
"print 'RT =',RT,'Ohm & VT =',VT,'V'\n",
"IL=VT/RT #Load current(mA)\n",
"VL=IL*RL #Load voltage(V)\n",
"VD=Vd+(IL*Rb) \n",
"PD=VD*IL #diode power(W)\n",
"\n",
"print 'IL =',round(IL,2),'mA & VL =',round(VL,2),'V'\n",
"print 'VD =',round(VD,2),'V'\n",
"print 'Diode power PD =',round(PD,2),'W'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"In Fig.3-11a, take RL = 10 Ohm\n",
"RT = 10.23 Ohm & VT = 9.3 V\n",
"IL = 0.91 mA & VL = 9.09 V\n",
"VD = 0.91 V\n",
"Diode power PD = 0.83 W\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
|