Attachment 'SNR.m'

Download

   1 % This script calculates the SNR along the line that goes from the crystal
   2 % oscilaltor to the EOM of the 40 Upgrade RF plan.
   3 % It is intended for the RF plan as shown in the yEd schematic;
   4 
   5 s = [];
   6 n = [];
   7 gdB = [0 -1 8 -3.5 -3 7 -15 11 -3.5 -1.5 28.5];
   8 nf = [];
   9 numelements = 11;
  10 
  11 nf = zeros(numelements,1);
  12 nf(3) = 1.5;
  13 nf(8) = 7.5;
  14 nf(10) = 9;
  15 
  16 nf = 10.^(nf/10);
  17 
  18 s(1) = dBmtoWatts(13);
  19 n(1) = dBmtoWatts(-170 + 10*log10(s(1)*1e3));
  20 
  21 g = 10.^(gdB/10);
  22 
  23 Ptn = 4*1.38e-23*290*1e3;     % thermal noise power from a 50Ohm resistor
  24 
  25 for i = 2 : numelements
  26     s(i) = g(i) * s(i-1);
  27     n(i) = g(i) * ( n(i-1) + nf(i) * Ptn );
  28 end
  29 
  30 sdBm = Watts2dBm(s)'
  31 ndBm = Watts2dBm(n)'
  32 snrdBc = sdBm - ndBm

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-10-21 21:38:47, 168.6 KB) [[attachment:40mPDs.pdf]]
  • [get | view] (2009-10-21 21:41:18, 200.5 KB) [[attachment:40mUpgrade_PDlists.pdf]]
  • [get | view] (2010-03-08 03:59:04, 93.3 KB) [[attachment:AS55_modified_schematic.pdf]]
  • [get | view] (2010-04-08 00:06:43, 86.2 KB) [[attachment:AbbottC30642.pdf]]
  • [get | view] (2010-04-15 19:15:50, 9.6 KB) [[attachment:AmplifierNoiseFigure.pdf]]
  • [get | view] (2010-03-06 01:44:03, 145.2 KB) [[attachment:C3064XGH.pdf]]
  • [get | view] (2010-03-06 01:56:43, 228.8 KB) [[attachment:D000455-00.pdf]]
  • [get | view] (2010-03-08 04:04:24, 47.7 KB) [[attachment:DalePDBox.pdf]]
  • [get | view] (2010-03-09 03:41:34, 51.3 KB) [[attachment:LIGOD990511.pdf]]
  • [get | view] (2010-03-08 03:39:10, 93.2 KB) [[attachment:POX11_modified_schematic.pdf]]
  • [get | view] (2010-03-08 03:39:24, 93.2 KB) [[attachment:POY11_modified_schematic.pdf]]
  • [get | view] (2010-03-08 03:55:39, 93.3 KB) [[attachment:REFL55_modified_schematic.pdf]]
  • [get | view] (2010-09-15 01:07:20, 3378.6 KB) [[attachment:RFsystemDocument]]
  • [get | view] (2010-09-07 19:08:02, 30.4 KB) [[attachment:RFsystem_plant_VISIO.pdf]]
  • [get | view] (2010-09-07 19:07:50, 82.1 KB) [[attachment:RFsystem_plant_VISIO.png]]
  • [get | view] (2010-01-05 00:20:49, 0.7 KB) [[attachment:SNR.m]]
  • [get | view] (2010-03-06 01:48:51, 4226.4 KB) [[attachment:cat_photodetection.pdf]]
  • [get | view] (2010-03-08 03:25:29, 93.2 KB) [[attachment:refl11_modified_schematic.pdf]]
  • [get | view] (2010-03-08 02:28:58, 1.6 KB) [[attachment:rfpd11.fil]]
  • [get | view] (2010-03-08 02:27:02, 52.1 KB) [[attachment:rfpd11_TF_and_noise.pdf]]
  • [get | view] (2010-03-08 03:49:51, 1.6 KB) [[attachment:rfpd55.fil]]
  • [get | view] (2010-03-08 03:50:05, 52.9 KB) [[attachment:rfpd55_TF_and_noise.pdf]]
  • [get | view] (2009-11-24 19:07:23, 9.7 KB) [[attachment:yEd_RFplan.html]]
  • [get | view] (2009-11-24 19:01:10, 27.4 KB) [[attachment:yEd_RFplan.png]]
  • [get | view] (2009-11-24 19:09:15, 0.8 KB) [[attachment:yEd_RFplan_flash.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.