David's Astronomy Pages
Notes - Session 938 (2021-11-28)

 
Bullet Session Aims & Highlights
 - Observing Result
 - Night Summary Plot
 - Session Event Log
 
Bullet Operational Issues
  - Critical Issues (0),  Major Issues (2),  Minor Issues (7),  Small Defects (4),  Continuous Improvement (16)
 
Bullet Images from 2021-11-28 >>         [ Local Files >> ]
Bullet Investigation - Dome not reporting correct ShutterState
2021-12-01
Bullet Review - Dome Shutter Operations

Session Aims & Highlights (2021-11-28)

Main aims

  1. Targets.  Acquire images of a selection of variable stars, nearby stars, comets & deep sky targets as allowed by time & conditions.
  2. Guiding Performance.   Review Guiding Performance following Polar Alignment adjusment and Ra/Dec Drive training.
  3. Wind Exclusion Zone.  Test new procedures that create and use a Azimuthal Exclusion Zone to avoid facing telescope into moderate/strong wind.

Equipment & Software

Highlights

Notes:

  Summary Plots & Logs

Observing Plan
Image
  
Observing Result
Image
   
  
Dome & Scope Slewing Performance
Image
  
Slew/Centering Performance
Image
  
Guiding Performance
Reasons for poor Dec guiding :

Black point (6, 9, 11)    - cloud/lost star 
Red point (5)    issue with Dec Guide Mode selection & excessive Dec jumps on Dec Guide mode changes 
Orange point (4)    - star on wrong side for the Guide Mode selected, also arge RA anomalies whilst output suspended due to lost star events 
Orange point (7)    - excessive Dec jump (cable hang-up?) left star on wrong side for selected Dec guide mode.
Orange point (12)    - scope position not responding well to 'S' guide pulses during first 4 mosaic points
Yellow point (8)    - scope position not responding well to 'S' guide pulses during first 3 frames. 
Yellow point (1)   - several large RA Spikes (west sky)
    
Image
Image
  
Sky Conditions (Locate Frames)
Image
 
Night Sky Summary Plot
Top axis: Sky Brightness at Zenith (in ADU/s)
Lefthand axis: Local Time (hh LT). Righthand axis: Sun Altitude (degs)

Image   
  
Actual Weather vs Pre-Session Weather Forecast
Image
Image   
  
Session Event Log
Time     Event Detail
18:20:35 Session Monitoring AutoStart monitoring for Live Session opportunity between 18:20 & 06:02
18:20:37 Session AutoStarting Session autostarting (18:20)
18:21:08 Session Created Live Session Created (2021-11-28 S00938, ImageSaveNum: 938001)
18:21:10   Scope Switched On Telescope Power has been switched on via UPB Powerbox.
18:22:53   Services Started Observatory Services started
18:22:59 Observatory (Auto) Observatory placed in Fully-Automated Mode
18:23:02 Session Pending Session pending (2021-11-28)
18:23:04 Session Initiating Session initiating (2021-11-28)
18:23:06   Plan Requested Observing Plan requested from AstroPlan (1.28.1)
18:29:46 Observatory (Manual) Observatory placed in Manual Mode
18:30:41 Observatory (Auto) Observatory placed in Fully-Automated Mode
18:30:42 Session Pending Session pending (2021-11-28)
18:30:44 Session Initiating Session initiating (2021-11-28)
18:30:46   Plan Requested Observing Plan requested from AstroPlan (1.28.1)
18:45:17 Observatory (Manual) Observatory placed in Manual Mode
18:46:49 Observatory (Auto) Observatory placed in Fully-Automated Mode
18:46:53 Session Pending Session pending (2021-11-28)
18:46:56 Session Initiating Session initiating (2021-11-28)
18:46:58   Plan Requested Observing Plan requested from AstroPlan (1.28.2)
18:48:09   Plan Loaded Observing Plan loaded to queue (, Plan ID: 689)
18:48:34   Camera1 Connected SBIG Camera Connected (set point -25°C)
18:48:41   Telescope Connected Telescope Connected (TheSky6)
18:49:09 Session Equilibration Session ready for dome & camera equilibration
18:49:55   Dome Opened Dome opened (opening time 45s)
18:50:00 Session Running Session running
18:50:02   Queue Started Observing Queue started (40 targets selected)
18:50:06     Target Started (NrZen) Target started (Focus Field 23, HIP 113729)
18:51:48       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
18:52:40       Focusing Aborted Foc1 Focusing Aborted
18:52:44       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
18:52:51     Target Completed Target completed (Focus Field 23, HIP 113729)
18:52:53   Queue Aborted Job Queue aborted
18:54:20 Observatory (Auto) Observatory placed in Fully-Automated Mode
18:54:22 Session Pending Session pending (2021-11-28)
18:54:24 Session Initiating Session initiating (2021-11-28)
18:54:26   Plan Requested Observing Plan requested from AstroPlan (1.28.2)
18:55:33   Plan Loaded Observing Plan loaded to queue (, Plan ID: 689)
18:55:46   Camera1 Connected SBIG Camera Connected (set point -25°C)
18:55:52   Telescope Connected Telescope Connected (TheSky6)
18:56:16 Session Equilibration Session ready for dome & camera equilibration
18:56:26 Session Running Session running
18:56:28   Queue Started Observing Queue started (33 targets selected)
18:56:31     Target Started (NrZen) Target started (Focus Field 23, HIP 113729)
18:57:56       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
19:01:36       Focusing Completed Foc1 AutoFocus Completed (Profile No 1, wide)
19:04:17       Focusing Completed Foc1 AutoFocus Completed (Profile No 1)
19:04:19       Focusing Started-Foc2 Foc2 Focusing Started (Secondary Scope, using ShCap)
19:06:47       Focusing Completed Foc2 AutoFocus Completed (Profile No 2, wide)
19:08:37       Focusing Completed Foc2 AutoFocus Completed (Profile No 2)
19:08:54     Target Completed Target completed (Focus Field 23, HIP 113729)
19:08:59     Target Started (1/33) Target started (1/33, NGC 6627 w/SN2021abkm)
19:14:25       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
19:16:32       Focusing Completed Foc1 AutoFocus Completed (Profile No 3)
19:33:42     Target Completed Target completed (1/33, NGC 6627 w/SN2021abkm)
19:33:46     Target Started (2/33) Target started (2/33, AT2021bag)
19:37:35       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
19:41:20 Critical RainThreat Alert Critical Rain Threat Alert (Obs.Manager will close the Shutter)
19:41:22   HardSuspend Called Hard Suspend is called due to Critical Conditions (threat of rain)
19:41:24     Target Aborted (2/33) Target aborted (2/33, AT2021bag) due to threat of rain
19:41:26   Queue Paused Queue paused for Session Suspension
19:41:28 Session Suspended Session suspended
19:42:15   Dome Closed Dome closed (closing time 50s)
19:49:38     Target Cancelled Target cancelled (2/33, AT2021bag) due to other condition
20:10:27 Session Resuming Session resuming
20:11:12   Dome Opened Dome opened (opening time 45s)
20:11:14 Session Running Session running
20:11:16   Queue Resumed Observing Queue resumed
20:11:19     Target Started (3/33) Target started (3/33, M31 w/AT2021boa)
20:19:36     Target Completed Target partially completed (3/33, M31 w/AT2021boa)
20:19:41     Target Started (4/33) Target started (4/33, UGC 235 w/SN2021aazm)
20:22:26       Focusing Skipped Foc1 focusing skipped - unable to find a star (TCF-S)
20:26:34   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
20:28:24 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter)
20:28:26   HardSuspend Called Hard Suspend is called due to Critical Conditions (cloud)
20:28:29     Target Aborted (4/33) Target aborted (4/33, UGC 235 w/SN2021aazm) due to cloud
20:28:31   Queue Paused Queue paused for Session Suspension
20:28:34 Session Suspended Session suspended
20:29:24   Dome Closed Dome closed (closing time 50s)
20:34:22     Target Cancelled Target cancelled (4/33, UGC 235 w/SN2021aazm) due to other condition
20:34:50 Session Resuming Session resuming
20:35:35   Dome Opened Dome opened (opening time 45s)
20:35:37 Session Running Session running
20:35:39   Queue Resumed Observing Queue resumed
20:37:27     Target Started (5/33) Target started (5/33, Whiting 1)
20:41:03       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
20:50:24     Target Completed Target completed (5/33, Whiting 1)
20:51:52     Target Started (6/33) Target started (6/33, C/2019 L3 (ATLAS))
20:56:34       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
20:58:41       Focusing Completed Foc1 AutoFocus Completed (Profile No 4)
21:07:29     Target Completed Target completed (6/33, C/2019 L3 (ATLAS))
21:07:33     Target Started (7/33) Target started (7/33, Nova Cas 2021)
21:10:53 Critical RainThreat Alert Critical Rain Threat Alert (Obs.Manager will close the Shutter)
21:10:55   HardSuspend Called Hard Suspend is called due to Critical Conditions (threat of rain)
21:11:05     Target Aborted (7/33) Target aborted (7/33, Nova Cas 2021) due to threat of rain
21:11:07   Queue Paused Queue paused for Session Suspension
21:11:10 Session Suspended Session suspended
21:11:58   Dome Closed Dome closed (closing time 50s)
21:18:17     Target Cancelled Target cancelled (7/33, Nova Cas 2021) due to other condition
21:38:09     Target Cancelled Target cancelled (8/33, NGC 1587) due to other condition
21:49:06 Session Resuming Session resuming
21:49:51   Dome Opened Dome opened (opening time 45s)
21:49:53 Session Running Session running
21:49:55   Queue Resumed Observing Queue resumed
21:49:56     Target Started (9/33) Target started (9/33, AT2021zkf)
22:08:01     Target Completed Target partially completed (9/33, AT2021zkf)
22:08:05     Target Started (10/33) Target started (10/33, AT2021fmi (CV))
22:18:38     Target Completed Target completed (10/33, AT2021fmi (CV))
22:18:42     Target Started (11/33) Target started (11/33, AT2021aetv (CV))
22:21:55       Focusing Started-Foc1 Foc1 Focusing Started (TCF-S)
22:26:37       Focusing Completed Foc1 AutoFocus Completed (Profile No 5)
22:32:33     Target Completed Target partially completed (11/33, AT2021aetv (CV))
22:32:38     Target Started (12/33) Target started (12/33, NGC 1166 w/SN2021zby)
22:35:56       Focusing Skipped Foc1 focusing skipped - star is too dim (TCF-S)
22:42:06 Critical Rain Alert Critical Rain Alert (Obs.Manager will close the Shutter)
22:42:08   HardSuspend Called Hard Suspend is called due to Critical Conditions (rain)
22:42:12     Target Aborted (12/33) Target aborted (12/33, NGC 1166 w/SN2021zby) due to rain
22:42:14   Queue Paused Queue paused for Session Suspension
22:42:16 Session Suspended Session suspended
22:43:06   Dome Closed Dome closed (closing time 50s)
22:47:07     Target Cancelled Target cancelled (12/33, NGC 1166 w/SN2021zby) due to rain
22:59:25     Target Cancelled Target cancelled (13/33, GCVS BL Lac) due to rain
23:08:58 Session Resuming Session resuming
23:09:44   Dome Opened Dome opened (opening time 45s)
23:09:46 Session Running Session running
23:09:48   Queue Resumed Observing Queue resumed
23:09:50     Target Started (14/33) Target started (14/33, 132P/Helin-Roman-Alu)
23:17:04   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
23:17:29   Dome Closed Dome closed (closing time 40s)
23:17:31     Target Aborted (14/33) Target aborted (14/33, 132P/Helin-Roman-Alu) due to threat of rain
23:17:33   Queue Paused Queue paused for Session Suspension
23:17:34 Session Suspended Session suspended
23:17:37   Dome Closed Dome already closed (closed at 23:17, closing time 40s)
23:26:25   Services Stopped Observatory Services stopped
23:27:01   Obs.Manager Started Obs.Manager started
23:27:03   Obs.Overseer Started Obs.Overseer started
23:27:07   Services Started Observatory Services started
23:27:15   Queue Aborted Job Queue aborted
23:27:25   Services Stopped Observatory Services stopped
23:27:27 Program Closed Program closed by User
23:28:59 Session Resumed Live Session Resumed (2021-11-28 S00938, ImageSaveNum: 938072)
23:29:21   Obs.Manager Started Obs.Manager started
23:29:23   Obs.Overseer Started Obs.Overseer started
23:29:27   Services Started Observatory Services started
23:30:46   Services Started Observatory Services started
23:31:12   Telescope Connected Telescope Connected (TheSky6)
23:31:36   Camera1 Connected SBIG Camera Connected (set point -25°C)
23:32:20 Observatory (Auto) Observatory placed in Fully-Automated Mode
23:32:22 Session Pending Session pending (2021-11-28)
23:32:24 Session Initiating Session initiating (2021-11-28)
23:32:31   Plan Loaded Observing Plan loaded to queue (, Plan ID: 689)
23:32:43   Camera1 Connected SBIG Camera Connected (set point -25°C)
23:32:49   Telescope Connected Telescope Connected (TheSky6)
23:33:13 Session Equilibration Session ready for dome & camera equilibration
23:33:15 Wait On Weather Waiting for acceptable conditions
23:33:17 Session Suspended Session suspended
23:33:19   Dome Closed Dome already closed (closure time is unknown)
23:33:21   Queue Started Observing Queue started (19 targets selected)
23:49:23     Target Cancelled Target cancelled (15/33, SDSS J015800_654253) due to cloud
00:11:45     Target Cancelled Target cancelled (16/33, UGC 12506) due to other condition
00:23:52 Session Resuming Session resuming
00:24:37   Dome Opened Dome opened (opening time 45s)
00:24:39 Session Running Session running
00:24:41   Queue Resumed Observing Queue resumed
00:24:44     Target Started (17/33) Target started (17/33, NGC 2158)
01:14:31     Target Completed Target partially completed (17/33, NGC 2158)
01:14:35     Target Started (18/33) Target started (18/33, UGC 1971 w/AT2021afkk)
01:28:13   SoftSuspend Called Soft Suspend is called due to Deteriorating Conditions (too few stars)
01:34:31     Target Completed Target completed (18/33, UGC 1971 w/AT2021afkk)
01:34:33   Queue Paused Queue paused for Session Suspension
01:34:35 Session Suspended Session suspended
01:35:23   Dome Closed Dome closed (closing time 50s)
01:49:35     Target Cancelled Target cancelled (19/33, SBS 0951+534 w/SN2021hmc) due to other condition
02:11:57     Target Cancelled Target cancelled (20/33, UGC 5751 w/SN2021abcw) due to cloud
02:34:19     Target Cancelled Target cancelled (21/33, NGC 4583 w/AT2021aetw) due to cloud
02:56:41     Target Cancelled Target cancelled (22/33, NGC 2525) due to cloud
03:17:53     Target Cancelled Target cancelled (23/33, 67P/Churyumov-Gerasimenko) due to cloud
03:38:00     Target Cancelled Target cancelled (24/33, IC 190 w/SN2021abko) due to cloud
04:00:22     Target Cancelled Target cancelled (25/33, UGC 4299) due to cloud
04:14:45     Target Cancelled Target cancelled (26/33, AT2021efk (CV)) due to cloud
04:31:14     Target Cancelled Target cancelled (27/33, C/2021 A1 (Leonard)) due to cloud
04:51:06     Target Cancelled Target cancelled (28/33, UGC 8975 w/AT2021adpe) due to cloud
05:19:46     Target Cancelled Target cancelled (29/33, NGC 4889) due to cloud
05:37:20 Session Resuming Session resuming
05:38:50   Dome Opening Dome opening hasn't finished after 90s
05:39:01 Session Suspended Session suspended
05:42:08     Target Cancelled Target cancelled (30/33, UGCA 216) due to other condition
06:04:30     Target Cancelled Target cancelled (31/33, Hickson 72) due to cloud
06:25:20 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter)
06:25:25 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter)
06:25:30 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter)
06:26:52     Target Cancelled Target cancelled (32/33, Hickson 46) due to cloud
06:31:05 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter)
06:51:14     Target Cancelled Target cancelled (33/33, AT2021flg (CV)) due to cloud
06:51:19   Queue Completed Job Queue completed
06:51:22 Session Closing Session closing
06:52:57 Critical Cloud Alert Critical Cloud Alert (Obs.Manager will close the Shutter)
08:39:56 Observatory (Manual) Observatory placed in Manual Mode
08:40:17   Services Stopped Night Services stopped
08:42:34   Telescope Parked User recorded telescope parked using DeviceHub (Park)
08:54:22   Services Started Observatory Services started
08:57:00 User Intervention User request to close and finish session
08:57:57   Telescope Switched Off Telescope Power has been switched off via UPB Switch.
08:58:21 Session Closing Session closing
08:59:29   Services Stopped Night Services stopped
08:59:31 Session Housekeeping Housekeeping Started (Cleanup FITS, Create Fits Summary, Transfer Files)
08:59:54 Session Finished Session Finished
 
 
Session Alerts
Time     Alert Detail
23:16:49 Unexpected Dome Closure Dome is unexpectedly closing (Poor Conditions)
05:57:51 Dome Shutter Pulsar Shutter is deemed to be asleep (last fresh data was at 05:37:46)
 

Back to Top


Operational Issues (2021-11-28, S938)

[ Prev | Next ]

Critical Issues

Major Issues

Minor Issues

Small Defects

Continuous Improvement

[ Prev | Next ]

Back to Top


Investigation - Dome not reporting correct ShutterState

Issue.    Closing Session task stalled whilst attempting to the close the Observatory Shutter / Dome not reporting correct Shutter State.

Description.   Checking Session status via web page in morning indicated that Observatory Shutter was Open. A look from the house window showed that the Dome wasn't parked. The shutter couldn't be fully seen but enough could be seen to show that it was 95% closed or 100% closed.     Remote connection to the observatory computer showed Device Hub was displaying the Dome at Az 255 , and  'slewing' (alternating between closing and opening states) .  Visiting the Observatory showed that the shutter was closed, but the Device Hub was still showing the Dome as slewing and alternating between closing and opening states.   Although Shutter was closed the shutter was tight against the lower lip of the shutter aperture. 

The Dome Control Unit's Shutter Information showed that the Shutter Battery was at 91% (so ok).   Dome was parked (some slipping noticed), Dome connections were closed and  Pulsar Dome Unit rebooted (power turned off / turned on).  This seems to have resolved things.    Telescope Parked via Device Hub and Powered off.  Session ended using 'Close/Finish Session' button. 

Analysis

Shutter first opened at 18:49 and then underwent 6 close/reopen cycles due to short cloud/snow shower events with a 7th shutter closing at 01:34 when thicker high cloud developed.  Shutter remained closed until 05:37 when condition slightly improved and shutter was commanded to open.  Shutter was reported to not have become open after 90s with the message there 'may be a mechannical, electrical of software issue' with reporting of 'Dome will be close'.   Session resumption failed and the session returned to Suspended State. 

From 06:25 onwards (when Clarity values dropped below 24) the Obs.Manager started issuing Critical Cloud and Critical RainThreat Alerts every 5s/10s with the message 'Observatory Manager will close the Dome'.

Pulsar Log shows following :-

05:37:19  Shutter 1 (Closed)
05:37:20  OpenShutter
05:37:21  ShutterStatus 2 (Opening)
05:37:22  Shutter 2 (Opening)
05:38:51  CloseShutter
05:38:51  ShutterStatus 3 (Closing)
05:38:51  Shutter 2 (Opening)
05:38:51  ShutterStatus 2 (Opening)
05:39:01  CloseShutter

   etc    Shutter 2 (Opening)
06:25:20  CloseShutter
06:25:30  CloseShutter
06:25:40  CloseShutter
  etc     ShutterStatus 2 (Opening)
  ect     ShutterStatus 3 (Closing)
  etc     Shutter 2 (Opening)
  etc     CloseShutter
08:40:27  CloseShutter
08:42:50  CloseShutter
08:53:16  Shutter 2 (Opening)

AstroGuard and DeviceHub show the Dome Status alternating between Opening and Closed states.
Pulsar logs confirm this. After each CloseShutter command, the Pulsar sets ShutterStatus to 3 (Closing), but this isn't heard by or acted upon by the Shutter, which a moment later returns Shutter State 2 (Opening).

Conclusion
This would seem to be a glitch in the Dome/Shutter System, which resolved itself after being rebooted.  

It is possible, but not certain, that the problem related to a hypothesized mechanical issue opening the shutter at 05:37 whereby the shutter was tight against the lip of the lower aperture due to a bulge in panel below lower aperture (something which stopped the shutter from closing in S932, see Investigation - Shutter failed to fully close (2021-11-10) ), coupled with the particular orientation of the shutter & possible icing,  and as a consequence insufficient torque could be generated to open the shutter, which stalled and left the shutterstatus on 'opening'.

AstroMain acted according to its design, and kept trying to Close the shutter every 5/10s when it reported that it was 'opening' and weather conditions indicated that it wasn't safe to be open.

AstroGuard acted according to its design and monitoring the situation. It didn't intervene as Shutter state kept switching back to Closing.

Key thing is that shutter was closed (not open) through this time and the observatory was therefore physically safe.

Should there have been a point when after trying a certain number of times that Obs.Manager should given up trying to Close Shutter ?

After a certain number of cycles Obs.Manager should probably have monitored the dome for a while and determined that the 'Opening' state never turned into an 'Open' State, and therefore there must be some showstopping issue with Dome Driver or Dome itself that made it non-operational.  Obs.Manger should then issued an Alert and reduced the frequency at which further close attempts are made.   

AstroGuard needs to also have similar behaviour or communication with AstroMain otherwise it will continue making Dome Close requests.

Update 2023-11-09

Since Oct 2022 the observatory has had a zigbee sensor at the bottom of Dome's shutter that provides independant indication of when the shutter is fully closed, and this has worked well .  Following an incident in the S1162 session where the shutter was reported to have not finished opening after 90s,  and unable to tell when the shutter physically become fully open it would be useful to have an extra zigbee sensor at the top of the shutter to indicate when the shutter is fully open.

A new Zigbee Sensor of the same type was fitted to the top of the shutter on 2023-11-09 and AstroMain 3.64.5 modified to report the open/opening/closing/closed status of the shutter independant of the Pulsar Dome driver (see New Zigbee Sensor for Dome's Shutter (Top), 2023-11-09)

Back to Top


2021-12-01


Review - Dome Shutter Operations

This review summarises the routines and safeguards associated with opening and closing the Observatory Dome. 

It has been made in response to an investigation into a dome opening issue during sesssion S938 (2021-11-28), and other dome opening/closing issues over the past 2 years.

Overview.  
Being able to operate the Observatory Shutter remotely and also robotically  is critical to the safe and effective functioning of the Observatory.   Preventing the opening of the dome or closing it in the event of inclement weather (especially rain or snow) is particularly critical.

Whilst the Shutter can be manually operated via the Main Dome Control Unit,  a Red Button on the Shutter Drive Unit, or via Pulsar Dome Software in practice the shutter is normally operated via an ASCOM connection from the AstroMain Observatory Control Program to the Pulsar Dome via DeviceHub & Pulsar ASCOM Driver.   This ASCOM driven operation of the shutter may from manually initiated requests to open/close the shutter or more usually in response to automated operation of the observatory.

Shutter Mechanism
Shutter is opened and closed by a Shutter Drive Unit using a motor with toothed sprocket that turns a heavy-duty plastic chain attached to the shutter. This is powered by a 15V lithium battery which automatically recharges via an induction charger when the Dome is at its Park position.  Limit sensors are depressed when the shutter is fully open or fully closed to tell the Drive Drive the state of the shutter. The Shutter Drive Unit communicates with the Main Dome Control Unit via radio/bluetooth, informing the Control Unit about the status of the shutter and of the battery and responding to requests to open or close the shutter.

The shutter mechanism is generally fairly reliable, and operates 98% of the time witthout an issue,  but there are some critical weaknesses which have given problems in the past and could do so again.   (discussed further below)

Safeguards
The following safeguards are present to ensure that dome is closed during bad weather or other critical circumstance.

Potential Points of Failure
Points of potential residual failure are as follows:

 

AstroMain

Principal software control of the shutter lies with the AstroMain observatory control program. Key components are

Open Shutter (Detail)

Opening the Shutter is performed by calling Dome.OpenShutter() routine.  This makes final checks that it is safe to open the Shutter. It is safe to open the dome and opening operations aren't already in progress it calls Dome.OpenShutterByThread() routine. This starts Dome.OpenShutterTask() as a threaded operation (to prevent any chance of it locking up the calling process) , which calls objDome.OpenShutter to perform the actual action.  The OpenShutterTask routine checks progress after 10s and if the Dome hasn't started to open it makes a second call to objDome.OpenShutter, provided that weather/environmental conditons are still ok for opening the dome.

Dome.OpenShutter () is called from 4 places :

- from User Interface
   - Open Shutter button (btnToggleDomeShutter.Click) when requested by user (manual mode)

- from Obs.Manager daemon
    -  SetState_Resuming() when session is resuming following a previous suspension
    -  MainLoop()  during Session.Equilibrating when conditions ok and shutter not aleady open
    -  MainLoop()  during Session.Continuing when conditions ok and shutter not aleady open

Close Shutter (Detail)

Opening the Shutter is performed by calling Dome.CloseShutter() routine. Provided that closing operations aren't already in progress it calls Dome.CloseShutterByThread().  This starts Dome.CloseShutterTask() as a threaded operation (to prevent any chance of it locking up the calling process) , which calls objDome.CloseShutter to perform the actual action.  The CloseShutterTask routine checks progress after 10s and if the Dome hasn't started to close  it makes a second call to objDome.CloseShutter.

Dome.CloseShutter () is called from 18 places:

- from Buttons on User Interface
       - Close Dome button (btnToggleDomeShutter.Click)  when operating in manual mode
       - Park Dome button   (btnParkDome.Click)
      -  Restart DeviceHub button (btnRestartDeviceHub.Click / RestartDeviceHub()

- from Dome Object
    -  DomeCloseShutterAndWait()
    -  Dome.CloseShutter2()  (2 places)
    -  Dome.ParkDome (2 places)

- from Obs.Manager daemon
    - SetState_Suspended()  when session is being suspended due to bad conditions
    - MainLoop() during Session.Suspended when conditions ok and shutter not already open
    - MainLoop() during 'End of Session/Catch All rule
    - MainLoop() during Review Dome Lock rule
    - MainLoop() during Snow Protection rule
    - MainLoop() during Ensure Shutter is closed is session is suspended (backup) rule
    - MainLoop() during MustClose / Session.Running / 'Initiate Close Dome immediately in event of rain or thick cloud'
    - MainLoop() during MustClose / Other State (Automated)
    - MainLoop() during MustClose / Manual Mode
    - PerformDomeMonitoring()  when trying to reverse a failed OpenShutter operation

PerformDomeMonitoring (Detail)

The normal flow path in PerformDomeMonitoring is that the progress of a dome opem/close operation (open shutter or close shutter) is monitored, that movement of the shutter is reported when first seen (dome is opening or dome is closing) and reported when the operation has completed (dome is open or dome is closed).   When the operation is interrupted, such as when dome closing is started because cloud thickens or it starts raining while dome is opening, this is reported and monitoring switches to monitoring the closure.  If an open or close operation hasn't completed within a certain time (90s) then there is deemed to be an error somewhere (either mechanical, electrical, comms or driver) and this is flagged as an alert requiring interventation.

Self diagnosis & actions for self resolution are still at an early stage.    Program has the capability to a) read / understand the ASCOM Log from the Dome and this can show up discrepencies between what the Pulsar Dome considers the status of the shutter to be versus what ASCOM driver is saying.   b) Restart the Dome Driver (disconnects Dome from AstroMain and sends a message to AstroGuard from the Dome, which should mean that all clients to Dome are now closed, connections to Dome are then automatically remade).  These can be helpful in some circumstances.  

Control Issues

Code Changes (2021-12-03)

AstroMain 3.48 contains a number of cosmetic and small technical improvements and enforcements of the design described above.
 

Tests (2021-12-03)  - ShutterStatus 4 / ShutterError

When Shutter is opening , regardless of how it was commanded to open (DeviceHub or Client),  the title of the 'Shutter' button in Device Hub changes to 'Opening in Progress' and the button is grayed/disabled. The only way to reverse the movement when it is moving and close the shutter in Device Hub is to click the red square 'Abort' button and then click the  'Close Button' which has retitled itself and become enabled again.

When the Shutter has a ShutterError state (meaning unknown position), the only follow-up movement that is possible in DeviceHub is to Close the Shutter (an Open Button is never presented as an option when shutter has the error state).

When using with Dome Simulator,  and with Shutter in ShutterError state, it is found that clicking on the Simulator's 'Open'  button produces the message 'Shutter must be Closed to clear the error'. 
  
It would seem a prudent course of action - if there is an error, then closing the shutter is a safer bet than trying to open the shutter. 

When DeviceHub's Dome Abort button is used (which calls Dome.AbortSlew) the ShutterStatus reported by the DeviceHub.Dome connected to Pulsar Observatories Dome is '4' (ShutterError).  (Due to a bug in the Pulsar ASCOM Dome Driver the error state is written as '5' in the Pulsar ASCOM log file, however it probably fires the correct value (4) back to DeviceHub.

During S939 the Pulsar ASCOM log did actual report a ShutterStatus 4 during open closing shutter attempt.  Suggests that Pulsar's state 4 and stare 5 might mean different things ?   (The ASCOM Standard set of ShutterStates only includes State 4, it doesn't have a State 5)

Update 2023-11-09

Since Oct 2022 the observatory has had a zigbee sensor at the bottom of Dome's shutter that provides independant indication of when the shutter is fully closed, and this has worked well .  Following an incident in the S1162 session where the shutter was reported to have not finished opening after 90s,  and unable to tell when the shutter physically become fully open it would be useful to have an extra zigbee sensor at the top of the shutter to indicate when the shutter is fully open.

A new Zigbee Sensor of the same type was fitted to the top of the shutter on 2023-11-09 and AstroMain 3.64.5 modified to report the open/opening/closing/closed status of the shutter independant of the Pulsar Dome driver (see New Zigbee Sensor for Dome's Shutter (Top), 2023-11-09)

Back to Top