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
|
{
"metadata": {
"name": "",
"signature": "sha256:ee7d80ecb4663168394a1a558769dfa112d29db92a494569a7cd8e5de95a8ba8"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"CHAPTER 5 - Cellular antenna system design considerations"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.1 - PG NO.133"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no.133\n",
"op=15.\n",
"l=2.\n",
"n=2.\n",
"l1=n*l#connector loss\n",
"l2=3.#coaxial cable loss\n",
"tl=l1+l2#total loss\n",
"ip=op-tl#input=output-total loss\n",
"print '%s %s %d %s' %('signal level at the i/p of the antenna is =','+',ip,'dBm')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"signal level at the i/p of the antenna is = + 8 dBm\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.2 - PG NO.136"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no. 136\n",
"import math\n",
"ci=18.\n",
"CI=10.**((ci)/10.)\n",
"q=(6*(CI))**0.25\n",
"K=math.ceil(q*q/3)#cluster size\n",
"print'%s %d' %('minimum cluster size is K =',K)\n",
"k=7\n",
"q1=math.sqrt(3*k)\n",
"c1i1=q1**4/6\n",
"C1I1=10*math.log10(c1i1)\n",
"if (C1I1<20):\n",
"\tprint('cluster size cannot meet the desired C/I requirement')\n",
"\tC2I2=10**(20/10)\n",
"\tq2=(6*C2I2)**0.25\n",
"\tk1=math.ceil((q2)**2/3)\n",
"\tprint'%s %d' %('nearest valid cluster size is K =',k1)\n",
"else: \n",
"\tprint('cluster size determined is adequate')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"minimum cluster size is K = 7\n",
"cluster size cannot meet the desired C/I requirement\n",
"nearest valid cluster size is K = 9\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.4 - PG NO.139"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no. 139\n",
"import math\n",
"Y=4.#path loss exponent\n",
"N=6.\n",
"\n",
"K=7.\n",
"q=math.sqrt(3.*K)\n",
"CI=(2.*(q-1.)**(-Y)+2.*q**(-Y)+2.*(q+1.)**(-Y))**(-1.)#C/I for omnidirectional operating cell\n",
"CIdB=10.*math.log10(CI)\n",
"print'%s %d %s' %('co-channel interfernce ratio C/I for K=7 is =',CIdB,'dB')\n",
"\n",
"K1=9.\n",
"q1=math.sqrt(3.*K1)\n",
"CI1=(2.*(q1-1.)**(-Y)+2.*q1**(-Y)+2.*(q1+1.)**(-Y))**(-1.)\n",
"CI1dB=10.*math.log10(CI1)\n",
"print'%s %.1f %s' %('co-channel interfernce ratio C/I for K=9 is =',CI1dB,'dB')\n",
"\n",
"K2=12.\n",
"q2=math.sqrt(3.*K2)\n",
"CI2=(2.*(q2-1.)**(-Y)+2.*q2**(-Y)+2.*(q2+1.)**(-Y))**(-1.)\n",
"CI2dB=10.*math.log10(CI2)\n",
"print'%s %.1f %s' %('co-channel interfernce ratio C/I in dB for K=12',CI2dB,'dB')\n",
"\n",
"\n",
"if (CIdB<18) :\n",
"\tprint('K=7 is imperfect')\n",
"else :\n",
"\tprint('K=7 is perfect')\n",
"#end\n",
"\n",
"if (CI1dB<18):\n",
"\tprint('K=9 is imperfect')\n",
"else: \n",
"\tprint('K=9 is perfect')\n",
"#end\n",
"\n",
"if (CI2dB<18) :\n",
"\tprint('K=12 is imperfect')\n",
"else: \n",
"\tprint('K=12 is perfect')\n",
"#end\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"co-channel interfernce ratio C/I for K=7 is = 17 dB\n",
"co-channel interfernce ratio C/I for K=9 is = 19.8 dB\n",
"co-channel interfernce ratio C/I in dB for K=12 22.5 dB\n",
"K=7 is imperfect\n",
"K=9 is perfect\n",
"K=12 is perfect\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.5 - PG NO.142"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no.142\n",
"import math\n",
"N=2.\n",
"Y=4.\n",
"K=7.\n",
"q=math.sqrt(3*K)\n",
"CI=((q**(-Y)+(q+0.7)**(-Y)))**(-1)#C/I for 3-sector\n",
"CIdB=10*math.log10(CI)\n",
"print'%s %.1f %s' %('worst case signal to co-channel interfernce ratio C/I is =',CIdB,'dB')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"worst case signal to co-channel interfernce ratio C/I is = 24.5 dB\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.6 - PG NO.143"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no.143\n",
"import math\n",
"N=2\n",
"Y=4\n",
"K=4\n",
"\n",
"q=math.sqrt(3*K)\n",
"CI=((q**(-Y)+(q+0.7)**(-Y)))**(-1)#C/I for 3-sector\n",
"CIdB=10*math.log10(CI)\n",
"print'%s %d %s' %('worst case C/I is',round(CIdB),'dB')\n",
"if CIdB>18 :\n",
"\ta= CIdB-6\n",
"\tif a>18 :\n",
"\t\tprint('K=4 is adequate system as C/I is still geater than 18dB after considering the practical conditions with reductions of 6dB ')\n",
"\n",
"\telse :\n",
"\t\tprint('K=4 is inadequate system as C/I is smaller than 18dB after considering the practical conditions with reductions of 6dB ')\n",
"\t#end\n",
"\n",
"else: \n",
"\tprint('K=4 is inadequate system as C/I is less than the minimum required value of 18dB ')\n",
"#end\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"worst case C/I is 20 dB\n",
"K=4 is inadequate system as C/I is smaller than 18dB after considering the practical conditions with reductions of 6dB \n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.7 - PG NO.145"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no.145\n",
"import math\n",
"N=1.\n",
"Y=4.\n",
"K=7.\n",
"q=math.sqrt(3.*K)\n",
"CI=((q+0.7)**(-Y))**(-1.)#C/I for 6-sector\n",
"CIdB=10.*math.log10(CI)\n",
"print'%s %d %s' %('signal to co-channel interfernce ratio C/I is =',round(CIdB),'dB')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"signal to co-channel interfernce ratio C/I is = 29 dB\n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.8 - PG NO.146"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no. 146\n",
"import math\n",
"N=1.\n",
"Y=4.\n",
"K=4.\n",
"q=math.sqrt(3.*K)\n",
"CI=((q+0.7)**(-Y))**(-1)#C/I for 6-sector\n",
"CIdB=10.*math.log10(CI)\n",
"print'%s %.2f %s' %('signal to co-channel interfernce ratio C/I is =',CIdB,'dB')\n",
"\n",
"if CIdB>18 :\n",
"\ta= CIdB-6\n",
"\tif a>18:\n",
"\t\tprint('K=4 is adequate system as C/I is still geater than 18dB after considering the practical conditions with reductions of 6dB ')\n",
"\n",
"\telse :\n",
"\t\tprint('K=4 is inadequate system as C/I is smaller than 18dB after considering the practical conditions with reductions of 6dB ')\n",
"\t#end\n",
"\n",
"else: \n",
"\tprint('K=4 is inadequate system as C/I is less than the minimum required value of 18dB ')\n",
"#end\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"signal to co-channel interfernce ratio C/I is = 24.78 dB\n",
"K=4 is adequate system as C/I is still geater than 18dB after considering the practical conditions with reductions of 6dB \n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.9 - PG NO.146"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no.146\n",
"CIdB=15.\n",
"CI=10.**(CIdB/10.)\n",
"q=(6.*(CI))**0.25\n",
"K=q*q/3.\n",
"\n",
"\n",
"if K >4:\n",
" K=7.\n",
"print'%s %d' %('optimum value of K for an omnidirectional antenna design is K =',K)\n",
"q1=(CI**0.25-0.7)\n",
"k=q1*q1/3.\n",
"\n",
"\n",
"if k<3: \n",
"\tk=3\n",
"#end\n",
"\tprint'%s %d' %('practical value of K for 6-sector 60deg. directionl antenna design is K =',k)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"optimum value of K for an omnidirectional antenna design is K = 7\n",
"practical value of K for 6-sector 60deg. directionl antenna design is K = 3\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"EXAMPLE 5.10 - PG NO.148"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#page no. 148\n",
"N=312.\n",
"K=7.\n",
"Nspc=3.\n",
"Ntcpc=N/K\n",
"Ntcps=Ntcpc/Nspc#number of traffic channels per sector\n",
"print'%s %.f' %('number of traffic channels per sector for System A is =',Ntcps)\n",
"\n",
"N1=312.\n",
"K1=4.\n",
"Nspc1=6.\n",
"Ntcpc1=N1/K1\n",
"Ntcps1=Ntcpc1/Nspc1#number of traffic channels per sector\n",
"print'%s %.f' %('number of traffic channels per sector for System B is =',Ntcps1)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"number of traffic channels per sector for System A is = 15\n",
"number of traffic channels per sector for System B is = 13\n"
]
}
],
"prompt_number": 9
}
],
"metadata": {}
}
]
}
|