ULTRACAM user manual

Vik Dhillon, version: 19 May 2004


  1. Introduction
  2. Powering up
  3. Powering down
  4. Afternoon activities
  5. Taking data
  6. Looking at data
  7. Archiving data
  8. Changing CCD parameters
  9. Setting up on an object
  10. Drift mode
  11. Calibration frames
  12. AutoLogger
  13. Changing filters
  14. Before you go to bed
  15. Troubleshooting
  16. Contacts


Introduction

This manual describes how to observe with ULTRACAM. There are four other documents which should be consulted if the information you require cannot be found here:

Powering up

A description of how ULTRACAM's cables and pipes are connected is outside the scope of this manual and it will be assumed that this procedure has already been successfully accomplished. To then start ULTRACAM from cold, the following operations must be performed:
  1. Check that the ULTRACAM network switch housed in the blue NETGEAR box near the data reduction PC is powered on.
  2. Turn on the data reduction PC, housed in the aluminium case, by flicking the switch at the rear of the case and then pressing the round button on the front panel.
  3. Check that the red light on the mains socket panel at the top of the rear of the electronics rack is illuminated - this means that the rack is connected to the mains.
  4. Check that the GPS system is powered up and working by looking for the flashing green LED on the GPS electronics box, which is located at the front of the top shelf of the rack. If it is not flashing, check that the power supply for the GPS is connected at the rear of the electronics box.
  5. Turn on the SDSU controller by flicking the switch "SDSU POWER SUPPLY" from 0 to 1. The switch can be found approximately half way up the rear of the rack near the centre of a white panel. If successful, two green LED's should illuminate on the SDSU controller and the red LED on the SDSU-PCI card (see item 6) should be off. If nothing happens, make sure the switch on the mains input connector to the SDSU power supply unit is also switched from 0 to 1. If this doesn't work, check the fuse in the mains plug.
  6. Reset the SDSU-PCI card on the right-hand side of the back of the rack PC by pressing the little white button above the red and black fibre connectors. This should be done whenever the SDSU is powered on.
  7. Power up the SCSI hard-disk array (housed in the black unit at the bottom of the rack) by flicking the red-switch behind the front flap.
  8. Turn on the rack PC by flicking the switch marked "Power" under the key-operated flap on the front of the PC. Booting takes around 100 seconds if the system was shut down cleanly. If the PC is recovering from a crash, rebooting may take longer than this whilst the system checks the disks. If you want to see what is happening on the PC whilst it is booting, use the mini-LCD monitor on the sliding tray at the top of the rack; slide out the tray fully, tilt the LCD panel upwards and then press the top-most button on the left-hand side of the monitor to power it on. Remember to turn the monitor off again before you start observing.
  9. Don't flick any of the switches described below until you have read the whole of items 9 to 13. To prevent damaging the peltiers, it is imperative that the chiller is circulating water through the CCD heads whenever the peltiers are powered up. To prevent accidental damage, ULTRACAM has a flow detector which cuts power to the peltiers if the water flow is stopped. However, this fail-safe mechanism only works if the grey cable linking the flow sensor (which is located on ULTRACAM itself) is connected to the grey box on the top shelf of the electronics rack marked "ULTRACAM PELTIER POWER SUPPLY CONTROL BOARD". Before proceeding, make sure this grey cable is connected to the grey box.
  10. Make sure that the power to the peltier temperature controllers is switched off. The peltier temperature controllers are located in the top two units of the electronics rack. To turn off the power to peltier 3, flick the switch marked "PELTIER 3" at the rear of the rack from 1 to 0. To turn off the power to peltiers 1 and 2, locate the label "PELTIER 2" at the rear of the rack and then flick the switch to the right of this (next to where the mains cable plugs in) from 1 to 0.
  11. Turn on the water chiller by flicking the switch at the top of the rear of the unit and then pressing the right-hand button on the front panel with the "|/O" on it. The chiller will spring into life and you should immediately check both that the peltier temperature displays at the front of the rack remain unilluminated and that none of the pipe connections on the chiller, SDSU controller and ULTRACAM are leaking. If you discover a leak, or if the peltier temperature displays illuminate, immediately power the water chiller off.
  12. The current temperature of the water is displayed on the front panel of the chiller and it will begin to drop as the chiller starts cooling the water down to the set temperature. The set temperature should be 10 degrees, unless this is within approximately 5 degrees of the dew point (in which case the water temperature should be increased). The dew point can be determined from the observatory's meteorological system. A useful check on this is to run your hand along the base of the SDSU controller - if it feels even slightly clammy to the touch, increase the set temperature. To change the set temperature, press the left-hand button with the penannular arrow on it and then alter the set temperature with the up and down arrow buttons. Press the button with the penannular arrow on it again to complete the setting process.
  13. Turn on the peltier temperature controllers, which are located in the top two units of the electronics rack. To turn on the power to peltier 3, flick the switch marked "PELTIER 3" at the rear of the rack from 0 to 1. To turn on the power to peltiers 1 and 2, locate the label "PELTIER 2" at the rear of the rack and then flick the switch to the right of this (next to where the mains cable plugs in) from 0 to 1. The peltier displays on the front of the rack will now illuminate. There is one display for each CCD head, although which display corresponds to which head can only be determined by tracing the cables from each CCD head to the back of the rack unit. The upper figure on the display shows the current CCD temperature and the lower figure shows the set temperature. The temperature controllers will immediately begin cooling the chips to the set temperature by running the peltiers at their maximum power of -55%. However, it is possible to damage the peltiers by allowing them to cool by more than 5 degrees per minute, so it is essential to immediately increase the set point to 5 degrees below the current chip temperatures using the up and down arrow buttons to the right of the temperature displays. Once attained, drop the set temperatures by approximately 5 degrees per minute until the desired temperature of -40 degrees is attained. Once the chip temperatures have stabilised at -40 degrees, check the peltier power levels by pressing the left-hand turquoise buttons on the temperature displays once. The power level should be approximately -30%. If the value is close to or equal to the maximum value of -55% then the heads may have lost their vacuum and need to be pumped down. Alternatively, the water chiller might be running at too high a temperature. You can return to the temperature display by pressing on the black button in the middle.

Powering down

During an observing run it is normal to leave the water chiller and peltier devices running continuously to prevent thermally cycling the camera heads unnecessarily. If, however, the instrument is about to be taken off the telescope or there is a scheduled break in observing for a few nights, the system should be powered down in the following order (refer to the
Powering up section for the location of all relevant switches and devices).
  1. Turn off the SDSU controller.
  2. Turn off the water chiller. This will cut the water flow and hence will automatically turn the peltiers off (but check the peltier displays to make sure). With all cooling turned off, the chips will gradually warm up to ambient temperature at a safe rate.
  3. Turn off the peltier devices.
  4. Shut down the rack PC by typing "init 0" in an xterminal connected to the PC. This does not turn the PC power off, so when the mini-LCD panel says "Power down" you should press the "Power" button on the front-panel of the rack PC.
  5. Turn off the SCSI hard-disk array. Never turn off the the SCSI hard-disk array when the rack PC is powered on, as the disks may be corrupted.
  6. Turn off power to the entire ULTRACAM rack by switching it off at the mains.
  7. Turn off the feed to the nitrogen gas flushing system (see Afternoon activities.
  8. Shut down the data reduction PC by pressing the ctrl-alt-del buttons at the login prompt. The PC will power down automatically on completion.
  9. Turn off the network switch.

Afternoon activities

Before you start observing in the evening, you should perform the following system checks:
  1. Check water temperature on the chiller display is set to 10 degrees, unless this is within approximately 5 degrees of the dew point (in which case the water temperature should be increased). The dew point can be determined from the observatory's meteorological system. A useful check on this is to run your hand along the base of the SDSU controller. If it feels even slightly clammy to the touch, increase the water temperature slightly.
  2. Check CCD temperatures on the rack-mounted temperature controllers are stable at -40 degrees.
  3. Check peltier power usage on the rack-mounted temperature controllers. These should typically be around -30%. If the value is close to or equal to the maximum value of -55% then there is either a problem with the vacuum in the head or the CCD temperatures have been set too low (or the water temperature too high).
  4. Check for water leaks by running your fingers along the pipe connectors on the water chiller, the SDSU controller, the flow sensor (attached to the underside of the mid-plate of ULTRACAM) and the individual CCD heads.
  5. Check the nitrogen gas flushing system is operable by ensuring that all the blue pipework and syringe needles on ULTRACAM are connected, that the small brass valves on ULTRACAM are fully open, and that the gauge feeding ULTRACAM is set to a flow rate of appoximately 0.5 litres/minute.
  6. Ensure that the water pipes and GPS cable leading up to the instrument are neatly arranged beneath it and are in no danger of snagging on any equipment.
  7. Ensure that the star-field tube is not mounted on the ULTRACAM collimator, that the focal-plane mask is fully retracted (when the upper scale is on the far right-hand side) and its foam baffle is in position.
  8. Check which filters are installed in front of each CCD. The most commonly used filters have a little label visible on their cartridge saying what the filter it is. If you can't see this, you can determine which filters are mounted by either taking the cartridges out and inspecting the filters or by looking in the filter case to see which filters aren't mounted (see Changing filters).
  9. Turn on the SDSU controller and reset the SDSU-PCI card (see Powering up).
  10. Move the contents of /data on ucam2 to one of the five disks in the SCSI disk-array (see Archiving data for details). This ensures that the first run of the coming night will be run001 (strongly recommended) and also ensures that there will be sufficient disk capacity for the entire night's observing.
  11. Prepare the hand-written log files for the coming night by printing out one copy of this title page template and multiple copies of these blank tables
  12. Start the observing system (see Taking data), take some bias frames and check the readout noise and bias level (see Calibration frames and Looking at data).

Taking data

ULTRACAM can be controlled from any unix system connected to the ULTRACAM internal network (see the
Troubleshooting section for details), although it is usual to use the aluminium data reduction PC or Vik's lap-top for this purpose, as described below:
  1. Log into the ultracam data reduction PC (known as ultracam) or Vik's lap-top (known as magnetar). If you don't have a user account on either of these computers, please contact Paul Kerry.
  2. Log into the rack PC (known as ucam2) as root using the command:

    ssh root@192.168.1.2

    If you don't know the root password for ucam2, please contact Paul Kerry. To ease this process, you can either type rack, which will automatically log you into ucam2 as root without having to type a password, or click on the ucam2 icon in the control panel on the right-hand side of the desktop. If these don't work for you, a setting is probably amiss - please contact Paul Kerry. Because you are logged in as root you need to be extra-cautious with your typing.
  3. Ensuring that the SDSU controller is switched on, type the following in an xterminal on ucam2:

    start_ucam

    The following windows should then appear:

    The "Camera" window (top-left) provides information on the commands used to control the CCD cameras, which are sent to the SDSU controller. The "Filesave" window (top-right) provides information on the commands used to define the quantity of data to be expected, and are sent to the SDSU-PCI card in the rack PC. The "Netscape" window (or "WebGUI") sends the xml documents containing the camera and filesave parameters to the SDSU controller and PCI card via the http protocol.

  4. Set the file headers by clicking on the following links in the "engineering" column of the netscape window:

    These links must be clicked in order from top to bottom. Each time you click on a link you must wait until you see the word "ok" in the status window at the bottom left of the web browser before clicking on the next link. You will also obtain a line in the history window at the bottom right of the web browser showing you which links have already been activated.
  5. Power up the SDSU controller by clicking on the following links in the netscape window:

    The filesave window should then report the creation of a new run file in the /data directory and 6 green and 1 amber LED's should illuminate on the SDSU controller, On occasions, the above operation fails to create a new run file. The SDSU power-on sequence must then be performed again by following these steps:

    It is essential that you do this in the order given above. There is no need to close the netscape window. Now restart the software using the command:

    start_ucam

    The camera and filesave windows will reappear and, after a few seconds, the netscape window will be respawned - make sure you wait for this to happen before clicking on any links. Set the file headers again by clicking on the following links in the "engineering" column of the netscape window, in the following order:

    Now perform a software reset of the SDSU controller and PCI card and power the controller on again:

    Note how the software reset of the SDSU controller must be followed a PCI-card reset. The filesave window should then report the creation of a new run file in the /data directory and a full set of illuminated LED's should appear on the SDSU controller. If this procedure fails again, refer to the Troubleshooting section.
  6. You are now ready to take data. You can select either one of the "generic" modes or one of the "user-defined" modes - the difference between these two options is described in the section on Changing CCD parameters. If, for example, you decide you want to take data in 2-windowed mode using the CCD parameters given in the generic xml file, you should click on the following links:

    It is always necessary to download first the camera application and then the filesave application. You must wait for each application to successfully download (indicated by the "ok" in the status window) before clicking on the next link. In the above example, the NO_EXPOSURES parameter is set to -1 in the xml file (see Changing CCD parameters), and hence data will be taken indefinitely until you click on the "STOP" link. When this occurs, you will obtain a message in the filesave window telling you how many exposures were taken and a message in the status window saying "ok".
  7. Once you have started a run, type the following command in an xterminal logged into the rack PC:

    ucam_data_limit

    Hit return in response to all the prompts (unless you want to check the speaker volume or change the file size limit). This script checks the latest run and outputs an audible warning when it becomes dangerously close to the maximum file size limit of approximately 2 GBytes. When you hear the alarm, you must stop the current exposure. If the file size goes over the limit, the system will crash - see Troubleshooting for recovery information. The script also checks whether the GPS timestamping is working correctly and outputs an audible alarm if it detects a problem - refer to the Troubleshooting section for advice on how to get the GPS going again.
  8. When you are ready to take your next exposure, you must reload the camera and filesave applications for your chosen CCD setup and then click "GO", even if you have not changed any of the parameters.

Looking at data

You can use the ULTRACAM pipeline reduction software to look at data either in real-time or off-line - see the
manual for details. The latest version of the software is version 3.0.3 and can be initialized by typing the following on the data reduction PC or Vik's lap-top:

ultracam3.0.3

If you have problems running this version, you can fall back to older versions by typing ultracam followed by a tab, which will show you all of the versions currently available on the data reduction PC or Vik's lap-top.

You can then type any of the pipeline reduction commands, e.g. rtplot. In order to run the system whilst observing, it is necessary to access the data on the rack PC over the server. To do this, open an xterminal on the rack PC and type:

FileServer


Archiving data

Please refer to Paul Kerry's guide to archiving ULTRACAM data.


Changing CCD parameters

ULTRACAM can be used in 7 different observing modes:
  1. Full frame with chip clearing.
  2. Full frame with no chip clearing.
  3. Full frame with clearing and overscan.
  4. Two-windowed mode.
  5. Four-windowed mode.
  6. Six-windowed mode.
  7. Drift mode.
Each of these modes are described in much greater detail in the
CCD application document. Once you have decided which mode you want to use, place your mouse over the relevant option in the "generic modes" column of the netscape window to determine the name of the xml file which you will need to edit to change the CCD parameters. Now open a window on the rack PC and type the following command:

cd /ultracam/config/xml (or just type xmldir)

Be very careful in this directory, as it is the main repository for the xml files used to set the ULTRACAM CCD parameters. If you do delete anything by accident, there is a copy of the xml files for the generic modes on ucam2 in /ultracam/src/ucam2/dsp. You can now edit the required xml document (e.g. set_ap3_250_fullframe.xml) and change any of the following parameters: For detailed information on the allowed ranges of each of the above parameters, you should refer to the CCD application document.

Once you have set your desired parameters, save the file and then download the application by clicking on the appropriate links in the netscape window. For setups which you will reuse during the run, it is much easier to define your own "user-defined mode". To do this, save the xml file you have been editing as:

set_objectname.xml

where objectname can be any string, but usually is the name of your target. Then, type the following commands on the rack PC:

cd /ultracam/src/ucam/WebGUI/vik
emacs control_250.html

At the end of this file you will find an html list composed of a number of the following items:

<li> <a href="javascript:cam('set_objectname.xml')">
objectname (camera)</a> </li>
<li> <a href="javascript:fs('set_objectname.xml')">
objectname (filesave)</a> </li>

Change the "objectname" and "set_objectname.xml" strings to whatever you have decided to call your xml file, save the file, and then press the "reload" button on the netscape window. Your new setup should now appear as an option under the "user-defined modes" column. Be careful in this directory, as it is the main repository for the html files used for the WebGUI (i.e. the netscape window on which you run the observing system). If you do delete anything by accident, there is a copy of the directory on ucam2 in /ultracam/src/ucam/WebGUI/vik/webgui_backup_31_10_03.


Setting up on an object

Setting up on an object can be a time-consuming process with ULTRACAM. The following tips will help to cut the acquisition time.

Focussing

The WHT focus with ULTRACAM is very stable and always close to 98.00mm. Therefore, don't waste time at the start of the night slewing to a focus star and focussing the telescope on it. Instead, slew to your first science target, set the required CCD parameters and start taking proper data. Then, using the "Moffat" option in "rtplot" (see
Looking at data) to determine the stellar FWHM, ask the telescope operator to change the telescope focus in steps of 0.05 or 0.1mm and minimise the FWHM. These are tiny increments which won't affect the quality of your data significantly and, because you are acquiring science data whilst focussing, you don't have to rush the process.

Note the ULTRACAM is aligned in the lab using u', g' and r' filters. If you use a different filter in one of the channels, you might find it has a different optimum telescope focus position to the other channels. The problem should not be severe, however, as all of ULTRACAM's filters have been designed to have approximately equal optical thickness.

Target acquisition

The WHT pointing calibration ("CALIBRATE") need only be done once, on the first night ULTRACAM is mounted on the telescope. Thereafter, it is sufficient to reload this calibration every night, saving a considerable amount of telescope time during evening twilight.

The WHT points to better than a few arcseconds and the centres of the ULTRACAM chips are within a few arcseconds of the rotator centre (to which the WHT points). Hence, as long as your coordinates are accurate to a few arcseconds, you can be certain that when you slew to your target it will appear at the very centre of the ULTRACAM chips, making target identification very easy.

The scale of the ULTRACAM chips on the WHT is 5 arcminutes (0.3 arcseconds/pixel). The orientation is variable as it depends on the position of the Cassegrain rotator (or "ROT SKY PA"). With the rotator at a sky position angle of 0 degrees, north is at the top of the frame and east is to the left. It is therefore advisable to ask the telescope operator to use the command "ROT SKY 0" when slewing to a new target so that you can more easily identify the field.

The best way of positioning targets on the ULTRACAM detectors is to use the "acquisition" application under the "user-defined modes" column on the netscape window. This is just a full-frame/no-clear setup with fast readout and 4x4 binning. With a 1 millisecond exposure delay, this results in an exposure time of approximately 0.2 seconds, with negligible dead-time, although you can change the EXPOSE_TIME parameter in the set_acquisition.xml file to increase the exposure length. The rapid readout and large field of view results in an acquisition-TV-type mode, which greatly facilitates target acquisition.

Once you have acquired a target in a window and started to autoguide, don't forget to write down the telescope position (including any offsets the telescope operator might have made), the position angle of the Cassegrain rotator on the sky, the autoguider probe positions (autotheta, autoradial) and the x,y coordinates of the guide star on the autoguider CCD. This will enable you to rapidly reacquire a target onto exactly the same pixel on ULTRACAM as before.

Setting CCD windows

The "rtplot" program has an option in which it is possible to display the outlines of CCD windows superimposed on the image of the field. The CCD windows which are plotted are defined in a file, which can be edited in real-time to adjust the positions and sizes of the windows on the display. The final window parameters can then be copied from the window file into the appropriate xml document. For details of the format of the window file, see the ULTRACAM pipeline software manual.

Exposure times

The ULTRACAM chips saturate at 65536 counts. However, the peppering effect only disappears at approximately 30000 counts in the u' and g' chips, and at approximately 50000 counts in the red chip. These latter two figures should therefore be used as the upper count limits for ULTRACAM exposures. Note, however, that the peppering is strongest in the central regions of the chip and it is possible to use 65536 as the upper count limit if one is using windows at the bottom of the chip (e.g. in drift mode). To be sure if a particular chip position is safe from peppering at a given count level, however, always check the flat fields.

The profile-fitting option in "rtplot" can be used to determine the maximum counts in an aperture centred on the star. If the exposure time needs to be lengthened, increase the "EXPOSE_TIME" parameter in the appropriate xml document (see Changing CCD parameters). If the exposure time needs to be decreased, and the EXPOSE_TIME parameter is already at its minimum value of "1", you will need to either decrease the size and/or number of windows being read out, bin the pixels (although this will make things worse if you are worried about saturation), change the "GAIN_SPEED" parameter, adjust the window positions to minimise the "DIFF_SHIFT" (see the CCD application document), use drift mode, or defocus the telescope.


Drift mode

To obtain the highest frame rates it is necessary to use drift mode, where CCD windows are stacked up in the masked region of the frame transfer chip. A full description of the algorithm is given in the
CCD application document. Generally speaking, it is best to use drift mode when you require approximately 10 Hz frame rates or higher, as otherwise the dead-time due to frame transfer across the 1024 rows in the masked region (which takes approximately 25 milliseconds) becomes a significant fraction of the exposure time.

To take data in drift mode it is necessary to follow exactly the same procedure as described in Taking data. If, however, hundreds of frames per second are required, it is recommended that the observing system is started with the "-q" (for "quiet") option as follows:

start_ucam -q

The above command suppresses most of the debugging information currently output in the filesave window, which can place extreme demands on the pc when running at the fastest frame rates, and even cause it to crash (when it fails to pick up time-stamps rapidly enough).

It is important to choose the Y1_SIZE parameter of the windows in drift mode very carefully, so as to minimise the "pipe delay", i.e. the delay added to all bar one of the windows in the pipeline to ensure that they all have the same exposure time. The CCD application document gives a full description of this term and provides a useful table (and plot) of the special values of Y1_SIZE that should be used in order to maximise the frame rate.

If the sky is bright, you might notice that the top part of a window has a different background level compared to the bottom half. This occurs when it is impossible to fit an integer number of windows in the image area and hence part of each window exists on the chip (and hence accumulates sky) for slightly longer than the other part. To negate this effect, put the focal plane mask in the beam, taking care to prevent the blue sponge light-baffle from falling inside the mounting collar. The vertical position should be set at 19.00mm on the micrometer and should never be adjusted. The horizontal position depends on the size and position of your windows and can be calculated using the scale printed on the edge of the sliding mask. Note that the focal plane mask can also be used to prevent bright stars lying on the same column as your target star but on a higher row from corrupting your image.


Calibration frames

Taking calibration frames for ULTRACAM is a great deal easier than with conventional CCD detectors thanks to the high speed readout. Dark current is less than 0.1 electrons/pixel/second, a factor of approximately 50 less than the photon rate from the u'-band sky on the WHT, which means that dark current is a negligible source of noise with ULTRACAM. Coupled with the fact that it is difficult to remove all sources of light in a telescope dome, and hence difficult to obtain accurate dark frames, only flat-fields, bias frames and standard stars are discussed below.

Flat fields

It is best to obtain flat fields of the twilight sky. Ask the telescope operator to point to a blank field in the east (so you can start and finish your flats earlier) during evening twilight. Once there, start spiralling the telescope to move any faint stars present in the field so that they are removed when median-combining. To make the telescope spiral, enter the following command on the ING instrument control computer:

load [.vsd]spiral.icl
spiral

You will then be asked to enter the step length in arcseconds, the number of steps and the number of seconds to pause between each telescope slew. The step length should be much larger than a stellar diameter, but not so large that the spiral rapidly moves the telescope away from the blank field (and introduces any bright stars in the periphery of the field). A value of 10 arcseconds seems to work well, in conjunction with 100 steps and a pause of 10 seconds (slightly longer than the time it takes to read out a full-frame image with the slow readout speed setting). When you wish to cancel the spiral and return the telescope to its nominal position, type ctrl-c at the ICL prompt and ask the telescope operator to type "n" on the TCS.

It is best to take full-frame flats even if you are using windows. This is because windowed flats suffer from excess signal in the lower rows and left-hand columns, rendering them unusable. The pipeline reduction system can crop and bin full-frame flats to match any window setup. Set the exposure time to at least 1 second, which is approximately 40 times longer than it takes to perform one frame transfer; this minimises the error due to each pixel accumulating charge as it vertically clocks through the image region.

Bias frames

Again, unless you know exactly what window setup you are going to be using, it is best to obtain full-frame bias frames, as the pipeline reduction system can crop them to match any window setup. The best way of obtaining bias frames is to use the "bias" application under the "user-defined modes" column on the netscape window. This is just a 1 millisecond full frame (with clearing) setup with slow readout and no binning. The fact that it is with no binning is important, as binned full-frame flats cannot be used to debias binned window data unless the windows start on an odd number of pixels. Ensure that it is completely dark in the dome and, just as importantly, place the A&G-box comparison lamp mirror in the beam to block the light coming through the instrument's optics; the command AGCOMP typed on the ING instrument control computer moves the mirror into the beam and AGMIRROR OUT moves it out again. You should find the following values for the bias level (although it does drift by a few counts) and readout noise on the ULTRACAM chips, which can be determined using the "stats" program in the pipeline data reduction system:

chip/channelbias levelreadout noise (counts)
1/122473.1
1/223033.1
2/121503.3
2/222153.6
3/124593.4
3/223573.1

Note that the gain of the ULTRACAM chips when using a GAIN_SPEED value of "0xcdd" and "0xfdd" is approximately 1.2 e-/ADU and the grain noise (as determined from flat-fields) is approximately 0.5%.

Standard stars

These are best selected from the list of SDSS standards in Smith et al. 2002 (AJ, 123, 2121). The easiest way of obtaining data on standards is to use the full-frame application set_ap3_250_fullframe.xml, keeping it unbinned and in slow readout mode. Try using stars which are fainter than about 12th magnitude, which enables you to use an exposure delay of approximately 1000 milliseconds. This is significantly longer than the 25 milliseconds it takes to vertically clock the image into the storage region, which means that streaking of the star-light due to frame transfer is negligible. When acquiring standard stars, they will usually appear at the centre of the chip, and you should therefore ask the telescope operator to move the star by an arcminute left or right to get it clear of the border between the two readout channels.


AutoLogger

The AutoLogger is a c-shell script which produces a log of ULTRACAM observations on a web browser. The script can be either run in real time, in which case it must be run on the rack PC, or off-line, in which case it can be run on either the rack PC or the data reduction PC. The script works by polling the directory containing the data and extracting information from all the xml files it finds. It also determines the time and size of each ULTRACAM data file and uses the latter information to calculate the number of frames in each run. The object name, filters and comments on each run are input using an optional comments file, which must reside in the same directory in which AutoLogger is run. An example of the optional comments file can be found
here - it is essential that you do not change the format of the file, i.e. the two header lines, the order of the columns, the fact that the object names do not have spaces in them, the three letter filter names, etc. Also, try not to use any special characters in the file (e.g. a "?") - if for some reason the comments or object/filter names you have typed in do not appear on the web page (or the AutoLogger crashes with an "echo: No match." error), then it is likely you have used an illegal character. Finally, don't leave the object or filter columns blank - if you want the log to show a blank entry in these columns, enter "& nbsp;" in the appropriate position in the optional comments file.

To run the AutoLogger for data on the rack PC whilst observing on 2003-05-03, type the following:

cd /ultracam/src/ucam/WebGUI/vik/AutoLogger (or just type autologger)
emacs 2003-05-03_log.dat    -    and enter the object name, filters and comments for each run
AutoLogger
  >   /data
  >   2003-05-03_log
(AutoLogger   /data   2003-05-03_log   typed on the command line will also work.)

The script will run indefinitely, polling the data directory a few times every minute and looking for changes in either the data files or the comments file. If it finds a change, it will update the log displayed on the web browser. To exit AutoLogger, just type crtl-c, but only do this when AutoLogger says that it is safe to. The final log is written to a file in html format - in the example above the resulting file would be called 2003-05-03_log.html. To print out the html log file, it is best to run the konqueror web browser on the data reduction PC, load the html log, and then print to a postscript file, setting the page size to A4 and the orientation to landscape.

AutoLogger can also be run off-line, either on the rack PC in exactly the same way as described above, or on the data reduction PC. In the latter case, AutoLogger resides in /home/vsd/AutoLogger and it can be used to poll any directory on the data reduction PC which contains ULTRACAM data.

As well as the automatic log, we also keep a hand-written log which details weather conditions, run numbers, filters and any comments. It is essential that this log is carefully kept as it provides a backup to the electronic version. Before you start observing on each night, print out one copy of this title page template and then multiple copies of these blank tables.


Changing filters

There are currently 10 different filters available for use in ULTRACAM: u', g', r', i', z', 3 "clear" filters, a 100A bandpass CIII/NIII+HeII 4686A filter, and a 100A bandpass red continuum filter centred on 6000A. There are also 3 spare "windows" for the CCD heads, but these cannot be used as filters because they throw the instrument out of focus due to their different optical thickness. The filters not being used are stored in a small, blue briefcase. If you want to change a filter in ULTRACAM, you should first check that the required filter is mounted in an aluminium cartridge, which you can also find in the blue briefcase. Make sure that the filter is not slopping around in the cartridge. If it is, use one of the square plastic spacers in the blue briefcase. If you need to make more of these, you will find an envelope full of shims in the packing crate and a scalpel and metal ruler for cutting them to shape in the tool box.

When ready to change the filter, carefully slide out the cartridge containing the filter you wish to remove. Using the 15cm metal ruler found in the ULTRACAM tool box to prevent the blue foam ring from slipping, slowly slide the new filter cartridge into the filter slot (you may feel the ball-bearing retainer click into position when complete). Slide the metal ruler out, remembering to check that the two syringe needles for the dry-nitrogen flushing system are still attached to the blue foam ring. Don't worry if the blue foam ring is not centrally located over the CCD window - it would have to be seriously out of position to vignette the field. Make sure you keep the metal ruler parallel to the filter, CCD head and re-imaging camera at all times to ensure that you don't inadvertently scratch the outer surface of the re-imaging lens, CCD window or filter with it. .

Always use the optics handling equipment (e.g. latex gloves, lens tissues, air spray) when changing filters - you can find these either in the blue briefcase or in the "optics handling equipment" box in one of the ULTRACAM packing crates. When blowing air across the filter, be sure to hold the can steady and upright, otherwise propellant may fall on the filter. It is also wise to make a few test blows into the air before spraying the filter.


Before you go to bed

  1. Make sure that the hand-written and automatic logs are up-to-date and complete for the night.
  2. Shut down the observing system by typing ctrl-c in the camera and filesave windows and closing the netscape window (see Taking data).
  3. Copy all data obtained during the night from the rack PC to the data reduction PC (see Archiving data). This is a quick way of ensuring that a copy of the data exists on a separate system. Proper archiving can then wait until the following afternoon (see Afternoon activities).
  4. Turn off the SDSU controller (see Powering up).
  5. If you suspect that the dew point might rise to within approximately 5 degrees of the water chiller set temperature whilst you are asleep, raise the set point accordingly.
  6. Go to bed.

Troubleshooting

start_ucam does not bring up filesave window

This problem usually occurs after a cold startup (i.e. if the SDSU controller has been powered down). On typing start_ucam, the filesave window appears and then immediately disappears. This is simple to remedy: First, try typing start_ucam again. If the filesave window still does not appear, switch off the SDSU controller, switch it on again, and then reset the SDSU-PCI card, as described in
Powering up.

Unable to connect to the rack PC

This could be because the rack PC has crashed. Go into the dome, turn on the mini-LCD monitor in the rack and hit return on the keyboard. If the normal login prompt appears, press ctrl-alt-del to reboot. If, however, nothing happens when you hit return (and, for example, you see the words "kernel panic" on the screen), ctrl-alt-del may not work. In that case, press and hold the three keys altgr-sysrq-s to sync the disks. If this works (i.e. you get a message saying that the disks are sync'ed), then press and hold the three keys altgr-sysrq-u and altgr-sysrq-b and the system should reboot. If this fails, you will have to press the reset switch on the front of the rack PC - this should always be your last resort.

Unable to take data

This can be due to a number of problems. A check-list is given below.
  1. Have you clicked on a link out of order, e.g. by clicking on the "GO" link without having previously loaded an application? Fortunately, the system is much more robust to this kind of finger trouble than it was in the past, and it is almost always possible to rectify any mistakes by simply typing ctrl-c in the camera and filesave windows (in that order) and then retyping start_ucam, remembering to wait for the WebGUI to respawn before clicking on the links again.
  2. Have you powered the SDSU controller on in the dome?
  3. Have you reset the SDSU-PCI card in the dome?
  4. Is the green LED on the SDSU-PCI card lit? If so, there is a problem. Power cycle the SDSU controller and rack PC. If this fails, check the fibres between the PCI card and the controller. If damaged, there is a spare in the packing crates.
  5. Have you powered on the SDSU by clicking on the "power on" links?
  6. As a last resort, power down the rack PC and then remove mains power to it by unplugging it. This cuts the power to the SDSU-PCI card and should completely reset it if all else fails.

Data reduction PC hangs whilst exposing

If the data reduction PC hangs or crashes whilst exposing, it is possible to safely stop the exposure by opening an xwindow on the rack PC from another computer connected to the internal network (e.g. Vik's lap-top) and then typing WebGUI. When the netscape window appears, click on the "STOP" button to safely stop the exposure. With the data safe, you can then try to reboot the data reduction PC. This will kill the camera and filesave windows, of course, so you might also have to reboot the rack PC.

There has been one occasion when the data reduction keyboard stopped responding, probably due to an illegal combination of keystrokes. This was fixed by killing the windows one by one until the offending window had been killed and the keyboard started responding again.

WebGUI problems

If the WebGUI stops responding when you click on the links, close the browser and open it again by typing the command WebGUI in a window on the rack PC.

Inexplicable crashes whilst taking data

The most likely reason for this is that the 2GByte maximum file size limit has been reached, probably because the ucam_data_limit script was not run (see Taking data). If this occurs, simply restart the observing system by typing ctrl-c in the camera window and filesave windows (in that order) and then start_ucam.

Another reason could be because you are pushing the system to its limits either in terms of data rate or frame rate. The former occurs, for example, when using exposure delays of less than 100 in the full-frame/no-clear mode. The latter occurs, for example, when using "0xfdd" in fast drift-mode applications. If you experience a crash, try running a different application or using different parameters in the same application.

Another, very subtle, reason for crashes is if you prevent terminal output from being written to the filesave window. This occurs, for example, when moving windows around on the fvwm window manager. It also occurs when opening up new windows. In the latter case, it is essential that you do not use ActivePlacement or SmartPlacement of windows, but rather use RandomPlacement (which prevents any user interaction in the placement of new windows) - check your .fvwm2rc file to determine which of these are in use. By freezing terminal output, GPS timestamps are no longer read from the FIFO, which eventually overflows and crashes the system. The FIFO buffer is quite large, so this is only a problem when running drift mode, where there is a great deal of terminal output. This is why it is recommended that the observing system is started with the "-q" option, as described in the drift mode section.

GPS problems

You can check whether the GPS is working by typing dmesg on the rack PC and searching for the GPS status messages that are output every 10 seconds - if you see the words unable to read GPS data packets, read 26 bytes, you've got a GPS problem. To fix it, first inspect the flashing LED in the GPS box on the top shelf of the rack, and also check the cable running from the telescope to the GPS aerial outside. If there is high humidity outside, there is a possibility that water has entered the lightning surge protector or connectors on the GPS aerial mast. If this has occured (which you can usually see by eye, and verify with a voltmeter if necessary), dry the connectors off as best you can (e.g. by using the air hose on wall just outside the control-room entrance to the dome) and/or bypass the surge protector by connecting the cable from the hose-reel directly into the base of the GPS aerial. If you've still got problems, there is a spare GPS antenna in the packing crates, together with a short length of cable. You can use this to eliminate each component of the GPS system in turn until you find the offending piece of hardware.

High red-channel bias/loss of sensitivity in red channel

This is a rare, intermittent fault which occurs when a new run is started. The bias level on the red CCD suddenly jumps to a very high level, sometimes with a loss of sensitivity and an increase in the readout noise. It can usually be fixed by simply stopping the run and restarting it. If this does not work, try it again. If the problem persists, reset the controller and PCI card by clicking on the appropriate links on the WebGUI. If that fails, try switching the SDSU controller on and off. Note that Tom Marsh has reported that this problem also affects the other two channels, but to a lesser extent, and he has included an option in rtplot which issues a warning if it detects an abnormally high bias level.

Chips suddenly output nothing but 32768 counts

I've seen this problem occur once. Whilst taking data using the acquisition setup, the images suddenly went blank, with rtplot reporting that both the maximum and minimum plot levels were equal to 32768. The system continued to take data. The solution was to stop the exposure and start another one. The chips then worked perfectly.

Pickup noise

This is evident as a series of diagnonal, swirly or chevron-like lines in a bias frame. Removing it is a black art. The first step is to verify that the pattern is not simply an artifact of the image display device you are using - try zooming in to see if the pattern persists. If it does, estimate how serious a problem it is by determining the standard deviation - image display devices can make a very insignificant level of pickup noise (say, 0.1 counts) appear as if there is a serious problem with the CCD.

If you are determined to try to remove it, first try power cycling the SDSU controller and then allow it to settle down by taking some images for a while before measuring the readout noise again. If the pickup noise persists, try rearranging the cables at the back of the rack, between the rack and the instrument, and on the instrument itself. The key thing here is to separate any cables carrying mains electricity from cables carrying data. It might also be worth avoiding tying cables together in loops, although I'm not sure this makes much difference. In addition, make sure the metal pipes carrying helium to the WHT Cassegrain focus are not touching the top of the electronics rack, as this provides an alternative route to earth. If you have no luck with this, and you've noticed that the pickup noise is particularly bad on one of the chips, you might be able to isolate the problem by swapping the peltier power supplies around by exchanging the cables going into the power supplies at the rear of the electronics rack. If you have no luck with this, check the dome environment to see if anyone has turned on equipment which might be interfering with ULTRACAM (and, if possible, ask them to turn it off).

Two tier background level in drift mode

If the sky is bright and you are using drift mode, you might notice that the top part of the windows have a different background level compared to the bottom half. This occurs when it is impossible to fit an integer number of windows in the image area and hence part of each window exists on the chip (and hence accumulates sky and, to a lesser extent, dark current) for slightly longer than the other part. To negate this effect, put the focal plane mask in the beam, taking care to prevent the blue sponge light-baffle from falling inside the mounting collar. The vertical position should be set at 19.00mm on the micrometer and should never be adjusted. The horizontal position depends on the size and position of your windows and can be calculated using the scale printed on the edge of the sliding mask.

Temperature displays blank

On one or two occasions the peltiers have powered themselves off (as indicated by the blank temperature displays at the front of the electronics rack). There are two reasons this might have occurred.

The water flow might have stopped. If the chiller is still running, this is almost certainly because one of the water pipe connectors on the CCD heads, SDSU controller, flow sensor (attached to the underside of the mid-plate of ULTRACAM) or water chiller have become disconnected. The connectors are self-sealing, so if you have inadvertently pressed the quick-release catch on the connector (perhaps when changing filters), the pipe will pop out by a few millimetres, close its seal, and cut off the water supply to the flow sensor (even though the chiller is still running), thereby cutting power to the peltiers. To determine if this has occurred, go round the instrument ensuring each pipe is securely connected to its socket. Remember that the moment you rectify the problem, the peltiers will power up. Therefore, it is essential that you immediately raise the set temperatures on the peltiers so that it is within 5 degrees of current chip temperature, and then slowly reduce the temperature as described in Powering up.

The grey box on the top shelf of the electronics rack marked "ULTRACAM PELTIER POWER SUPPLY CONTROL BOARD" might not be functioning. This could be because the cables leading to it are not properly connected, so this is the first thing that should be checked. On one occasion, a chip in the box failed. In this case, you will need to bypass the grey box completely in order to get the peltiers to work. To do this, remove the cables from the grey box and attach all bar the grey cable from the flow sensor (which is now redundant) to the small metal box marked "FLOW CONTROL BYPASS" which you can find in the cardboard box marked "ULTRACAM ELECTRONICS TEST EQUIPMENT" in the packing crates. Remember that the moment you rectify the problem, the peltiers will power up. Therefore, it is essential that you immediately raise the set temperatures on the peltiers so that it is within 5 degrees of the current chip temperature, and then slowly reduce the temperature as described in Powering up.

Networking and computing problems

It is impossible to list everything that might go wrong here. Best to contact Paul Kerry (see below).


Contacts

If you experience problems with ULTRACAM that you are unable to solve, please contact one of the following project personnel: