Displaying report 1-1 of 1.
Reports until 16:03, Tuesday 17 July 2018
H1 SEI (CDS, GRD)
thomas.shaffer@LIGO.ORG - posted 16:03, Tuesday 17 July 2018 - last comment - 13:50, Friday 20 July 2018(42944)
HAM2/3 GS13 Gain Switching Investigation

WP7713

History: HAM2 and HAM3 cannot switch the GS13s to high gain via Guardian without a trip of the chamber. All other HAM chambers, except HAM1 of course, do not have this issue. A python script that is called from the "commands" medm screen is a bit more reliable to do this switching, but still not robust. A few years back Hugh and I had a look into this and noted that Guardian would take a much longer time to do the actual switching (alog 24130). The script back then was a perl script but has since been converted and preforms the same.

Current: Today I started by getting more data to maybe get some clues at to what is going on. I started out by bringing the ISI_HAM3 Guardian to Isolated with the GS13 gain switching turned on. I recorded times and the outcome. As this would trip, it would automatically bring back the gains and then I would do the whole process again but switch the GS13 gains with the python script. Below is a table of most of the times I ran through the states and switched with Guardian or with python script (unfortunately, there are a few tests that I did not record due to having too many windows open and getting lost or distracted by other control room activities):

HAM3

Method and direction UTC Time Length of Transition (sec) Outcome Notes
GRD to High gain 16:10:20 1.56 Tripped  
GRD to Low gain 16:10:30 1.52 Trip recovery  
Script to High 16:15:52 0.26 Success  
Script to Low 16:16:44 0.26 Tripped  
GRD to High 18:28:51 1.53 Tripped Added wait=False kwarg, no change in time, seemed like it didn't work.
GRD to Low 18:29:00 1.54 Trip recovery Still with wait=False, but changed back after this.
Script to High 18:35:00 0.26 Success  

HAM4

Method and direction UTC Time Length of Transition (sec) Outcome Notes
GRD to Low 16:54:15 1.54 Success  
GRD to High 16:56:48 1.52 Success  
Script to Low 16:58:10 0.26 Success  
Script to High 16:59:00 0.26 Success  

So though Guardian is obviously unreliable, the script also does not work perfectly for HAM3. the times that the HAM3 and HAM4 Guardian nodes take to make the switch is the same, so I don't see the longer time being the problem.

What GRD does different

The python script uses the epics caput method to quickly loop through the 6 degrees of freedom and places the mask values in the appropriate channel to turn on or off FM 4 & 5. Guardian similarly loops through each dof, but for each one it will check that the value was actually written before moving on to the next dof. In particular it uses the LIGOFilterManager class to do the switching, which has the key word (optional) argument to not wait for a write confirmation before moving on. When I changed this kwarg to be wait=False, I did not see a change. Perhaps if I can figure out why the kwarg isn't working, then it may be a solution to the longer times, but it still doesn't solve the original issue.

Other items worth noting

Conclusion

Inconclusive so far, more investigation will be needed.

Comments related to this report
jeffrey.kissel@LIGO.ORG - 16:42, Tuesday 17 July 2018 (42945)CDS, GRD, SEI
This investigation is associated with FRS Ticket 11049.
jim.warner@LIGO.ORG - 15:53, Thursday 19 July 2018 (42979)

I wrote a matlab script to get 10 second timeseries for the suggestion BIO channels for all of the time TJ listed (the timeseries start 5 seconds before the times on TJ's table, the longest transitions are ~1.5 seconds), they don't show anything, I'm attaching a plot for one of the HAM4 times. Maybe there's some other channels that show what the BIO is doing? 

I was off a day, helps if you look at the right data. With the right dates, HAM3 guardian switching the GS13s to high gain looks a bit different than HAM4. HAM4 (first image) is nice and regular between each switch, HAM3 (second image) the bio switches are not so regular. Not sure what this means, other than HAM3 bio behavior is different than HAM4. Huh.

Images attached to this comment
jim.warner@LIGO.ORG - 10:30, Friday 20 July 2018 (42992)

Adding plots of HAM3 & HAM4 guardian switching gs13 gains to high including the watchdog state. HAM3 trips in the middle of the long pause after switching the gain the H2 seismometer, before switching the H3 gain. The HAM4 switches are closer together, more regular and don't trip the ISI.

Images attached to this comment
hugh.radkins@LIGO.ORG - 11:16, Friday 20 July 2018 (42993)

Richard just told me that the Out channel is the request from the BIO Out to the interface chassis and the BIO In is the response back from the chassis after making the switch.  SO the BIO Out should lead the BIO In, a little.

jim.warner@LIGO.ORG - 13:50, Friday 20 July 2018 (42998)

Adding plots of the python script gain switch for both chambers. Tried to make these plots a little more readable, and included the whitening BO channel. For the script based switching, it seems like HAM3 & HAM4 look much more similar than the guardian switching. First two plots are HAM3 & HAM4 using the script to put the gs13s in high gain without tripping. The last plot shows HAM3 switch to low, which tripped the ISI.

One weird thing not immediately obvious on these plots is that when the script is used to switch the gains to high on both chambers, H1 is switched first, then all the other gs13s. But when the script is used to switch the gains to low, H1 & H2 are switched, then the remaining seismometers.

Images attached to this comment
Displaying report 1-1 of 1.