12meter Dewar monitoring
dec22
What is monitored:
The 12meter wide band receiver has a dewar monitoring
system that measures:
- 16k,70k, and case temperatures
- voltages: gate, drain, and lnadrain
- drain current
- vacuum pressure
Acquiring the data:
The data is read by a labjack data
acquisition device.
- Program to read the labjack:
- /share/megs/phil/svn/aosoft/p12m/wbrcvr/monctl/p12mrcvm.c
- binary:/share/megs/phil/svn/aosoft/bin64/p12mrcvm
- Note that binary needs to run on a computer that has
/usr/local/lib/libLabJackM.so
- The binary runs on galfas2 (started from rc.local)
- Note: till the rcvr is installed, the program is run on
megs3.
- It reads the data every 3 seconds.
- When reading the data:
- it loops 50 times on each value computing the
average.
- The output data goes to:
- /share/phildat/rcvm12m/
- current month: rcvm
- previous months: rcvm.yymm
- the current file is moved to the .yymm file at the start
of each month (if i remember:)
- A data record consists of :
- typedef struct {
char
key[4]; /* "12m" null
terminated*/
int
year; /* 2023*/
double
day; /* daynum
of year and fraction of day ast*/
float ptorr;
float
t7Temp; /* case temperature of labjack*/
float temp1;
float temp2;
float
vgate[2]; // volts
float vdrain[2];
// volts
float idrain[2];
// milli amps
float
vdrainlna[2]; // volts
} P12M_RCVMON_DATA;
- Each rec is binary (little endian) with a length of 64
bytes.
Looking at the data:
- The data can be read and displayed with the idl 12meter
rcvr monitoring routines:
- There are also standalone programs to monitor the data:
- monrcv12 - display last 5 measurements in a text
window
- uses
- rcvMonGet12.c to read the data from the current
file
- This write the ascii output to stdout
- a tclsh program grabs this data and displays it in a
window.
- monrcv12pl: graphically monitor a value from the
current day:
- monrcv12pl -h for a list of args
- It starts idl and call rm12mon to plot the data
(depending on the keywords used on the call).
Daily, monthly, and yearly plots are made
daily:
- They are run by a cron job on megs3 (under user phil)
- /share/megs/phil/x101/dwtemp12/dwtemp12daily.sc is the
script that is run by the cron job
- It is usually run at 6am each morning. There are 3 separate
plots:
- last 2 days (current and previous)
- The plots are autoscaled to min,max for each plot
- last 30 days.
- Plots have a fixed vertical scale
- data smoothed to 1 hour resolution
- year to date.
- Plots have a fixed vertical scale
- data smoothed to 1 hour resolution.
- Each page has 2 columns of 4 rows:
- upper left: 16K diode temperature (degK)
- 2nd left: 70K diode temperature (degK)
- 3rd left: labjack case temperature (degC)
- bottomLeft: Vacuum pressure (milliTorr)
- Upper Right: gate voltage: black polA, red polB (volts)
- 2nd right: Drain voltage: black polA, red polB (volts)
- 3rd right: Lna voltage: excludes voltage drop across bias
wires.
- bottom right: Drain current (milliamps). black polA, red
polB
Notes:
2022:
- 7dec22: started monitoring. receiver is in the lab.
processing: x101/dwtemp12/dwtemp12daily.pro
home_~phil