HERMES travels by CAN bus

The new HERMES spectrograph represents the first foray by AAO into the use of commercial off-the-shelf industrial field bus technology for instrument control, and we regard the final system, with its relatively simple wiring requirements, as a great success. However, both software and hardware teams had to work together to solve a number of problems integrating the chosen CANopen/CAN bus system into our normal observing systems. A Linux system running in an industrial PC chassis ran the HERMES control software, using a PCI CAN bus interface connected to a number of distributed CANopen/CAN bus I/O devices and servo amplifiers. In the main, the servo amplifiers performed impressively, although some experimentation with homing algorithms was required, and we hit a significant hurdle when we discovered that we needed to disable some of the encoders used during observations; we learned a lot about how servo amplifiers respond when their encoders are turned off, and about how encoders react to losing power. The software was based around a commercial CANopen library from Copley Controls. Early worries about how this heavily multithreaded library would work with our standard data acquisition system led to the development of a very low-level CANopen software simulator to verify the design. This also enabled the software group to develop and test almost all the control software well in advance of the construction of the hardware. In the end, the instrument went from initial installation at the telescope to successful commissioning remarkably smoothly.

[1]  J. Kern,et al.  The ALMA Telescope Control System , 2005 .

[2]  Keith Shortridge,et al.  The data flow system for the AAO2 controllers , 2004, SPIE Astronomical Telescopes + Instrumentation.

[3]  Andrew I. Sheinis,et al.  First light results from the HERMES spectrograph at the AAT , 2015, Astronomical Telescopes + Instrumentation.

[4]  Frederick G. Watson,et al.  Anglo-Australian Telescope's 2dF Facility , 1997, Other Conferences.

[5]  K. Shortridge,et al.  Progress in cancellable multi-threaded control software , 2010, Astronomical Telescopes + Instrumentation.

[6]  Samuelk C. Barden,et al.  HERMES: revisions in the design for a high-resolution multi-element spectrograph for the AAT , 2010, Astronomical Telescopes + Instrumentation.

[7]  Michael J. Brooks Controller area network for monitor and control in ALMA , 2000, Astronomical Telescopes and Instrumentation.

[8]  Don Mayfield,et al.  AAO2: a general purpose CCD controller for the AAT , 2004, SPIE Astronomical Telescopes + Instrumentation.

[9]  Tony Farrell,et al.  The software for the AAT's HERMES instrument , 2014, Astronomical Telescopes and Instrumentation.

[10]  Damien Jones,et al.  Integrating the HERMES spectrograph for the AAT , 2012, Other Conferences.

[11]  K. Shortridge,et al.  Faking it for pleasure and profit: the use of hardware simulation at AAO , 2010, Astronomical Telescopes + Instrumentation.

[12]  Keith Shortridge,et al.  DRAMA: an environment for distributed instrumentation software , 1995, Defense, Security, and Sensing.