David's Astronomy Pages
Notes - Session 822 (2020-10-26)

 
Bullet Session Aims & Highlights
 - Observing Result
 - Night Summary Plot
 - Session Event Log
 
Bullet Operational Issues
  - Critical Issues (0),  Major Issues (0),  Minor Issues (2),  Continuous Improvement (3)
Bullet Images from 2020-10-26 >>
Bullet Investigation :  False 'Failed to Park' Alerts during Dome Parking - a timing gotcha
2020-10-28
Bullet TS80/178MC - Software Review
Bullet 178MC Dark Frames
Bullet ASCOM Conform Tests - Pulsar Dome Driver
 

Session Aims & Highlights (2020-10-26)

Main aims -

  1. Cam1 Guiding. Test routines and settings for guiding using LX200/ST10 (main scope, north down images) whilst imaging with TS80/178MC (secondary scope)
  2. Targets.  Acquire images of a selection of deep sky targets
  3. Bug fixes.  Check that bugs discovered in last session in AstroMain 3.31.1 have been fixed, and that recent new features are working ok

Equipment & Software

Highlights

Lowlights

Summary Plots & Logs

Observing Plan
Image
  
Observing Result
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   
  
Pre-Session Weather Forecast (API data from darksky.net)
Pre-Session Weather forecast was poor in first part of night (65-89% cloud cover with high probability of rain),
but partially clear from 21:00 onwards (dry, light winds and 48 to 51% cloud cover).  Minimum temperature 7°C>

In the event rain some rain around dusk quickly stopped and clear patches developed at around 20:30 and 22:30.
A session was started but conditions rapidly cloud over and they were no further clear patches suitable for observing.
Wind was fairly light and min temperature was .
Image
Image   
  
Session Event Log
Time     Event Detail
22:32:23 Session Created Live Session Created (2020-10-26 S00822, ImageSaveNum: 822001)
22:33:02   Scope Switched On Telescope Power has been switched on via UPB Powerbox.
22:34:54   Obs.Manager Started Obs.Manager started
22:34:56   Obs.Overseer Started Obs.Overseer started
22:34:59   Services Started Observatory Services started
22:35:54   Dome Opened Dome opened (opening time 44s)
22:36:36   Telescope Connected Telescope Connected (TheSky6)
22:36:54   Camera1 Connected SBIG Camera Connected (set point -15°C)
22:40:34     Target Started (1/1) Target started (1/1, M33)
22:51:50 Critical RainThreat Alert Critical Rain Threat Alert (Obs.Manager will close the Shutter)
22:51:55 Critical RainThreat Alert Critical Rain Threat Alert (Obs.Manager will close the Shutter)
22:52:35   Dome Closed Dome closed (closing time 40s)
22:52:59     Target Completed Target partially completed (1/1, M33)
22:54:36     Target Started (1/1) Target started (1/1, M38). Using SharpCap
22:56:28     Target Failed Target failed due to centering error (1/1, M38)
22:57:30 Observatory (Auto) Observatory placed in Fully-Automated Mode
22:57:31 Session Pending Session pending (2020-10-26)
22:57:33 Session Initiating Session initiating (2020-10-26)
22:57:35   Plan Requested Observing Plan requested from AstroPlan (1.16.9)
22:58:11   Plan Loaded Observing Plan loaded to queue (2020-10-26 V1 BEST PLAN, Plan ID: 557)
22:58:14   Camera1 Connected SBIG Camera Connected (set point -15°C)
22:58:19   Telescope Connected Telescope Connected (TheSky6)
22:58:29 Session Equilibration Session ready for dome & camera equilibration
23:00:31 Wait On Weather Waiting For acceptable conditions
23:00:33 Session Suspended Session suspended
23:00:35   Dome Closed Dome already closed (closed at 22:52, closing time 40s)
23:00:37   Queue Started Observing Queue started (25 targets selected)
23:09:41     Target Cancelled Target cancelled (1/25, GCVS HH And) due to cloud
23:17:56     Target Cancelled Target cancelled (2/25, GCVS RX And) due to cloud
23:33:28     Target Cancelled Target cancelled (3/25, NGC 514) due to cloud
23:46:00     Target Cancelled Target cancelled (4/25, GSC 1224:29) due to cloud
23:54:36     Target Cancelled Target cancelled (5/25, GCVS GK Per) due to cloud
00:03:01     Target Cancelled Target cancelled (6/25, WDS GRB 34) due to cloud
00:14:17     Target Cancelled Target cancelled (7/25, GCVS TT Ari) due to cloud
00:34:24     Target Cancelled Target cancelled (8/25, NGC 772) due to cloud
00:52:46     Target Cancelled Target cancelled (9/25, M31_AT2020vak) due to cloud
01:04:24     Target Cancelled Target cancelled (10/25, GCVS DY Per) due to cloud
01:13:34   UPB.Switch Restart UPB.Switch has been restarted.
01:23:54     Target Cancelled Target cancelled (11/25, GCVS CM Tau) due to cloud
01:35:13     Target Cancelled Target cancelled (12/25, GCVS RR Tau) due to cloud
01:47:54     Target Cancelled Target cancelled (13/25, Nova AT2020bfc) due to cloud
02:08:01     Target Cancelled Target cancelled (14/25, UGC 4171) due to cloud
02:30:23     Target Cancelled Target cancelled (15/25, UGCA 208) due to cloud
02:48:45     Target Cancelled Target cancelled (16/25, UGC 6930) due to cloud
03:10:07     Target Cancelled Target cancelled (17/25, UGCA 105) due to cloud
03:32:29     Target Cancelled Target cancelled (18/25, UGC 4186) due to cloud
03:54:51     Target Cancelled Target cancelled (19/25, UGCA 140) due to cloud
04:17:13     Target Cancelled Target cancelled (20/25, NGC 2782) due to cloud
04:29:01     Target Cancelled Target cancelled (21/25, GCVS U Gem) due to cloud
04:49:08     Target Cancelled Target cancelled (22/25, UGC 4332) due to cloud
05:02:35   UPB.Switch Restart UPB.Switch has been restarted.
05:11:30     Target Cancelled Target cancelled (23/25, OJ 287) due to cloud
05:25:02     Target Cancelled Target cancelled (24/25, GCVS DX Cnc) due to cloud
05:44:06     Target Cancelled Target cancelled (25/25, GCVS SY Cnc) due to cloud
05:44:11   Queue Completed Job Queue completed
05:44:13 Session Closing Session closing
05:44:18   Dome Closed Dome already closed (closed at 22:52, closing time 40s)
05:44:26   Dome Park Aborted Dome Park aborted (0s, Az=110.0degs)
05:45:12   Telescope Parked Telescope parked (parking time 43s)
05:45:43   Telescope Switched Off Telescope Power has been switched off via UPB Powerbox.
05:46:29   Services Stopped Night Services stopped
05:46:31 Session Housekeeping Housekeeping Started (Cleanup FITS, Create Fits Summary, Transfer Files)
05:46:38 Session Finished Session Finished
 
 
Session Alerts
Time     Alert Detail
01:13:34 UPB.Switch disconnected UPB.Switch has unexpectedly disconnected. Restart will be attempted
01:13:36 UPB.Switch UPB.Switch has been successfully restarted.
05:02:34 UPB.Switch disconnected UPB.Switch has unexpectedly disconnected. Restart will be attempted
05:02:37 UPB.Switch UPB.Switch has been successfully restarted.
05:44:26 Dome Failed To Park Dome at Az 110.0 degs)
 

Back to Top


Operational Issues (2020-10-26 S822)

[ Prev | Next ]

Critical Issues

Major Issues

Minor Issues

Continuous Improvement

[ Prev | Next ]

Back to Top


Investigation :  False 'Failed to Park' Alerts during Dome Parking - a timing gotcha

Issue:  AstroMain produced a 'Dome Failed to Park, Dome at Az 110 degs' alert whilst parking dome at end of session.
However it was a false alert as dome had actually moved to its Park position at 090 deg

Description : As with the last session there was a false alert message when parking the dome.   When dome was checked it was found to be at the correct park position (090 deg).  Investigating showed that the  Report file contained the error message 'Dome slew failed (Dome at Az 110.0degs)' )  and the slew table showed dome starting and ending at Az of 110 deg.  Extra tracing of dome parking operations that had been added to AstroMain program since the last session were of help in identifying the exact route taken by program execution. 

05:44:24.66  Starting SlewDomeToAzimuth(90.0)
05:44:25.48  Exiting loop as slewing has stopped
05:44:25.48  Dome Slew Time: 0.8s
05:44:26.00  PostSlew DomeAz Info | Az= 110.0
05:44:26.00  Dome Park aborted (0s, Az=110.0degs)
05:44:26.22  Exiting Post-Slew loop due to 3 minute timeout
05:44:28.45  Park Telescope
05:44:31.11  Dome Dome Movement Ok | Dome has moved 9.7 deg (Az 110.0 -> 100.3) following telescope slew.
05:44:33.71  Dome Dome Movement Ok | Dome has moved 8.8 deg (Az 100.3 -> 91.5)
05:44:36.24  Dome has moved 1.5 deg (Az 91.5 -> 90.0)


This shows that the 'wait for dome slew to finish' loop exited after just 0.8s (ie two cycles) when .Slewing=False was detected after an initial Slewing=True.
There were no exceptions from any calls to objDome.Slewing

Why was Slewing percieved to have stopped at 05:44:25 when it is clear that Dome Slewing didn't actually finish its slew until 11s later at 05:44:36 ?
(Does DH set slewing to True when it receives call to Slew, but this is briefly overwritten by a slewing = False from the dome (before its actually starts slewing) which then turns Slewing=True again ? )
In the post-slew loop why was it exited with 3 min timeout message when it was only in the loop for no more than 22s ?

Pulsar's ASCOM log shows
05:35:05.346 Slewing Get True     <-------- shows True when dome is not slewing  !
05:35:25.376 Slewing Get True      
05:35:25.376 SlewToAzimuth Start 91.4979728662159   <----- DH commanding dome to slewing back to Slave Position
05:35:26.297 Volatile 109.0  1  91.5  2   <---- 1 indicates dome slewing,  2 seems to show rotating anticlockwise
05:35:26.390 Slewing Get False      <-------- shows False when dome is slewing  !
05:35:35.251 Volatile 91.5  1   91.5 2
05:35:35.516 Slewing Get False
05:35:36.249 Volatile 91.5  0   91.5 0  <---- dome stationary
05:35:36.530 Slewing Get True           <-------- shows True when dome is not slewing  !
05:35:53.263 Slewing Get True
05:35:53.263 SlewToAzimuth Start 110     <---- User commanding dome to slew to 110 deg
05:35:53.419 Slewing Get True
05:35:53.481 Volatile 91.5  1  110.0 1   <----  1 indicates dome slewing,  2nd  1 seems to show rotating clockwise
05:35:58.426 Slewing Get False
05:36:02.670 Volatile 109.8  1  110.0 1 
05:36:03.496 Slewing Get False
05:36:03.637 Volatile 110.0   0  110.0  0   <---- dome stationary
05:36:04.510 Slewing Get True

05:44:20.231 Slewing Get True    <-------- shows True when dome is not slewing  !
05:44:24.521 Volatile 110.0  0  110.0 0    <---- 0  show dome stationary
05:44:24.661 SlewToAzimuth Start 90       <----  Dome commanded to slew to 090 deg
05:44:24.677 SlewToAzimuth Completed     <-- request acknowledged
05:44:25.238 Slewing Get True   <-------- shows True when dome is not slewing  !
05:44:25.550 Volatile 108.8  1  90.0 2   <---- 1 indicates dome slewing,  2 indicates rotating anticlockwise
05:44:29.793 Volatile 100.3  1  90.0 2   <---- 1 indicates dome slewing,  2 indicates rotating anticlockwise
05:44:30.246 Slewing Get False    <-------- shows False when dome is slewing  !   (~5.8s after original request )

 

It seems that the hypothesis   "DH set slewing to True when it receives a call to Slew to Azmith, but this is briefly overwritten by a slewing = False from the dome (before its actually starts slewing) which then turns Slewing=True again " is consistent with the observations.

05:44:15.223  DH.Dome asks Pulsar Dome Driver for slewing status and receives Slewing=False.  On 5s Normal Polling
05:44:20.231  DH.Dome asks Pulsar Dome Driver for slewing status and receives Slewing=False
05:44:24.66    Client asks DH.Dome to Slew to Az 090 deg.   Received by DH.Dome and sent on to Pulsar Dome Driver
05:44:24.66    DH.Dome changes its representation of Slewing state to True (inferred)
05:44:24.661  Pulsar Dome Driver receives request to slew to Az 090 deg
05:44:24.677  Pulsar Dome Driver acknowledges request
05:44:24.68    Client asks DH.Dome for Slewing State and receives Slewing=True  (inferred).
                        
Client takes this as showing that slewing has started
05:44:25.08    Client asks DH.Dome for Slewing State and receives Slewing=True  (inferred)
05:44:25.238  DH.Dome asks Pulsar Dome Driver for slewing status and receives Slewing=False
05:44:25.48    Client asks DH.Dome for Slewing State and receives Slewing=False.  
                         Client takes this as showing that slewing has stopped !
05:44:25.550  Pulsar Dome Driver receives message from Dome Controller that it has started the slew.
05:44:28.45    Client is off to perform next phase of observatory shutdown (Parking Telescope)
05:44:30.246  DH.Dome asks Pulsar Dome Driver for slewing status and receives Slewing=True.   Still on 5s Normal Polling.
05:44:30.683  DH.Dome asks Pulsar Dome Driver for slewing status and receives Slewing=True    Start of 1s Fast Polling
05:44:31.697  DH.Dome asks Pulsar Dome Driver for slewing status and receives Slewing=True 
                         etc  
05:44:36.24    Dome reaches in destination (Az 090 deg)

Code needs to be modified to wait at least 8s before concluding that a slew has really stopped (or not taken place), since a Slewing=False state (after a Slewing=True) can not be used within first few seconds to conclude that slewing has stopped.

Back to Top


2020-10-28


TS80/178MC - Software Review

Improvement Plan for TS80/178MC (see notes from last session) necessitates a new review of the software used for capturing and processing of images.
Last review was held in late 2016 (see Planetary Image Capture / Processing Software (2016-12-30) ) .  New software that could be useful include :
 


Back to Top


178MC Dark Frames

Improvement Plan for TS80/178MC (see notes from last session) requires the building a dark library to be used for pre-processing light frames for Live Stacking.

 It is important that Light Frames and Dark Frames are taken with the same parameters (ie same Colour Space, Capture Area, Binning, Exposure, Gain etc)
Building a dark library for the CMOS Colour Camera like Zmy WO ASI 178MC 178MC camera is notionally more complicated than building a dark library for a CCD Camera like my ST-10, because a CMOS Colour Camera as additional variables such as camera 'gain' ,  'offset' ( or 'Brightness' as it referred to in SharpCap).and White Balance (White Bal (R) and White Bal (B) in SharpCap) , that are not relevant to for a monochrome CCD camera

For cooled cameras like my ST-10 it is easier enough to build master darks taken at the same specific temperature as the light frames. (-5, -10, -15, -20, -25 &  -30 degC are the specific temperatures that I use.).  For non-cooled camera it is much harder to ensure that darks are available that have been taken at the same temperature as the light frames, the initial approach to be used it to take darks at a range of temperatures and use a routine to select the dark which is closest in temperature to the temperature of the light frame.

One way of simplying things is reduce the almost infinite combination of  properties to just a few standard setups. The following set were collected today (2020-10-28)

Parameter    Value(s)
Colour Space   RAW16
Capture Area   3096 x 2080 (Full Frame)
Gain   0, 50, 150, 300
Exposure   1.5s,  10s, 20s, 30s, 60s
Offsets (gain)   25 (g0),  83 (g50),  200 (g150),  375 (g300)
White Bal (R)   0.50
White Bal (B)   0.50
No. of Frames   25
Temperature   17.0 to 19.3°C (see table below)

Offsets are generated from the equation Offset= 25 + gain/270 * (340-25),
(this is a linear interpolation between two standard points on ASCOM setup ZWO ASI178MC (gain 0 / offset 25   and gain 270/offset 340).

A series of checks were made to establish that offsets derived from this equation wouldn't crop the histograms on left hand (lower nunber) side. The equation is possibly too conservative and the slope in particular could be reduced, in order to give greater ADU range, but in the end it was decided to go with the 1st equation (above) as it tied in with a publically acknowleged data source.

Previously values of 0.54 (R) and 0.52 (B) were used for white balance,   but 0.50(R) & 0.50 (B) is a setting that others use and testing show that R G, B histograms from Darks are best aligned with these settings.


Dark Sets acquired (2020-10-28)

Dark Set Temperature
1x1, 1.5s, g50 19.3°C
1x1, 1.5s, g150 19.3°C
1x1, 1.5s, g300 17.6°C
1x1, 1.5s, g450 17.7°C
   
1x1, 10s, g0 17.2°C
1x1, 10s, g50 19.7°C
1x1, 10s, g50 17.2°C
1x1, 10s, g150 19.1°C
1x1, 10s, g300 18.0°C
1x1, 10s, g450 18.0°C
   
1x1, 10s, g0 17.5°C
1x1, 20s, g50 19.3°C
1x1, 20s, g50 17°C
1x1, 20s, g150 19.1°C
1x1, 20s, g300 17.2°C
    
1x1, 30s, g0 17.3°C
1x1, 30s, g50 19.2°C
1x1, 30s, g50 16.6°C
1x1, 30s, g150 19.1°C
1x1, 30s, g300 17.6°C
-  
2x2, 1.5s, g50 19.2°C
    
2x2, 10s, g50 19.2°C
2x2, 10s, g50 16.0°C
2x2, 10s, g100 15.6°C
2x2, 10s, g150 19.0°C
2x2, 10s, g300 18.2°C
   
2x2, 20s, g0 17.1°C
2x2, 20s, g50 19.1°C
2x2, 20s, g50 16.1°C
2x2, 20s, g100 15.3°C
2x2,, 20s, g150 18.7°C
2x2,, 20s, g300 18.1°C
    
2x2, 30s, g0 17.0°C
2x2, 30s, g50 19.0°C
2x2, 30s, g50 16.3°C
2x2, 30s, g150 18.3°C
2x2, 30s, g300 18.1°C
-  
2x2, 60s, g0 16.7°C
   

60s Dark Frame showing AmpLight
 (g0, 2x2 binning, Reduced)

Image

Back to Top


ASCOM Conform Tests - Pulsar Dome Driver

1) ASCOM Conform (6.4.46.0) was run on Device Hub.Dome with DH connected to the Pulsar Dome Driver.

  Driver had 1 error, 0 warnings and 0 issues

  - FindHome                 ERROR             Home command completed but AtHome is false
 

2) ASCOM Conform (6.4.46.0) was run directly on the Pulsar Dome Driver

The first attempt to run Conform directly against the Pulsar Dome failed when the following error was encountered whilst trying to select the Dome Driver:

 “Incompatible Driver (ASCOM.Pulsar_Observatories.Dome.Dome).
  This 64 bit capable driver is only registered as a 32bit COM driver.
  Please contact the driver author and request and updated installer”

The solution was to run Conform as a 32-bit application. This was done by Starting Conform and selecting  Options | General and clicking "Run as 32bit on 64bit OS"

Back to Top