Table of Contents
Telescope and observatory control system
Telescope control system
Telescope is a Planewave PW1000. It is controlled through the pwi1m computer in the 1m dome, running Windows. pwi1m has two network interfaces. One connects to the telescope internal network on 192.168.10.XXX. pwi1m is 192.168.10.40, the Maestro controller on the telescope is 192.168.10.50, and the OTA controller on the telescope is 192.168.10.60.
Software control is through Planewave's PWI4 software. This runs under Windows on pwi1m, and provides a graphical user interface, as well as an ASCOM driver and also a custom Planewave HTTP API.
Normal telescope control is done remotely through the ASCOM interface, but interacting with PWI4 directly provide additional functionality. In particular, PWI4 incorporates its own pointing model software.
The telescope ASCOM driver should be registered through ASCOM Remote to make it available through an ASCOM/Alpaca interface.
Camera control system
Acquisition camera is connected to pwi1m via USB. PWI4 has the capability to connect to an ASCOM camera, and this is needed for doing pointing models.
Normal camera control is done remotely through the ASCOM interface. The camera ASCOM driver should be registered through ASCOM Remote to make it available through an ASCOM/Alpaca interface.
Observatory control system
Dome hardware
The dome has motorized upper and lower slit sections. Control of the upper slit and dome rotation is done through a custom relay box on the S side of the dome constructed by the Autoscope Corporation; the lower slit is controlled through a box on the N side, designed and constructed by Dave Woods. There is a manual/automatic toggle to allow dome control either through switches on the side of the boxes, or via remote control. Relays to control the dome motors are 24V relays and are activated by setting input control lines to ground. The 24V power is supplied externally. A watchdog is implemented in automatic mode such that +24V needs to be supplied or else dome shutter will automatically close.
There is an encoder (BEI Motion Systems Optical Encoder E206-1000-3G) coupled to the dome motor drive shaft.
There is a magnetic home sensor installed on the E side of the dome; the home position when the magnet on the dome lines up with the sensor places the slit at an azimuth of 80 degrees.
Dome control
Dome control is implemented through software running on a Raspberry Pi, dome1m. . The Raspberry Pi has a RELAYPlates card with 7 relays, which control shutter direction, shutter power, dome direction, dome power, and watchdog reset. These relays connect the control lines to ground. The watchdog timer (Peltec) is set to drop power ~4 minutes after input power is turned off; hence, that relay should be triggered by cycling on/off every 3 minutes or so. Better to cycle instead of leaving it on in case some software failure occurs, but leaves relay energized.
4-pin connector J808A : Watchdog (dome box needs +24V or else shutter will close on Automatic)
Dome box | Peltec timer | ||||
1 | gnd | 18 | 15 | gnd | 15 connects to 18 for ~4 minutes after power is dropped between A1 and A2 |
3 | +24V DC | 28 | 25 | +24V | same for 25 and 18 |
A1 | relay 5 | gnd | trigger for relay, must cycle every 3 minutes to keep dome open (but don't leave energized permanently! | ||
A2 | +24V | same |
Note that connectors J805A and J0806A, both 4-pin, go to a single 9-pin connector, as originally implemented in Autoscope control box.
connector J805A : Supplies power and ground to box, and relay for dome power (org yel blu wires)
J805A pin | 9 pin connector | function | comment |
4 | 4 | +24V | voltage always supplied |
3 | 1 | gnd | |
2 | 2 | relay 1 grey | trigger connects pin to ground |
connector J806A : Supplies (redundant?) power and ground to box, and relay for dome direction (brn red grn wires)
J806A pin | 9 pin connector | function | comment |
4 | 9 | +24 | voltage always supplied |
3 | 8 | gnd | |
2 | 7 | relay 3 brown | trigger connects pin to ground |
connector J807A : Supplies relays for shutter power and direction
J807A pin | function | comment |
2 | relay 2 purple | trigger connects pin to ground |
3 | gnd | ground always supplied |
4 | relay 4 orange | trigger connects pin to ground |
5 | gnd | ground always supplied |
Encoder
The dome encoder gets +5V and ground from the RPi, and receives 5VDC signals from the A and B phases of the quadrature encoder. These are wired into RPi GPIO ports through a level converter that converts 5V to 3.3V. DC +5 and ground are connected to RPi power, A and B outputs are connected to level shifter input channels; level shifter output channels are connected to RPi GPIO pins. An independent ground from the cable shield may be very important, do not ignore!
Encoder pin | function | AMP pin | RPi/level shifter color | connection |
1 | +5VDC | 1 | red | RPi +5V |
2 | gnd | 2 | blk | RPi Gnd |
3 | Bbar | 3 | grn | B4 - A4 - GPIO 13 |
4 | B | 4 | yel | B3 - A3 - GPIO 12 |
5 | Zbar | 5 | ||
6 | Z | 6 | ||
7 | Abar | 7 | org | B2 - A2 - GPIO 6 |
8 | A | 8 | brn | B1 - A1 - GPIO 5 |
shield | 9 | grey | independent ground |
Home sensor
The home sensor gets +5VDC and ground from the RPi, and receives a signal on a GPIO port that is normally low, but goes high when the home magnet is in proximity to the sensor.S
Sensor wire | function | circular connector pin | RPi/level shifter color | connection |
shield | 1 | gry | independent ground | |
blk | signal | 2 | blu | B5 - A5 - GPIO 16 |
red | gnd | 3 | blk | RPi gnd |
grn | +DC | 4 | red | RPi +5V |
Cabling
- four-pin AMP to dome box
- four-pin AMP to dome box
- nine-pin AMP to dome box
- four-pin AMP to home sensor
- Ethernet cable
- power cord for power supply
- power cord for Raspberry Pi ?
- ground wire
- cable for lower dome
Old setup for relays
OLD Setup through Autoscope control box, which uses 5V Opto 22 relays.
OCS | RPi | |
50 grn | 5 | watchdog |
49 Pur | 7 | |
48 org | 2 | shutter power |
47 yel | 1 | dome power |
2 blu | 6 | |
3 brn | 4 | shutter direction |
4 red | 3 | dome direction |
42 blk | gnd |
An ASCOM/Alpaca driver was written to provide remote access to the dome control. The driver needs to be started when dome1m is rebooted.