# Difference between revisions of "Calibration Overview"

## Introduction

This document provides an overview about how calibrations could be performed with EOVSA, and what the implications are for monitor, control, pipeline and analysis software. Here is a summary table, followed by more detailed discussions.

Summary of EOVSA Calibrations*
Calibration Category Calibration Detail When Calibrated Calibration Analysis Results used by Criticality
Pointing Calibration Correcting ant pointing errors Occasional Offline Control System High
System Gain Calibration Correcting attenuator gain change Occasional Offline DPP Stage-2 High
Accounting for non-linearity Occasional Offline DPP Stage-2 Normal
• Reproduced from Gordon Hurford’s list of calibrations (v2010-Nov-16) -- BC,

## Pointing Calibration

Pointing calibration is antenna-based (has to be done separately for each antenna), and entails an initial determination of pointing errors to create a set of pointing correction coefficients, followed by periodic checks of pointing and possible updating of coefficients as necessary. For KSRBL, initial pointing determination was done optically by mounting an 80 mm optical telescope and small CCD camera on the dish, and doing a single 1-night set of measurements of star fields. This provided excellent determination of correction coefficients around the sky, leaving a simple az-el offset to be determined by solar pointing (because the optical and radio axes were not guaranteed to be parallel). The analysis of the set of optical measurements was complicated, but could and should be automated. However, the assumption is that this only has to be done once during initial commissioning of an antenna. The determination of the az-el offset is then accomplished by a single determination of the solar radio disk position. Note that there will be differences in the radio beam position vs. frequency, so any determination of solar disk position will vary with frequency and must be optimized in some way, probably weighted to the highest frequencies, which have the smaller beam.

Once the pointing coefficients and offset are determined, they can be optimized and updated periodically by a pointing calibration, and it is that calibration that is further described here. There are several options: (1) determination of the offsets of the solar radio disk (requires the Sun, and may be skewed by active regions—also limited to a single declination), (2) determination of the position of other bright objects such as satellites (valid only at discrete frequencies where such satellites are broadcasting), and (3) interferometric pointing on cosmic sources or planets using one or both of the 27-m dishes. Each of these has merits, and all will likely be implemented.

### Solar Pointing Calibration

This is based primarily on the scheme developed for KSRBL (Dou et al. 2009, PASP, 121, 512). The pointing offsets for all antennas can be determined simultaneously, and as a function of frequency, by offsetting each antenna in a cross pattern and measuring the total power spectrum. This provides multiple useful parameters: (i) frequency-dependent pointing offsets, which can be surprisingly large, and are necessary for primary beam corrections to all interferometer amplitudes, (ii) direct measurement of the primary beam size and shape, and (iii) a check on overall total power gain calibration relative to that determined interferometrically on cosmic sources.

This type of pointing can be done quickly (in less than 20 minutes for KSRBL, possibly much faster if we can devise an antenna control scheme that provides accurate scans) and may even be done daily. It does take time from solar observing. Note that an alternative is to take an antenna out of the array and do the pointing scan in a separate subarray while the rest of the array continues observing. A special antenna control sequence (trajectory) would be implemented, along with standard analysis software independent of the pipeline (since it is only total power). The analysis could be part of the monitor/control system, or offline, depending on how regularly it is done and how integral the results are to the overall calibration. This is TBD.

### Satellite Pointing Calibration

It is possible to track satellites across the sky and apply offsets relative to the tracked position in order to do total power pointing measurements. This unfortunately can be done only at a few spot frequencies, and may be too limiting to be useful. Communication satellites are good for this purpose, but are largely geostationary and often too close together, which severely limits their usefulness. Navigation satellites such as GPS have excellent sky coverage, but GPS operates only at very low frequencies where the primary beam is large, so it remains to be seen whether pointing measurements at such low frequencies can be done precisely enough to be useful. There may be a few other satellites that broadcast at higher frequencies. Given the limited resources, it seems wise to defer consideration of this type of calibration unless and until it becomes clear that it is actually needed.

### Interferometric Pointing Calibration

Should it be necessary to obtain radio-measured pointing coefficients over the whole sky, only interferometric calibration can work given the lack of sufficiently bright sources for total power calibration. Interferometric calibration will require at least one baseline with a 27-m antenna and a 2-m antenna, and is done by pointing the 27-m antenna at a strong cosmic or planetary source and then pointing the 2-m antenna is a cross pattern similar to the technique used in solar pointing calibration. The phase center tracks the source, and the position of the peak of the interferometer amplitude will provide the pointing offsets. In contrast with solar pointing, which can be done with individual frequency sub-channels, it is likely that the sensitivity of the measurement will limit the measurement to integrated 500 MHz bands. Thus, interferometric calibration will not be very useful for frequency-dependent pointing measurements like the solar pointing, but will be useful for determining some average offset as a function of position over the sky, which is all that is needed for determining the pointing coefficients. This has the advantages of (i) not requiring the Sun, so does not impact time on the Sun, and (ii) obtains pointing offsets over the entire sky rather than being limited to a single declination. Because it uses interferometric results, it will have to come through the correlator and DPP. The analysis would have to be part of the pipeline, or else be done offline.

Summary Table of Pointing Calibration Options
Calibration Type Impacts Solar Observing? Products Uses Control Requirements Analysis Requirements Priority
Solar pointing Yes (i) Pointing offset spectrum
(ii) Primary beam size
(iii) Solar total power spectrum
(i) Determine pointing corrections at single declination; also amplitude gain coefficients
(ii) Amplitude gain
(iii) Solar flux calibration
Antenna trajectory control Total power analysis could be offline Essential
- best way to get total power gain vs. frequency
Satellite pointing No Pointing offset at a few frequencies All sky pointing Correction Antenna trajectory control Total power analysis in small range of relevant frequencies Defer
Interferometric pointing No Pointing offset spectrum at 500 MHz resolution All sky pointing correction Antenna trajectory control Pipeline or offline interferometry Desirable/Needed

## System Gain Calibration (incomplete)

This refers to the periodic (daily?) determination of several system parameters affecting the total power gain: (i) Attenuator nominal values, (ii) noise diode increment, (iii) total power non-linearity. These are simultaneously determined by cycling through all attenuator settings, once with noise diode off and again with noise diode on, and recording the total power level (separately for each antenna). The exact scheme to be followed depends on the system design. This figure summarizes all the gain control "knobs" in the analogue and digital system.

EOVSA Gain Control "Knobs"

[things below are probably outdated (BC)]

This attenuation scheme uses the Day/Night calibrator as a single setting, while the others are variable in 1 dB steps. The Day/Night attenuator difference of 17 dB is probably too much. The solar variation attenuator in the front end applies to the entire 1-18 GHz RF band, and sets the overall power level to keep the optical link in its linear range. Note that strong fluctuations in a narrow band (e.g. spike bursts) will have less effect when integrated over the entire RF band, so changes to this attenuator should normally be slow and steady during solar bursts. In the back end, the attenuation is applied in the IF (650-1150 MHz) chain. The first attenuator is for leveling the receiver in the absence of bursts. Once leveled, the settings for each receiver will vary with IF band, but will be fixed in time. The second attenuator is for maintaining the output level during solar bursts, and it is this attenuator that will need to be controlled on a relatively fast timescale. Each attenuator will need to have each of its steps calibrated. The two back end attenuators will be in a single integrated assembly, and are best measured offline using test equipment. Assuming adequate temperature control, they should be stable, and changes would indicate a failure of the assembly. Thus, a maintenance test can be conducted periodically to check their values, but it should not be necessary to have a daily gain calibration procedure that checks every IF attenuation setting.

We therefore assume that only the two front-end attenuators will be checked, through a gain calibration procedure, on a regular basis. Will it be necessary to do the procedure in different IF bands, to check for frequency-dependent variations in attenuation? If such variations can be characterized once in the lab, it may be possible to do the measurement in a single, RFI-free band chosen as the standard one for the measurement.

### Observational Procedure

In the current OVSA gain calibration scheme, the antennas are pointed at blank sky and the RF attenuation is switched to each setting in turn, switching the noise diode on and off during the measurement. Each IF band is also measured, but the results are combined to give a single attenuation value for each setting, i.e. no frequency-dependent variations are considered. Note that for the current OVSA it is possible to insert so much attenuation (55 dB) that the front-end signal can be assumed to be zero, allowing for receiver offsets to be determined. The maximum attenuation in Fig. 2 is only 36 dB (less if the Day/Night attenuator is reduced).

## Reference Complex Gain Calibration

Reference complex gain calibration refers to determining the "system" amplitude and phase with high precision as a function of IF band (i.e. integrated over each 500 MHz IF band). The idea is that an observation of a calibrator for phase calibration, when corrected by the reference phase calibration, will yield a linear phase slope as a function of frequency, so that only the phase slope measurement is required for the calibration solution.

### Observational Procedure

Given the speed with which a bandpass calibration (section 3) can be obtained, and the basic similarity between that and the reference calibration, the same basic observational approach can be taken, and only the analysis differs in some details. For integration over 500 MHz, the entire reference calibration can be done on 3C84 in 34 bands, at 50:1 signal to noise ratio, in less than 60 s on large-small baselines. However, it is wise to measure the reference complex gain on all baselines and seek a traditional gain solution. For small-small baselines, equation (2) becomes:

This permits a 10:1 signal to noise measurement on 3C84, integrated over the 500 MHz IF band, in about 100 s. A one-hour reference calibration would yield a 50:1 signal to noise measurement on small-small baselines. Note that the 3C84 flux density spectrum has to be calibrated by reference to a calibrator standard, either 3C286 or 3C48. Both are weaker than 3C84, but only the large-small baselines are needed, so determining the 3C84 spectrum can be done in a very short time, of order 10 minutes.

### Analysis Procedure

It would be fruitful to analyze separately the large-small baselines (as in section 3.2, above) to get a reference gain calibration, and the small-small baselines to get an independent calibration by traditional means, and compare. If the two are identical, then the time-consuming measurement of the small-small baselines can be abandoned except as a check on system performance. Reasons they may be different would be related to the correlation efficiency and correlator malfunction, or possibly software errors in the DPP.

## Daily Phase Calibration

This refers to the periodic measurements of phase calibrators during the day, and needs to be done only on the large-small baselines. A calibrator is chosen relatively nearby to the Sun, so that the local sky conditions are sampled. After correcting for the reference calibration, the phases should form a linear phase slope with frequency. The task of the daily calibration is to obtain this phase slope as a function of time in order to permit two-point interpolation of the phase correction for intervening solar data. Note that it should not be necessary to obtain the phase in every band, unless the phase slope proves to be nonlinear. Therefore, the phase slope can be determined over a relatively restricted range of frequencies, to avoid the problem of the widely different primary beam vs. frequency. With OVSA we observe between about 2.8 – 10 GHz.

### Observational Procedure

A cosmic point source nearby to the Sun will be chosen by some automated means, and once per hour or so the array will automatically slew to the source, take data for a set amount of time sufficient for good signal to noise on selected bands, and then go back to the Sun. The distance to slew will vary depending on what frequency range is chosen for calibration, and the nearness of a suitable calibrator. Point source calibrators brighter than 4 Jy are shown in Fig. 1, from Stephen White’s FASR memo on source counts.

Figure 1: Positions in the sky of point source calibrators > 4 Jy at 4.5 GHz (left) and 8.0 GHz (right). The path of the Sun +/- 20 degrees is shown. At all times there are suitable calibrators within 45 degrees of the Sun. It appears that there are plenty of sources available, with worst case slew distances of about 45 degrees. With a slew speed of 30 degrees per minute, the time off Sun is maximum 3 minutes + time on source. With a 500 MHz bandwidth, it is possible to obtain 20:1 signal to noise in each of 10 IF bands in <50 s. We also note that, although the spec of the 27-m dishes is only 18 degrees/minute, it should be possible to have them tracking the calibrator continuously. Thus, we can make a 20:1 measurement in about 5 minutes, which should permit calibrations every hour if needed.

### Analysis Procedure

This calibration observation will require a specially written routine, or perhaps a script, that will average the data over the relevant 500 MHz IF bands (say 10 different bands between 2.5 and 10 GHz) on the large-small baselines, apply the reference calibration, and fit phase slopes to all of the “phase spectra.” For large antennas designated a, b and small antenna n, the phases should close, i.e. , and certainly the phase slope should be forced to close. Assuming 27-m antenna a is the reference antenna, the phase slope to apply to antenna n is that fitted to the a-n baseline. The calibration should be analyzed by the pipeline immediately after the calibration is finished, so that its results can be applied immediately during the following solar scan.

## Delay Center Calibration

Delay center calibration involves sweeping the delays around their nominal value while observing a strong source interferometrically, in order to determine the optimum setting for the delays. For OVSA, the optimum delay is determined by a peak in the amplitude on a particular baseline, whereas for EOVSA it will more likely be done by flattening the phase response across the bandpass. For EOVSA, the current plan is to implement delays in the correlator, so sweeping the delays would be implemented there.

### Delay Tracking

It is useful to look at some issues related to delay tracking (ref. the A. R. Thompson FASR memo, “FASR_Delay_Fringe_Phsw.pdf”). For the currently considered design, the ADCs will operate at a clock rate of 1200 MHz, or sample time s = 0.833 ns, so coarse delays of that step-size will be trivial to implement using a shift register. In tracking the delay, we would change the delay when the delay error is, say, +½ s, making it then ½ s, so this is the maximum delay error. It is interesting that the bandwidth and the sample time are not independent, but rather obey the Nyquist criterion s = 1/(2), so that s = ½. Assuming that the IF band ranges from 0 to  (600 MHz in our case) the maximum phase slope across the band, for delay error , is  = 2 = /2, where  = ½s was used. Therefore, the highest IF frequency channel’s phase will vary linearly with time between /2 and /2. The rate of delay obeys the equation

where  = 7.27×105 rad/s is the rotation rate of the Earth, B is the baseline length (maximum about 1.5 km), and h is the hour angle. The maximum rate is then about 0.364 ns/s, so for s = 0.833 ns we would have to step the delay once every 2.29 s for the worst case. To keep the phase of the highest channel within 1 degree, the phase correction must be updated every 2.29 s/90 = 25 ms. It appears that this worst case can be adequately handled by correcting the phase at the output of the correlator, after the 20 ms accumulation. Note also that inserting the delays in the IF causes fringe rotation (natural fringes) at a maximum fringe rate f = (0.364 ns/s)(18 GHz) = 6.6 Hz. Averaging over a time av = 20 ms results in an amplitude given by sinc(fav) = 0.97 in the worst case (18 GHz, at noon, on the longest baseline). This suggests that we might get away with applying fringe stopping at the output of the correlator as well, with a possible small amplitude correction applied. UPDATE: The correlator coarse delays will be set only on a 1 s tick, therefore the delay can be an extra ½ s early or late, giving an error in the worst case of ±0.598 ns (this is ±0.416 ns ± (½ s) (0.364 ns/s), or ±0.72s).

### Observational Procedure

The procedure for taking delay center calibration data is to track any strong interferometric point source and sweep the coarse delays in a TBD manner (i.e. track the geometric delay and apply a delay offset, and sweep the offset over some window , from – /2 to  /2) so that the phase slope across an IF band (after the corrections described above for nominal phase slope and fringe rotation) can be obtained. The delay that results in the flattest slope is the correct one. An alternative is to vector average the data over the IF band and maximize the amplitude, which would be a more sensitive measure, but could be adversely affected by RFI. This works for any band, so it should be possible to find an RFI-free band where the chosen point source is strongest. Note that the delays are antenna-based, so they have to be swept differentially (it is the difference in delay between antennas that matters). When using a cosmic source, it is enough to set one of the 27-m antennas as the reference antenna and sweep the delays of each of the others simultaneously, but an alternative is to sweep the two 27-m delays in opposite directions so that all large-small baselines can be examined separately. It is probably worthwhile to check the delays on an isolated solar active region, when available, so that small-small baseline delays can be examined. No doubt there is a clever algorithm to make sweeping of delays most efficient, so that multiple delay centers can be determined simultaneously. The duration of the calibration observation will be set by the integration time needed for an acceptable RMS deviation for the individual measurements at each delay step, and the number of steps over which the delay is swept. The delay center should be very stable, and once determined only changes to hardware or physical cables should occasion the need for remeasuring the delays. UPDATE: We have learned that on restarting a ROACH board it comes up with an indeterminate 4s ambiguity in delay due to the sampling (ADC) clock being 4 times the FPGA clock. This means that WHENEVER A ROACH IS REBOOTED a new delay calibration is needed. A suggested methodology is to go to the Sirius XM Blues geosynchronous satellite at 115 W longitude and observe its S band (2332.5-2345.0 MHz) transmission, to determine the optimum delay by minimizing the phase slope. It will not be necessary to sweep the delay for this, however. The phase slope over 12.5 MHz will be 3.75n degrees, where n (ranging from -3 to 3 in units of s) is the number of steps by which the delay center has changed since the previous measurement. A special pipeline procedure would be created to do the analysis and update the delay center tables.

### Analysis Procedure

In the case of delay calibration on a cosmic source with the 27-m antennas, a full delay calibration will result in 2(N 2) + 1 measurements (27 for N = 15) to determine N 1 (14 for N = 15) delays (one reference antenna is set to zero delay). The set of over-determined measurements can be used to find a least-squares solution. If only one delay needs to be determined (due, for example, to a hardware change affecting only one antenna), then a subarray with the one 2-m antenna and two 27-m antennas can be used, and only the affected antenna needs to be swept, resulting in 2 measurements to determine one delay. Nevertheless, it is probably good practice to measure all of the delays on some periodic schedule. In the case of delay calibration on a solar active region, with no 27-m antennas, both the delay control and analysis are more complicated.

## Bandpass Calibration

Bandpass calibration refers to determining the relative complex gain and offset (system noise) as a function of subchannel across an IF band. It is measured on each large-small baseline interferometrically by observing a bright point source and integrating to obtain suitable signal-to-noise for a reliable measurement. We note that measuring the bandpass using small-small baselines is out of the question due to the low sensitivity on those baselines. The data are then analyzed to determine the resulting antenna-based complex gains. Offsets are determined by inserting full attenuation off-source, and could be considered a separate calibration, although it should be performed at the time of the bandpass calibration. Note that bandpass calibration must be measured separately for each IF band. Things that affect the bandpass are gain slopes due to frequency-dependent components/cables, higher-order ripples due to standing waves, and IF bandpass filter shape. If standard science bandwidths are used, the bandpass calibration could be done by integrating over the science subbands, to improve signal-to-noise and shorten the required duration of the observation. To maximize signal-to-noise, only large-small baselines (those with one 27-m antenna and one 2-m antenna) will be used.

### Observational Procedure

The entire array tracks a bright cosmic source, one IF band at a time, integrating on each band until good signal-to-noise is achieved. The procedure is repeated for each of the 34 bands. The sensitivity per polarization of a single baseline is given by , (1) where Tsys,i and Di are the system temperature (K) and diameter (m) of the ith element, and an antenna efficiency of 0.5 has been assumed. If the system temperature of the cooled 27-m receivers is 30 K, and that of the 2-m receivers is 400 K, this is . (2) Using 1 MHz subchannel width, it will take about 23 s to do single IF bandpass calibration with 10:1 signal to noise ratio on 3C84 (assuming 20 Jy flux density). Probably the higher frequency bands will have lower signal to noise, so will take longer, but these are also the bands with the wider science bandwidths. A 50:1 signal to noise ratio measurement (rms phase error about 1.1 degree) on all 34 bands can be done in 6 hours.

### Analysis Procedure

The Data are calibrated to correct for pointing offsets vs. frequency (obtained from Pointing Calibration, see 1 above), and the set of amplitudes and phases on each large-small baseline are obtained. Denoting the large antennas as a, b, and the nth small antenna as n, the antenna-based bandpass amplitude as a function of subchannel k for antenna n is , (3) where is the square of the amplitude measured on baseline I, j. There appears to be no way to measure the bandpass of the large dishes separately (without small-small baselines), but perhaps they are never needed.

Assuming we take one of the large antennas (denoted antenna a) as the reference antenna, which we can do without loss of generality, the antenna-based bandpass phase is just that measured on the a-n baseline, n(k) = an(k). Note that bn(k) is useful primarily to verify phase closure. The deviation from closure phase would be used as a measure of the uncertainty in n(k). Given sufficient signal to noise, the bandpass amplitude and phase can be determined for each subchannel k, but if that is not possible, it is sufficient to determine this calibration for each science subband. The product of this analysis is the normalized shape and relative phase variation across the band, which should change slowly (assuming thermal variations of standing waves is well controlled). The overall complex gain will be determined by more frequent measurements integrated over each entire IF band (both reference [section 4] and daily [section 5] amplitude and phase calibration). Note that the Miriad task mfcal performs the required analysis, but no doubt assumes data for all baselines, whereas we have only a small subset of baselines. It is worthwhile to try mfcal on simulated data with some very noisy baselines to see if it comes up with a correct solution. Note also that the total power bandpass response for each antenna, obtained from section 1, could be relevant to compare with the amplitude bandpass response.