40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Fri Oct 28 20:39:19 2011, MIrko, Update, LSC, RFAM monitor in place. ( Uncalibrated ) EPICS troubles MC_DC11MHz.mMC_DC29MHz.mMC_DC55MHz.mRFAMPD.c
    Reply  Sun Oct 30 14:08:35 2011, rana, Update, Electronics, RFAM monitor in place. ( Uncalibrated ) EPICS troubles 
Message ID: 5760     Entry time: Fri Oct 28 20:39:19 2011     Reply to this: 5764
Author: MIrko 
Type: Update 
Category: LSC 
Subject: RFAM monitor in place. ( Uncalibrated ) EPICS troubles 

{Suresh, Jamie, Mirko]

We adapted the Stochmon box to include LP filters at 1.8Hz behind the RMS parts.
Then measured the RMS signals for different RF signal levels at 11.0.65, 29.5, 55.325MHz provided by a RF freq. generator.
As you can see in the data below the suppression of the BP filters of neighboring frequencies is only 35-35dB in power (see also manufacturer specs).

We therefor want to substract crosstalk, by calculating it out. We decided to use C-code in CDS. No computer crashing this time :)

We however ran into the problem that the RMS signal channels are acquired by the slow (EPICS) maschine c1iool0. Channels are (C1:IOO-RFAMPD_33MHZ , -"-133MHZ, -"-166MHZ) and we could not access those in the CDS c1ioo model. Using the EpicsIn block we got an CA.Exception stating that the variable was hosted on multiple servers. We then tried to use the EzcaRead to access the variables. Got an compile error, about the compiler not beeing able to connect all parts. It seems that the EzcaRead left behind a "ghost" part in the model (something with M1:SYS-FOO_BAR which is the default naming of the EzcaRead block) even after we deleted that block. We toyed around with the /opt/rtcds/caltech/c1/chans/daq/C1EDU_IOO.ini  and  /cvs/cds/caltech/target/c1iool0/ioo.db  files. We tried to uncomment the "old" (33,133,166) channels there to get rid of the conflict, but that didn't work.

We want to write the outputs to C1:IOO-RFAMPD_11MHZ , -"-29MHZ, -"-55MHZ EPICS channels.

We had to get the model back from the svn to get it running again.

Attachment 1: MC_DC11MHz.m  529 Bytes  | Hide | Hide all
Pwr=[-60,-55,-50,-45,-40,-35,-30,-25,-20,-10,-5,0,5,10]';
Voltage11=[2.12,2.10,2.03,1.93,1.83,1.71,1.59,1.47,1.35,1.10,0.97,0.85,0.71,0.61]';

Voltage11=spline(Pwr,Voltage11,linspace(-60,10,15));
PwrSmooth=linspace(-60,10,15);

Voltage29=[2.14,2.14,2.14,2.14,2.14,2.14,2.13,2.12,2.09,1.94,1.84,1.73,1.61,1.49];
Voltage29=spline(Pwr,Voltage29,linspace(-60,10,15));

Voltage55=[2.16,2.16,2.16,2.16,2.16,2.16,2.16,2.15,2.14,2.13,2.10,2.04,1.94,1.83];
... 5 more lines ...
Attachment 2: MC_DC29MHz.m  768 Bytes  | Hide | Hide all
Pwr=[-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10]';
Voltage11=[2.16,2.16,2.16,2.16,2.15,2.16,2.15,2.13,2.10,2.03,1.93,1.81,1.70,1.58,1.46]';

Voltage29=[2.12,2.10,2.03,1.93,1.83,1.70,1.59,1.47,1.34,1.22,1.09,0.97,0.84,0.71,0.61]';

Voltage55=[2.16,2.15,2.16,2.16,2.15,2.15,2.14,2.10,2.0,1.97,1.97,1.77,1.65,1.50,1.37]';

%%  Example 55MHz inj.

Voltage11=[2.00];
... 21 more lines ...
Attachment 3: MC_DC55MHz.m  713 Bytes  | Hide | Hide all
Pwr=[-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10]';
Voltage11=[2.16,2.16,2.16,2.16,2.16,2.15,2.15,2.15,2.15,2.15,2.12,2.09,2.00,1.89,1.78]';

Voltage29=[2.14,2.14,2.14,2.13,2.14,2.13,2.11,2.06,1.98,1.88,1.76,1.64,1.52,1.40,1.27]';

Voltage55=[2.14,2.11,2.05,1.96,1.85,1.73,1.61,1.48,1.36,1.23,1.10,0.98,0.84,0.71,0.61]';

plot(Pwr,Voltage55)

%%
... 17 more lines ...
Attachment 4: RFAMPD.c  1014 Bytes  | Hide | Hide all
double x;
double y;
double z;

double temp1;
double temp2;

double Corrx;
double Corry;
double Corrz;
... 49 more lines ...
ELOG V3.1.3-