next previous
Up: LonGSp: The Gornergrat

4. Electronics and software

  The electronics of LonGSp comprise two main parts: ``upper'' electronics, that are situated near the instrument, and the ``lower'' electronics in the control room. The connection between the two parts is assured via a fiber-optics link. Two boards, close to the cryostat, house part of the interface electronics, that is a set of four preamplifiers and level shifters and an array of drivers and filters that feed the clock signals and the bias to the array multiplexer.

The ``upper'' electronics are composed of an intelligent multi-part sequence generator and a data acquisition section. The first is controlled by a microprocessor (a Rockwell 65C02), and the sequencer is capable of generating many different waveforms template (at 8 bits depth) stored in an array of 128 Kbytes of memory. The final waveform is generated by selecting, via software, the templates needed together with their repetitions.

The data acquisition segment consists of a bank of four analog-to-digital converters at 16 bits, and the logic for converting them to serial format. A transceiver sends data to the telescope control room through a fiber optics link. Data are sent as groups of four, one for each quadrant, and are presented together with the quadrant identifier (two bits) to the frame grabber. The fiber optics link is bidirectional, so that it is possible to send instructions to the control microprocessor in the ``upper'' electronics, and to communicate with the motor control through a serial connection (RS-232) encoded on the same fiber-optics link. The ``upper'' electronics are completed by the box which contains the power supply, the stepper motors controllers, and the temperature controller of the array.

The ``lower'' electronics implement the logic to decode the serial data protocol, in order to correctly reconstruct the frame coming from the array detector. Data are collected by the custom frame grabber (known as the ``PingPong'') which is capable of acquiring up to four images in each of its two banks. When a bank is written, the other can be read, enabling continuous fast acquisitions. Also of note is the ability to re-synchronize data acquisition to the quadrant address, virtually eliminating mis-aligned frames.

The instrument is controlled by an MS-DOS PC equipped with a 80486 CPU (33 MHz clock), high-resolution monitor, and 600 Mbytes of hard disk space. At the end of a data acquisition sequence, each single frame or the stack average of a group of frames is stored on the PC hard disk, and are later transferred to optical disk (WORM) storage. In the near future, the WORM cartridges will be superseded by more standard writable CD-ROM cartridges. A local Ethernet network connects the control computer to the TIRGO Sun workstation, so that it is possible to transfer the data for preliminary reduction using standard packages.

The software developed for this instrument is ``layer organized'', that is to say organized as a stack of many layers of subroutines of similar levels of complexity. To accomplish its task, each routine need rely only on the immediately adjacent level and on global utility packages. Such a structure greatly simplifies the development and maintenance of the software.

Our efforts were directed towards several different requirements. Our first priority was to have a flexible laboratory and telescope engine, capable of acquiring easily the large quantity of data a panoramic IR array can produce. The human interface is realized through a fast character-based menu interface. The operator is presented only with the options which are currently selectable, and the menu is rearranged on the basis of user choices or operations.

We have also stressed the auto-documentation of data. After the decision to store data in standard FITS format, it was deemed useful to fully exploit the header facility to label each frame with all relevant information, such as telescope status, instrument status, and user acquisition choices. Data are also labelled with the observer name in order to facilitate data retrieval from our permanent archive. In particular, the form of the FITS file is completely compatible with the context IRSPEC of the ESO package MIDAS.

Finally, one of our main goals was to produce an easy-to-use software and with the smallest ``learning curve''. Our idea was that data acquisition must disappear from observer attention, giving him/her the possibility to concentrate on the details of the observations; in this way, observing efficiency is much higher. As a result, we have implemented automatic procedures such as multi-position (``mosaic''), and multi-exposure (stack of many frames).


next previous
Up: LonGSp: The Gornergrat

Copyright by the European Southern Observatory (ESO)
web@ed-phys.fr