AdV-DET›Commissioning
#35568
Automating PD and QPD offset checks
Summary:
* Made a script that close shutters, takes data, opens shutter at tells what line of ACL code to paste where to update the PD and QPD offsets
* Checked it on a couple of cases
* The QPD version should be used one QPD at a time, the shutter closing/opening fails sometimes and the code doesn't check for that
Romain updated the PD and QPD offsets (see 35564).
In parallel I have written an automated check of the PD and QPD offsets, for the moment in /users/mwas/automation/PD_offsets.py, still hoping for an SVN repository for scripts.
The toolbox closes all the shutters, takes 10 seconds of data, and opens back the shutters.
The result on 10s starting at 13:18:54 UTC are below in mW. The largest offsets are ~0.2 uW for B4_PD1, B7_PD2 and B8_PD1/2.
B1s2_PD1 -4.45623e-05
B1p_PD2 2.93049e-06
B1p_PD1 5.86190e-06
B1_PD1 2.31208e-05
B1_PD2 1.00394e-05
B1s2P_PD1 4.65205e-05
B5_PD2 4.71316e-05
B8_PD2 -3.19198e-04
B4_PD1 2.52178e-04
B8_PD1 -5.17343e-05
B7_PD1 -1.63449e-05
B7_PD2 -2.01625e-04
B1s1_PD1 7.09353e-05
This won't automatically change any offset, but will help in monitoring the situation. For example every Tuesday. This can also be run with a subset of PDs.
B2/RFC PDs could be easily added.
After that added some configuration file parsing to display what needs to be changed to correct the offsets.
Tested it for B4_QD1 (see the result after applying in figure 1)
B4_QD1 H 4.42167e-03 V 2.56177e-03 Sum -6.64955e-04
B4_QD1 correction to be substituted in file /virgoData/VirgoOnline/SPRB_dbox_bench.cfg on line 147
DBOX_ADC2378_CHANNEL SPRB_B4_QD1_H 0 50000 "" 2 -4.42167e-03 V
B4_QD1 correction to be substituted in file /virgoData/VirgoOnline/SPRB_dbox_bench.cfg on line 148
DBOX_ADC2378_CHANNEL SPRB_B4_QD1_V 2 50000 "" 2 -2.56177e-03 V
B4_QD1 correction to be substituted in file /virgoData/VirgoOnline/SPRB_dbox_bench.cfg on line 149
DBOX_ADC2378_CHANNEL SPRB_B4_QD1_Sum 4 50000 "" 2 6.64955e-04 V
Did the same for B4_QD2 (for these two quadrants the offset has never been done before).
Checked that the PD version of the code also works on B7_PD2, (result in figure 2)
B7_PD2 correction to be substituted in file /virgoData/VirgoOnline/SNEB_dbox_bench.cfg on line 99
DBOX_SERVICE_CHANNEL SNEB_B7_PD2_DC 1 100000 "" 3.24 -8.77628e-03 mW ""
1 comment