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
|
{
"metadata": {
"name": "",
"signature": "sha256:350cd45bd4706ef780ba3db9c23f80c7425e6c49ca99aabcbf016879dc8eee58"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"chapter10:Feedback in Amplifiers"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E1 - Pg 368"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Determine the gain of feedback amplifier\n",
"#given\n",
"A=100.;#internal gain\n",
"B=0.1;#feedback factor\n",
"Af=A/(1.+A*B);\n",
"print '%s %.2f %s' %(\"The gain of feedback amplifier =\",Af,\"\\n\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The gain of feedback amplifier = 9.09 \n",
"\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E2 - Pg 368"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Determine the gain of feedback amplifier in dB\n",
"#given\n",
"import math\n",
"Ad=60.;#dB #internal gain in dB\n",
"A=10.**(Ad/20.); #internal gain\n",
"B=1./20.;#feedback factor\n",
"Af=A/(1.+A*B);\n",
"Afd=20.*math.log10(Af);\n",
"print '%s %.2f %s' %(\"The gain of feedback amplifier =\",Afd,\"dB\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The gain of feedback amplifier = 25.85 dB\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E3 - Pg 368"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Calculate the percentage of output fed back to input\n",
"#given\n",
"A=600.;#internal gain\n",
"Af=50.;#gain of feedback amplifier\n",
"B=(A/Af-1.)/A;\n",
"print '%s %.3f %s' %(\"The percentage of output fed back to input =\",B*100,\"percent\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The percentage of output fed back to input = 1.833 percent\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E4 - Pg 368"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Calculate the internal gain and percentage of output fed back to input\n",
"#given\n",
"Af=80.;#gain of feedback amplifier\n",
"Vi=0.05;#V#input with feedback\n",
"Vi_=4.*10.**-3.;#V#input without feedback\n",
"Vo_=Af*Vi;\n",
"A=Vo_/Vi_;\n",
"print '%s %.f %s' %(\"The internal gain is =\",A,\"\\n\");\n",
"B=(A/Af-1.)/A;\n",
"print '%s %.2f %s' %(\"The percentage of output fed back to input =\",B*100,\"percent\\n\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The internal gain is = 1000 \n",
"\n",
"The percentage of output fed back to input = 1.15 percent\n",
"\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E5 - Pg 369"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Calculate the gain with and without feedback and feedback factor\n",
"#given\n",
"Vo_=5.;#V #output voltage\n",
"Vi=0.2;#V #input with feedback\n",
"Vi_=0.05;#V #input without feedback\n",
"A=Vo_/Vi_;\n",
"Af=Vo_/Vi;\n",
"print '%s %.f %s' %(\"The gain without feedback is =\",A,\"\\n\");\n",
"print '%s %.f %s' %(\"The gain with feedback is =\",Af,\"\\n\");\n",
"B=(A/Af-1.)/A;\n",
"print '%s %.f %s' %(\"The feedback factor =\",B*100,\"percent\\n\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The gain without feedback is = 100 \n",
"\n",
"The gain with feedback is = 25 \n",
"\n",
"The feedback factor = 3 percent\n",
"\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E6 - Pg 369"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Calculate the gain of feedback amplifier and feedback factor\n",
"#given\n",
"A=100.; #internal gain\n",
"N=20.;#dB #negative feedback\n",
"B=(10.**(-N/(-20.))-1.)/A; #taking antilog\n",
"Af=A/(1.+A*B);\n",
"print '%s %.f %s' %(\"The feedback factor =\",B*100,\"percent\\n\");\n",
"print '%s %.f %s' %(\"The gain of the feedback amplifier is =\",Af,\"\\n\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The feedback factor = 9 percent\n",
"\n",
"The gain of the feedback amplifier is = 10 \n",
"\n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E7 - Pg 371"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Calculate percentage change in the overall gain\n",
"#given\n",
"A=1000.;#internal gain\n",
"N=40.;#dB#negative feedback\n",
"D=10.**((-N)/-20.);#D=(1+AB)desensitivity\n",
"dA_A=10.;#percent#dA/A\n",
"dAf_Af=dA_A/D;#dAf/Af\n",
"print '%s %.1f %s' %(\"The percentage change in the overall gain =\",dAf_Af,\"percent\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The percentage change in the overall gain = 0.1 percent\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E8 - Pg 371"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Calculate percentage change in the overall gain\n",
"#given\n",
"Adb=60.;#dB#internal gain in dB\n",
"B=0.005;#feedback factor\n",
"A=10.**(Adb/(20.));#taking antilog\n",
"dA_A=-12.;#percent #dA/A\n",
"D=(1.+A*B);#D=(1+AB)desensitivity\n",
"dAf_Af=dA_A/D;#dAf/Af\n",
"print '%s %.f %s' %(\"The percentage change in the overall gain reduces by =\",-dAf_Af,\"percent\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The percentage change in the overall gain reduces by = 2 percent\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E9 - Pg 374"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Determine the input resistance of feedback amplifier\n",
"#given\n",
"A=250.;#internal gain\n",
"B=0.1;#feedback factor\n",
"Ri=1.1*10.**3.;#ohm #input resistance\n",
"Rif=Ri*(1.+A*B);\n",
"print '%s %.1f %s' %(\"The input resistance of feedback amplifier =\",Rif/1000,\"kohm\");\n",
"\n",
"#The ans in book is incorrect due to use of (2+A*B) instead of (1+A*B) the ans in book is 29.7 kohm\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The input resistance of feedback amplifier = 28.6 kohm\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example E10 - Pg 374"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Calculate the percentage of negative feedback to input\n",
"#given\n",
"Adb=60.;#dB #internal gain in dB\n",
"A=10.**(Adb/(20.)); #taking antilog\n",
"Ro=12.*10.**3.;#ohm #output resistance\n",
"Rof=600.;#ohm\n",
"B=(Ro/Rof-1.)/A;\n",
"print '%s %.1f %s' %(\"The percentage of negative feedback to input =\",B*100,\"percent\");\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The percentage of negative feedback to input = 1.9 percent\n"
]
}
],
"prompt_number": 10
}
],
"metadata": {}
}
]
}
|