1. HERMES travels by CAN bus
- Author
-
Keith Shortridge, Minh Vuong, Lewis Waller, Rolf Muller, Andrew I. Sheinis, and Tony Farrell
- Subjects
Chassis ,Instrument control ,Computer science ,business.industry ,Field bus ,CAN bus ,CANopen ,Software ,Data acquisition ,Industrial PC ,Embedded system ,Conventional PCI ,business ,Servo - Abstract
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.
- Published
- 2014
- Full Text
- View/download PDF