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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 7 Communication Techniques"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 7.6 Page no 304"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"Q=60\n",
"IF=455*10**3\n",
"x=680.0*10**3\n",
"\n",
"#calculation\n",
"import math\n",
"imf=x+2*(IF) #image frequency\n",
"a=(imf/x)\n",
"b=(x/imf)\n",
"c=(Q*(a-b))\n",
"d=20*math.log10(c)\n",
"\n",
"#result\n",
"print\"The image frequency is \",imf,\"Hz\"\n",
"print\"image rejection = \",round(d,3),\"dB\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The image frequency is 1590000.0 Hz\n",
"image rejection = 41.186 dB\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 7.7 Page no 314"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"NF=20.0\n",
"df=10**6\n",
"\n",
"#calculation\n",
"x=10*math.log10(df)\n",
"S=-174+NF+x\n",
"a=5 #input intercept\n",
"dr=2/3.0*(a-S)\n",
"\n",
"#result\n",
"print\"S= \",S,\"dB\"\n",
"print\"dynamic range= \",dr,\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"S= -94.0 dB\n",
"dynamic range= 66.0 dB\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 7.8 Page no 315"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"nf=5.0\n",
"x=24.0\n",
"y=20.0\n",
"\n",
"#calculation\n",
"import math\n",
"NR0=10**(nf/10.0)\n",
"NR1=10**(y/10.0)\n",
"PG1=10**(x/10.0)\n",
"NR=NR0+((NR1-1)/PG1)\n",
"NF=10*math.log10(NR)\n",
"S=-174+NF+60\n",
"a=nf-x #the system's third-order intercept point \n",
"dr=2/3.0*(a-S)\n",
"\n",
"#result\n",
"print\"NR1 = \",round(NR0,3)\n",
"print\"NR2 = \",NR1\n",
"print\"PG1= = \",round(PG1,3)\n",
"print\"NR = \",round(NR,3),\"dB\"\n",
"print\"NF = \",round(NF,3),\"dB\" #total system noise figure\n",
"print\"S = \",round(S,3),\"dBm\" #sensitivity\n",
"print\"the systems third-order intercept point is\",a,\"dB\"\n",
"print\"dynamic range = \",round(dr,1),\"dB\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"NR1 = 3.162\n",
"NR2 = 100.0\n",
"PG1= = 251.189\n",
"NR = 3.556 dB\n",
"NF = 5.51 dB\n",
"S = -108.49 dBm\n",
"the systems third-order intercept point is -19.0 dB\n",
"dynamic range = 59.7 dB\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 7.9 Page no 315"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"x=24\n",
"nf=-5\n",
"NR = 3.16+(99/10.0)\n",
"\n",
"#calculation\n",
"import math\n",
"NF = 10*math.log10(NR)\n",
"S=-174+NF+60\n",
"dr = 2/3.0*(nf-S)\n",
"\n",
"#result\n",
"print\"NR = \",NR #noise ratio\n",
"print\"NF = \",round(NF,3),\"dB\" #noise figure\n",
"print\"S = \",round(S,3),\"dBm\" #sensitivity\n",
"print\"dynamic range = \",round(dr,3),\"dB\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"NR = 13.06\n",
"NF = 11.159 dB\n",
"S = -102.841 dBm\n",
"dynamic range = 65.227 dB\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 7.10 Page no 329"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#given\n",
"x=0.40*100*10**6\n",
"y=(100*10**6/(2.0**32))\n",
"#fCLK is reference oscillator\n",
"\n",
"#result\n",
"print\"The maximum output frequency is approximately 40 percent of fCLK MAX\",x,\"Hz\"\n",
"print\"The frequency resolution is given by \",round(y,3),\"Hz\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The maximum output frequency is approximately 40 percent of fCLK MAX 40000000.0 Hz\n",
"The frequency resolution is given by 0.023 Hz\n"
]
}
],
"prompt_number": 10
}
],
"metadata": {}
}
]
}
|