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
|
{
"metadata": {
"name": "",
"signature": "sha256:82b1a87e5b1e62f448481647ab7f0e2ca7607ff780f8775431ec8c2b250882dc"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 4: Angle Modulation Techniques"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.1, page no. 71"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
" \n",
"# Variable Declaration\n",
"fm1 = 500 # Audio Frequency (Hz)\n",
"Vm1 = 2.4 # AF Voltage (V)\n",
"del_f1 = 4.8*pow(10,3) # Deviation (Hz)\n",
"fm2 = 500 # Audio Frequency (Hz)\n",
"Vm2 = 7.2 # AF Voltage (V)\n",
"fm3 = 200 # Audio Frequency (Hz)\n",
"Vm3 = 10 # AF Voltage (V)\n",
"\n",
"# Calculation\n",
"import math\t # Math Library\n",
"kf = del_f1/Vm1 # Proportionality Constant\n",
"mf1 = del_f1/fm1 # Modulation Index\n",
"del_f2 = kf*Vm2 # Deviation (Hz)\n",
"mf2 = del_f2/fm2 # Modulation Index\n",
"del_f3 = kf*Vm3 # Deviation (Hz)\n",
"mf3 = del_f3/fm3 # Modulation Index\n",
" \n",
"# Result\n",
"\n",
"print \"CASE 1 : Modulation Index, mf1 =\",round(mf1,1)\n",
"print \" Deviation, del_f1 =\",round(del_f1/pow(10,3),1),\"kHz\"\n",
"print \"CASE 2 : Modulation Index, mf2 =\",round(mf2,1)\n",
"print \" Deviation, del_f2 =\",round(del_f2/pow(10,3),1),\"kHz\"\n",
"print \"CASE 3 : Modulation Index, mf3 =\",round(mf3)\n",
"print \" Deviation, del_f3 =\",round(del_f3/pow(10,3),1),\"kHz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"CASE 1 : Modulation Index, mf1 = 9.6\n",
" Deviation, del_f1 = 4.8 kHz\n",
"CASE 2 : Modulation Index, mf2 = 28.8\n",
" Deviation, del_f2 = 14.4 kHz\n",
"CASE 3 : Modulation Index, mf3 = 100.0\n",
" Deviation, del_f3 = 20.0 kHz\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.2, page no. 71"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"# GIVEN EXPRESSION : v = 12 sin(6 X 10^(8)t + 5 cos(1250t))\n",
"omega1 = 6.00*pow(10,8) # Angular Velocity (rad/s)\n",
"omega2 = 1250 # Angular Velocity (rad/s)\n",
"mf = 5 # Modulation Index\n",
"A = 12 # Amplitude (V)\n",
"R = 10 # Resistance (Ohms)\n",
"\n",
"# Calculation\n",
"import math\t # Math Library\n",
"fc = omega1/(2*math.pi) # Carrier frequency (Hz)\n",
"fm = omega2/(2*math.pi) # Modulating frequency (Hz)\n",
"del_f = mf*fm # Maximum deviation (Hz)\n",
"P = pow(A/math.sqrt(2),2)/R # Power dissipation (w)\n",
"\n",
"# Result\n",
"print \"Carrier frequency, fc =\",round(fc/pow(10,6),1),\" MHz\"\n",
"print \"Modulating frequency, fm =\",round(fm),\" Hz\"\n",
"print \"Modulation Index, mf =\",round(mf)\n",
"print \"Maximum deviation, del_f =\",round(del_f),\"Hz\"\n",
"print \"Power dissipation, P =\",round(P,1),\"W\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Carrier frequency, fc = 95.5 MHz\n",
"Modulating frequency, fm = 199.0 Hz\n",
"Modulation Index, mf = 5.0\n",
"Maximum deviation, del_f = 995.0 Hz\n",
"Power dissipation, P = 7.2 W\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.3, page no. 73"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"fm1 = 500 # Audio Frequency (Hz)\n",
"Vm1 = 2.4 # AF Voltage (V)\n",
"del_p1 = 4.8 # Deviation (kHz)\n",
"fm2 = 500 # Audio Frequency (Hz)\n",
"Vm2 = 7.2 # AF Voltage (V)\n",
"fm3 = 200 # Audio Frequency (Hz)\n",
"Vm3 = 10 # AF Voltage (V)\n",
"\n",
"# Calculation\n",
"import math # Math Library\n",
"kp = del_p1/Vm1 # Proportionality Constant\n",
"mp1 = del_p1 # Modulation Index\n",
"del_p2 = kp*Vm2 # Deviation (kHz)\n",
"mp2 = del_p2 # Modulation Index\n",
"del_p3 = kp*Vm3 # Deviation (kHz)\n",
"mp3 = del_p3 # Modulation Index\n",
" \n",
"# Result\n",
"print \"CASE 1 : Modulation Index, mp1 =\",round(mp1,1)\n",
"print \" Deviation, del_p1 =\",round(del_p1,1),\"kHz\"\n",
"print \"CASE 2 : Modulation Index, mp2 =\",round(mp2,1)\n",
"print \" Deviation, del_p2 =\",round(del_p2,1),\"kHz\"\n",
"print \"CASE 3 : Modulation Index, mp3 =\",round(mp3)\n",
"print \" Deviation, del_p3 =\",round(del_p3,1),\"kHz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"CASE 1 : Modulation Index, mp1 = 4.8\n",
" Deviation, del_p1 = 4.8 kHz\n",
"CASE 2 : Modulation Index, mp2 = 14.4\n",
" Deviation, del_p2 = 14.4 kHz\n",
"CASE 3 : Modulation Index, mp3 = 20.0\n",
" Deviation, del_p3 = 20.0 kHz\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.4, page no. 74"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"# GIVEN EXPRESSION : v = 12 sin(6 X 10^(8)t + 5 cos(1250t))\n",
"omega1 = 6*pow(10,8) # Angular Velocity (rad/s)\n",
"omega2 = 1250 # Angular Velocity (rad/s)\n",
"mp = 5 # Modulation Index\n",
"A = 12 # Amplitude (V)\n",
"\n",
"# Calculation\n",
"import math\t # Math Library\n",
"fc = omega1/(2*math.pi) # Carrier frequency (Hz)\n",
"fm = omega2/(2*math.pi) # Modulating frequency (Hz)\n",
"del_p = mp # Maximum Deviation (kHz)\n",
"\n",
"# Result\n",
"print \"Carrier frequency, fc =\",round(fc/pow(10,6),1),\" MHz\"\n",
"print \"Modulating frequency, fm =\",round(fm),\" Hz\"\n",
"print \"Modulation Index, mp =\",round(mp),\"radians\"\n",
"print \"Maximum deviation, del_p =\",round(del_p),\"kHz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Carrier frequency, fc = 95.5 MHz\n",
"Modulating frequency, fm = 199.0 Hz\n",
"Modulation Index, mp = 5.0 radians\n",
"Maximum deviation, del_p = 5.0 kHz\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.5, page no. 75"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"# GIVEN EXPRESSION FM: v=A sin(omega_c*t + mf cos(omega_m*t))\n",
"# GIVEN EXPRESSION PM: v=A sin(omega_c*t + mp cos(omega_m*t))\n",
"A = 4 # Carrier Voltage (V)\n",
"del_f = 10.00*pow(10,3) # Maximum Frequency Deviation (Hz)\n",
"del_p = 25 # Maximum Phase Deviation (Hz)\n",
"f_c = 25.00*pow(10,6) # Carrier Frequency (Hz)\n",
"f_m1 = 400 # Modulating Frequency 1 (Hz)\n",
"f_m2 = 2000 # Modulating Frequency 2 (Hz)\n",
"\n",
"# Calculation\n",
"import math # Math Library\n",
"omega_c = 2*math.pi*f_c # Angular Velocity of carrier (rad/s)\n",
"omega_m = 2*math.pi*f_m1 # Angular Velocity of Modulating Wave (rad/s)\n",
"mf1 = del_f/f_m1 # Modulation Index for FM\n",
"mf2 = del_f/f_m2 # Modulation Index for FM\n",
"mp = del_p # Modulation Index for PM\n",
"\n",
"# Result\n",
"print \"(a)For FM Case 1, v =\",round(A),\"sin(\",round(omega_c/pow(10,8),2),\"* 10^(8) * t +\",round(mf1),\"cos\",round(omega_m),\"* t )\"\n",
"print \"(b)For PM Case 1, v =\",round(A),\"sin(\",round(omega_c/pow(10,8),2),\"* 10^(8) * t +\",round(mp),\"cos\",round(omega_m),\"* t )\"\n",
"print \"(c)For FM Case 2, v =\",round(A),\"sin(\",round(omega_c/pow(10,8),2),\"* 10^(8) * t +\",round(mf2),\"cos\",round(omega_m),\"* t )\"\n",
"print \"(d)For PM Case 2, v =\",round(A),\"sin(\",round(omega_c/pow(10,8),2),\"* 10^(8) * t +\",round(mp),\"cos\",round(omega_m),\"* t )\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"(a)For FM Case 1, v = 4.0 sin( 1.57 * 10^(8) * t + 25.0 cos 2513.0 * t )\n",
"(b)For PM Case 1, v = 4.0 sin( 1.57 * 10^(8) * t + 25.0 cos 2513.0 * t )\n",
"(c)For FM Case 2, v = 4.0 sin( 1.57 * 10^(8) * t + 5.0 cos 2513.0 * t )\n",
"(d)For PM Case 2, v = 4.0 sin( 1.57 * 10^(8) * t + 25.0 cos 2513.0 * t )\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.6, page no. 79"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"del1 = 10.00*pow(10,3) # Maximum Deviation (Hz)\n",
"fm = 2.00*pow(10,3) # Modulating frequency (Hz)\n",
"H = 8 # Highest Needed Sideband from Table 4.1\n",
"\n",
"# Calculation\n",
"import math # Math Library\n",
"mf = del1/fm # Modulation Index\n",
"delta = fm*H*2 # Bandwidth required for the FM signal (Hz)\n",
"\n",
"# Result\n",
"print \"Bandwidth required for the FM signal, delta =\",round(delta/pow(10,3)),\"kHz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Bandwidth required for the FM signal, delta = 32.0 kHz\n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.7, page no. 88"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"gm = 12.00* pow(10,-3) # Transconductance (Siemens) \n",
"f = 5.00*pow(10,6) # Frequency (Hz)\n",
"n = 9 # Constant, from X_GS = (1/9)X_GD\n",
"\n",
"# Calculation\n",
"import math # Math Library\n",
"XCeq = n/gm # Capacitive Reactance of the FET (Ohms)\n",
"\n",
"# Result\n",
"print \"Capacitive reactance of the FET, XCeq =\",round(XCeq),\"Ohms\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Capacitive reactance of the FET, XCeq = 750.0 Ohms\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.8, page no. 89"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"gm = 9.00*pow(10,-3) # Transconductance (Siemens) \n",
"f = 50.00*pow(10,6) # Frequency (Hz)\n",
"n = 8 # Constant, from R_GS = (1/8)XC_GD\n",
"C = 50.00*pow(10,-12) # Capacitance (F)\n",
"\n",
"# Calculation\n",
"import math # Math Library\n",
"Cn = 0 # Minimum Equivalent Capacitance of FET (F)\n",
"Cx = gm/(2*math.pi*f*n) # Maximum Equivalent Capacitance of FET (F)\n",
"fx_by_fn = math.sqrt(1+Cx/C) # Maximum to Minimum Frequency Ratio\n",
"delta = (fx_by_fn-1)*f/(fx_by_fn+1) # Total frequency variation of FET (Hz)\n",
"\n",
"# Result\n",
"print \"Total frequency variation of FET =\",round(2*delta/pow(10,6),2),\"MHz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Total frequency variation of FET = 1.73 MHz\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.9, page no. 90"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"# Variable Declaration\n",
"gm_max = 830.00*pow(10,-6) # Max. Transconductance (Siemens)\n",
"gm_min = 320.00*pow(10,-6) # Min. Transconductance (Siemens) \n",
"f = 88.00*pow(10,6) # Frequency (Hz)\n",
"n = 10 # Constant, from R_GS = (1/10)XC_GD\n",
"delta = 75*pow(10,3) # Maximum Deviation (Hz)\n",
"Vgs1 = -2 # Gate Source Voltage (V)\n",
"Vgs2 = -0.5 # Gate Source Voltage (V)\n",
"\n",
"# Calculation\n",
"import math # Math Library\n",
"Vm_rms = -(Vgs1-Vgs2)/(2*math.sqrt(2)) # RMS value of required voltage modulating voltage (V)\n",
"Cn = gm_min/(2*math.pi*f*n) # Minimum Equivalent Capacitance of FET (F)\n",
"Cx = Cn*gm_max/gm_min # Maximum Equivalent Capacitance of FET (F)\n",
"C = (Cx-Cn)*f/(4*delta)-Cn # Capacitance (F)\n",
"L = 1/(4*pow(math.pi*f,2)*C) # Inductance (H)\n",
"\n",
"# Result\n",
"print \"(a) RMS value of required modulating voltage, Vm_rms =\",round(Vm_rms,2),\"V\"\n",
"print \"(b) Capacitance, C =\",round(C/pow(10,-12)),\"pF\"\n",
"print \" Inductance, L =\",round(L/pow(10,-6),3),\"uH\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"(a) RMS value of required modulating voltage, Vm_rms = 0.53 V\n",
"(b) Capacitance, C = 27.0 pF\n",
" Inductance, L = 0.121 uH\n"
]
}
],
"prompt_number": 9
}
],
"metadata": {}
}
]
}
|