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
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
|
{
"metadata": {
"name": "",
"signature": "sha256:7a06e4236eec67757bd708fe8b0da2c40e097cf72b93ac25eb7d44065acbeff1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 12: The Space Link"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.1, Page 306"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"P=6 #Transmit power(Watts)\n",
"G=48.2 #Antenna Gain(dB)\n",
"\n",
"#Calculation\n",
"\n",
"EIRP=10*math.log10(P)+G #Equivalent isotropic radiated power(dB)\n",
"EIRP=round(EIRP)\n",
"#Result\n",
"\n",
"print \"Hence the Equivalent isotropic radiated power is\",EIRP,\"dBW\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Hence the Equivalent isotropic radiated power is 56.0 dBW\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.2, Page 306"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"import math\n",
"\n",
"#Variable Declaration\n",
"\n",
"D=3 #Antenna size(m)\n",
"f=12 #Operating Frequency(GHz)\n",
"n=0.55 #Aperture efficiency\n",
"\n",
"#Calculation\n",
"\n",
"G=n*(10.472*f*D)**2 #Antenna Gain\n",
"G=10*math.log10(G) #Converting Antenna gain to dB\n",
"G=round(G,1)\n",
"#Result\n",
"\n",
"print \"The Antenna gain with given parameters is\", G,\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The Antenna gain with given parameters is 48.9 dB\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.3, Page 308"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"r=42000 #Range between ground station and satellite\n",
"f=6000 #Frequency(MHz)\n",
"\n",
"#Calculation\n",
"\n",
"FSL=32.4+20*math.log10(r)+20*math.log10(f) #Free space loss(dB)\n",
"FSL=round(FSL,1)\n",
"#Result\n",
"\n",
"print \"The free space loss at given frequency is\", FSL, \"dB\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The free space loss at given frequency is 200.4 dB\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.4, Page 311"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable Declaration\n",
"\n",
"FSL=207 #Free space loss(dB)\n",
"RFL=1.5 #receiver feeder loss(dB)\n",
"AA=0.5 #Atmospheric Absorption loss(dB)\n",
"AML=0.5 #Antenna Alignment loss(dB)\n",
"\n",
"#Calculation\n",
"\n",
"LOSSES=FSL+RFL+AA+AML #Total link loss (dB)\n",
"\n",
"#Results\n",
"\n",
"print \"The total link loss is\", LOSSES,\"dB\"\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The total link loss is 209.5 dB\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.5, Page 312"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable Declaration\n",
"\n",
"TAn=35 # Antenna Noise Temperature(Kelvin)\n",
"TRn=100 # Receiver Noise Temperature(Kelvin)\n",
"k=1.38*10**-23 #Boltzman constant(joules)\n",
"B=36*10**6 #Bandwidth\n",
"\n",
"#Calculation\n",
"\n",
"N0=(TAn+TRn)*k #noise power density(10**-21 joules)\n",
"PN=N0*B/10**-12 #Noise power for given bandwidth(picoWatts)\n",
"\n",
"\n",
"#Results\n",
"\n",
"print \"The noise Power density is\", N0,\"Joules\"\n",
"print \"The noise power for given bandwidth is\",PN,\"pW\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The noise Power density is 1.863e-21 Joules\n",
"The noise power for given bandwidth is 0.067068 pW\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.6, Page 317"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable Declaration\n",
"\n",
"TRn=12 #Receiver Noise figure(dB)\n",
"G=40 #Gain of LNA(dB)\n",
"T0=120 #Noise temperature(Kelvin)\n",
"\n",
"#Calculation\n",
"\n",
"F=10**(TRn/float(10)) #Converting noise power to ratio\n",
"Te=(F-1)*290 #Noise Temperature of the amplifier\n",
"G=10**(G/10) #Converting Gain of LNA to ratio\n",
"Tn=T0+Te/G #Overall Noise Temperature(Kelvin)\n",
"Tn=round(Tn,2)\n",
"\n",
"#Result\n",
"\n",
"print \"The overall noise temperature is\", Tn, \"Kelvin\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The overall noise temperature is 120.43 Kelvin\n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.7, Page 319"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable Declaration\n",
"\n",
"Tant=35 #Antenna noise temperature(kelvin)\n",
"Te1=150 #Receiver noise temperature(kelvin)\n",
"L=5 #Cable Loss (dB)\n",
"T0=290 \n",
"G1=10**5 #LNA Gain\n",
"F=12 #Receiver Noise figure(dB)\n",
"\n",
"#Calculation\n",
"\n",
"L=10**(L/float(10)) #Converting L into ratio\n",
"F=10**(F/float(10)) #Converting F into ratio\n",
"Ts=Tant+Te1+(L-1)*T0/G1+L*(F-1)*T0/G1 #Noise Temperature referred to the input(Kelvin)\n",
"Ts=round(Ts)\n",
"\n",
"#Result\n",
"\n",
"print \"The noise temperature referred to the input is\",Ts,\"Kelvin\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The noise temperature referred to the input is 185.0 Kelvin\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.8, Page 320"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable Declaration\n",
"\n",
"Tant=35 #Antenna noise temperature(kelvin)\n",
"Te1=150 #Receiver noise temperature(kelvin)\n",
"L=5 #Cable Loss (dB)\n",
"T0=290 \n",
"G1=10**5 #LNA Gain\n",
"F=12 #Receiver Noise figure(dB)\n",
"\n",
"#Calculation\n",
"\n",
"L=10**(L/float(10)) #Converting L into ratio\n",
"F=10**(F/float(10)) #Converting F into ratio\n",
"\n",
"\n",
"Ts=Tant+(L-1)*T0+L*Te1+L*(F-1)*T0/G1 #Noise Temperature referred to the input(Kelvin)\n",
"Ts=round(Ts)\n",
"\n",
"#Result\n",
"\n",
"print \"The noise temperature referred to the input is\",Ts,\"Kelvin\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The noise temperature referred to the input is 1137.0 Kelvin\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.9, Page 322"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#Variable Declaration\n",
"\n",
"FSL=206 #Free space loss(dB)\n",
"APL=1 #Antenna Pointing loss(dB)\n",
"AAL=2 #Atmospheric Absorption loss(dB)\n",
"RFL=1 #Receiver feeder loss(dB)\n",
"EIRP=48 #Equivalent isotropically radiated power(dBW)\n",
"f=12 #Frequency(GHz)\n",
"GTR=19.5 #G/T ratio(dB/K)\n",
"k=-228.60 #Value of k(dB)\n",
"\n",
"#Calculation\n",
"\n",
"LOSSES=FSL+APL+AAL+RFL #Total loss(dB)\n",
"CNR=EIRP+GTR-LOSSES-k #Carrier to noise ratio(dBHz)\n",
"\n",
"#Result\n",
"\n",
"print \"The carrier to noise ratio is\",CNR,\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The carrier to noise ratio is 86.1 dB\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.10, Page 324"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"f=14 #Frequency(GHz)\n",
"Ps=-120 #Flux density required to saturate the transponder(dBW/m2)\n",
"LOSSES=2 #Propogation Losses(dB)\n",
"FSL=207 #Free-space loss(dB)\n",
"\n",
"#Calculation\n",
"\n",
"A0=-21.45-20*math.log10(f) #Effective antenna aperture(dB)\n",
"EIRP=Ps+A0+LOSSES+FSL #Equivalent isotropically radiated power(dB)\n",
"EIRP=round(EIRP,2)\n",
"\n",
"#Result\n",
"print \"The earth station EIRP required for saturation is\",EIRP,\"dBW\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The earth station EIRP required for saturation is 44.63 dBW\n"
]
}
],
"prompt_number": 10
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.11, Page 325"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#Variable Declaration\n",
"\n",
"Ps=-91.4 #saturation flux density(dBW/m2)\n",
"f=14 #uplink frequency(GHz)\n",
"GTR=-6.7 #G/T (dB/k)\n",
"BO=11 #Input Back off(dB)\n",
"k=-228.6 #Value of k(dB)\n",
"RFL=0.6 #receiver feeder loss\n",
"\n",
"#Calculation\n",
"\n",
"A0=-21.5-20*math.log10(f) #Effective antenna aperture(dB)\n",
"A0=round(A0,1)\n",
"CNR=Ps+A0-BO+GTR-k-RFL #carrier to noise ratio(dB)\n",
"\n",
"#Result\n",
"print A0\n",
"print \"The carrier to noise ratio is\",CNR,\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"-44.4\n",
"The carrier to noise ratio is 74.5 dB\n"
]
}
],
"prompt_number": 11
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.12, Page 326"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"\n",
"B=36 #Transponder Bandwidth(MHz)\n",
"CNR=22 #Carrier to noise ratio(dB)\n",
"LOSSES=200 #Total transmission losses(dB)\n",
"GTR=31 #Earth station G/T (dB/K)\n",
"k=-228.6 #Value of k(dB)\n",
"\n",
"#Calculation\n",
"B=10*math.log10(B*10**6) #Converting Bandwidth to dB\n",
"EIRP=CNR-GTR+LOSSES+k+B #Equivalent isotropically radiated power(dB)\n",
"EIRP=round(EIRP)\n",
"#Result\n",
"\n",
"print \"Satellite EIRP required is\",EIRP,\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Satellite EIRP required is 38.0 dB\n"
]
}
],
"prompt_number": 12
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.13, Page 327"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#Variable Declaration\n",
"\n",
"B=36*10**6 #Transponder Bandwidth(Hz)\n",
"R=0.2 #Roll off factor \n",
"GTR=31 #Earth station G/T(dB/K)\n",
"LOSSES=200 #Total transmission losses(dB)\n",
"k=-228.6 #Value of k(dB)\n",
"BER=10**-5 #Value of Bit error rate\n",
"EbN0R=9.6 #Value of Eb/N0 from fig.10.17\n",
"#Calculation\n",
"\n",
"Rb=2*B/(1+R) #Bit rate(sec^-1)\n",
"Rb=10*math.log10(Rb) #Converting Rb into decibels\n",
"CNR=EbN0R+Rb #Carrier to noise ratio(dB)\n",
"EIRP=CNR-GTR+LOSSES+k #Equivalent Isotropically radiated power(dBW)\n",
"Rb=round(Rb,1)\n",
"EIRP=round(EIRP,1)\n",
"\n",
"#Results\n",
"\n",
"print \"Bit rate that can be accommodated is\",Rb,\"dB\"\n",
"print \"The EIRP required is\",EIRP,\"dBW\"\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Bit rate that can be accommodated is 77.8 dB\n",
"The EIRP required is 27.8 dBW\n"
]
}
],
"prompt_number": 13
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.14, Page 328"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"\n",
"EIRP=25 #Satellite saturation value(dBW)\n",
"BO=6 #Output Backoff loss(dB)\n",
"FSL=196 #Free space loss(dB)\n",
"DL=1.5 #Downlink losses(dB)\n",
"GTR=41 #Earth station G/T(dB/K)\n",
"k=-228.6 #Value of k(dB)\n",
"\n",
"#Calculation\n",
"\n",
"CNR=EIRP-BO+GTR-FSL-DL-k #Carrier to noise ratio(dB)\n",
"\n",
"#Result\n",
"\n",
"print \"The Carrier to noise density ratio at the earth station is\",CNR,\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The Carrier to noise density ratio at the earth station is 91.1 dB\n"
]
}
],
"prompt_number": 14
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.15, Page 329"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable Declaration\n",
"\n",
"EIRP=56 #Equivalent Isotropically radiated power(dBW)\n",
"BO=6 #Output Backoff(dB)\n",
"TFL=2 #Transmitter feeder loss(dB)\n",
"GT=50 #Antenna gain(dB)\n",
"\n",
"#Calculation\n",
"\n",
"PTWTA=EIRP-GT+TFL #Power output of TWTA(dBW)\n",
"PTWTAS=PTWTA+BO #Saturated power output of TWTA(dBW)\n",
"\n",
"#Result\n",
"\n",
"print \"Power output of the TWTA required for full saturated EIRP is\",PTWTAS,\"dBW\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Power output of the TWTA required for full saturated EIRP is 14 dBW\n"
]
}
],
"prompt_number": 15
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.16, Page 332"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"\n",
"alpha=1.9 #Rain attenuation(dB)\n",
"CNR=20 #Downlink carrier to noise ratio(dB)\n",
"Tn=400 #Effective Noise temperature(Kelvin)\n",
"Ta=280 #Reference temperature(Kelvin)\n",
"\n",
"#Calculation\n",
"\n",
"alpha1=10**(alpha/10) #Converting alpha to ratio\n",
"Trn=Ta*(1-1/alpha1) #Equivalent noise temperature of rain(kelvin)\n",
"Trn=round(Trn,1)\n",
"Ts=Tn+Trn #New system noise temperature\n",
"delp=10*math.log10(Ts/Tn) #Decibel increase in noise power\n",
"CNRN=CNR-delp-alpha #Value below which CNR falls(dB)\n",
"CNRN=round(CNRN,2)\n",
"\n",
"#Result\n",
"\n",
"print \"The value below which C/N falls for 0.1 percent of time is\",CNRN,\"dB\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The value below which C/N falls for 0.1 percent of time is 17.14 dB\n"
]
}
],
"prompt_number": 16
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.17, Page 333"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"\n",
"CNR=17.4 #Clear sky input C/N (dB)\n",
"T=10 #Threshold level for FM etector(dB)\n",
"Ta=272 #Value of Ta(Kelvin)\n",
"Tscs=544 #Value of Tscs(Kelvin)\n",
"\n",
"#Calculation\n",
"\n",
"TM=CNR-T #Threshold margin at FM detector(dB)\n",
"CNR=10**(CNR/10) #Converting CNR to ratio\n",
"NCR=1/float(CNR)\n",
"\n",
"import scipy\n",
"import scipy.optimize\n",
"def f(A):\n",
" y=0.1-NCR*(A+(A-1)*Ta/Tscs)\n",
" return y\n",
"A=scipy.optimize.fsolve(f,2)\n",
"\n",
"A=10*math.log10(A) #Converting A into decibels\n",
"A=round(A)\n",
"\n",
"# Getting the value of probablity of exceeding A from the curve\n",
"\n",
"if (A==6):\n",
" P=2.5*10**-4 \n",
"else:\n",
" print \"error\"\n",
"\n",
"Av=100*(1-P) #Availability(percentage)\n",
"\n",
"#Result\n",
"\n",
"print \"The time system stays above threshold is\",Av,\"percentage\"\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The time system stays above threshold is 99.975 percentage\n"
]
}
],
"prompt_number": 17
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.18, Page 336"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#Variable Declaration\n",
"\n",
"Nu=100 #Noise spectral density for uplink(dBHz)\n",
"Nd=87 #Noise spectral density for downlink(dBHz)\n",
"\n",
"#Calculation\n",
"\n",
"N0CR=10**(-Nu/10)+10**(-Nd/10) #Noise to carrier ratio\n",
"CNR=-10*math.log10(N0CR) #Combined c/N0 ratio(dBHz)\n",
"CNR=round(CNR,2)\n",
"#Result\n",
"\n",
"print \"The combined carrier to noise ratio is\",CNR,\"dBHz\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The combined carrier to noise ratio is 89.59 dBHz\n"
]
}
],
"prompt_number": 18
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.19, Page 337"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"#Variable declaration\n",
"\n",
"#For uplink\n",
"\n",
"Ps=-67.5 #Saturation flux density(dB)\n",
"A0=-37 #Antenna aperture at 6GHz(dB)\n",
"IBO=-11 #Input Backoff(dB)\n",
"GTRs=-11.6 #Satellite saturation G/T (dB)\n",
"k=-228.6 #Value of k(dB)\n",
"\n",
"#For Downlink\n",
"\n",
"EIRP=26.6 #Satellite EIRP(dB)\n",
"OBO=-6 #output Backoff(dB)\n",
"FSL=-196.7 #Free Space loss(dB)\n",
"GTRe=40.7 #Earth station G/T(dB)\n",
"\n",
"#Calculation\n",
"\n",
"CNRu=Ps+A0+IBO+GTRs-k #Carrier to noise ratio for uplink(dB)\n",
"CNRd=EIRP+OBO+FSL+GTRe-k#Carrier to noise ratio for downlink(dB)\n",
"N0CR=10**(-CNRu/10)+10**(-CNRd/10) #Noise to carrier ratio\n",
"CNR=-10*math.log10(N0CR) #Combined c/N0 ratio(dBHz)\n",
"CNR=round(CNR,2)\n",
"#results\n",
"\n",
"print \"The Carrier to noise ratio for uplink is\",CNRu,\"dB\"\n",
"print \"The Carrier to noise ratio for downlink is\",CNRd,\"dB\"\n",
"print \"The combined carrier to noise ratio is\",CNR,\"dBHz\"\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The Carrier to noise ratio for uplink is 101.5 dB\n",
"The Carrier to noise ratio for downlink is 93.2 dB\n",
"The combined carrier to noise ratio is 92.6 dBHz\n"
]
}
],
"prompt_number": 19
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 12.20, Page 338"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable Declaration\n",
"\n",
"CNRu=23 #carrier to noise ratio for uplink(dB)\n",
"CNRd=20 #carrier to noise ratio for downlink(dB)\n",
"CNRm=24 #carrier to noise ratio for intermodulation(dB)\n",
"\n",
"#Calculation\n",
"\n",
"NCR=10**(-CNRu/float(10))+10**(-CNRd/float(10))+10**(-CNRm/float(10)) #Combined Noise to carrier ratio\n",
"\n",
"\n",
"CNR=-10*math.log10(NCR) #Combined carrier to noise ratio(dB)\n",
"CNR=round(CNR,2)\n",
"#Result\n",
"\n",
"print \"The combined carrier to noise ratio is\",CNR,\"dB\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The combined carrier to noise ratio is 17.21 dB\n"
]
}
],
"prompt_number": 20
}
],
"metadata": {}
}
]
}
|