telescope_and_observatory_control
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
telescope_and_observatory_control [2024/05/24 01:00] – holtz | telescope_and_observatory_control [2025/05/21 15:20] (current) – holtz | ||
---|---|---|---|
Line 5: | Line 5: | ||
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, | 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, | ||
- | Software control is through Planewave' | + | Software control is through Planewave' |
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. | 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. | ||
Line 13: | Line 13: | ||
===== Camera control system ===== | ===== 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 | + | 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 | + | Normal camera control is done remotely |
===== Observatory control system ====== | ===== Observatory control system ====== | ||
Line 21: | Line 21: | ||
==== Dome hardware ==== | ==== 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 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; |
- | There is an encoder coupled to the motor drive shaft. | + | There is an encoder |
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. | 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. | ||
Line 29: | Line 29: | ||
==== Dome control ==== | ==== Dome control ==== | ||
- | Dome control is implemented through software running on a Raspberry Pi, dome1m. | + | 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. |
+ | |||
+ | 4-pin connector J808A : Watchdog (dome box needs +24V or else shutter will close on Automatic) | ||
+ | | Dome box | | ||
+ | | 1 | gnd, white | ||
+ | | 3 | +24V DC, purple | 28 | ||
+ | | | | ||
+ | | | | ||
+ | |||
+ | 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 red | voltage always supplied | | ||
+ | | 3 | 1 | gnd white | ground always supplied | ||
+ | | 2 | 2 |relay 1 grey | trigger connects pin to ground | | ||
+ | |||
+ | connector J806A : Supplies (redundant? | ||
+ | |J806A pin | 9 pin connector| function | comment | | ||
+ | | 4 | 9 |+24 red | voltage always supplied | | ||
+ | | 3 | 8 | gnd white | ground always supplied | ||
+ | | 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 black| ground always supplied | | ||
+ | | 4 | relay 4 orange | trigger connects pin to ground | | ||
+ | | 5 | gnd black | 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 | 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 | ||
Line 44: | Line 75: | ||
| 8 | A | 8 | brn | B1 - A1 - GPIO 5 | | | 8 | A | 8 | brn | B1 - A1 - GPIO 5 | | ||
| | shield| 9 | grey | independent ground | | | | 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 | 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 | ||
Line 52: | Line 85: | ||
| grn | +DC | 4 | red | RPi +5V | | | grn | +DC | 4 | red | RPi +5V | | ||
- | === Dome control through Autoscope box on dome wall === | ||
- | |||
- | connector J808A : Watchdog (dome box needs +24V or else it will close) | ||
- | | Dome box | | ||
- | | 1 | gnd | ||
- | | 3 | +24V DC | 28 | ||
- | | | | ||
- | | | | ||
- | |||
- | connector J805A : Dome power org yel blu | ||
- | | 4 | 4 | +24V | voltage always supplied | | ||
- | | 3 | 1 | gnd | ground always supplied | ||
- | | 2 | 2 |relay 1 grey | trigger connects pin to ground | | ||
- | connector J806A : Dome direction brn red grn | + | ===== Cabling ===== |
- | | 4 | 9 |+24 | voltage always supplied | | + | |
- | | 3 | 8 | gnd | ground always supplied | + | |
- | | 2 | 7 | relay 3 brn | trigger connects pin to ground | | + | |
- | connector J807A : Shutter power and direction | + | - four-pin AMP to dome box |
- | | 2 | relay 2 pur | trigger connects | + | - four-pin AMP to dome box |
- | | 3 | gnd| ground always supplied | | + | - nine-pin AMP to dome box |
- | | 4 | relay 4 org | trigger connects | + | - four-pin AMP to home sensor |
- | | 5 | gnd | ground | + | - Ethernet cable |
+ | - power cord for power supply | ||
+ | - power cord for Raspberry Pi ? | ||
+ | - ground | ||
+ | - cable for lower dome | ||
+ | ===== Old setup for relays ===== | ||
- | OLD Setup through Autoscope control box, which uses 5V relays | + | OLD Setup through Autoscope control box, which uses 5V Opto 22 relays. |
- | |OCS | RPi | | + | |OCS |RPi | |
|50 grn | 5 | watchdog | | |50 grn | 5 | watchdog | | ||
|49 Pur | 7 | | | |49 Pur | 7 | | |
telescope_and_observatory_control.1716512444.txt.gz · Last modified: 2024/05/24 01:00 by holtz