Around 19.37LT, the rio30a crahsed and caused a high latency in the DAQ.
Using the the script Rio30Crash.sh in ~/bin, the problem diseappeared (see entry 16506).
The rio has still to be rebooted at next unlock.
I‘ve modified the FbfMoniLa configuration to restore the readout at 10Hz.
So the 10Hz lines will reappear on the Pr_B1_ACp signal at the next restart of the FbfMoniLa server
To better understand the origin of the 5 kHz oscillation and if it is really related to alpha, I tried to simulate the alpha filter.
I used the same filter algorithm of the Gc, by importing in a small C++ program the RIOT_algo v1r7 source code. In this way I can be sure that the same filter algorithm is used in GC and in my program.
I loaded the alpha filter and also the violin and mirror notches and feed the program a stretch of real MICH_z data, during normal science mode and during the algorithm transition at step 10 and the alpha activation.
There is no sign of 5 kHz oscillation in my results.
I believe this means that the 5 kHz oscillation is not, strictly speaking, a numerical problem of the filter, but it is rather related to some other strange behavior of GC. What the problem is, only Gc knows...
If somebody is interested I can give him the code.
Today the missing samples at WE happen every ~8000 seconds.
Each time several samples are lost (it lasts around 10 seconds) and we noticed that each event is separated from the next by a multiple of 20msec (see example on plot 1) which corresponds to 50Hz.
Gc doesn‘t do anything at 50 Hz while, on the DSP side, part of the communication from the GxServer to the DSP is done at 50Hz.
Therefore we suspected that Gx perturbs the DSP while reading data from Gc, which can lead to missing samples.
To test this hypothesis we stopped the Gx server of WE_LC during 5 min when the missing sample was expected (counting 8000 seconds since last one it was expected at 15:01 UTC). Looking at AlpDet_Horizon it seems that there was no missing sample at that time (the 2 drops of the horizon around this period correspond the NE missing sample, and the stop of Gx corresponds to LDMoni..WE.. <0). The next one is observed as expected for WE at ~17:15.
Conclusion: Gc is not responsible for the missing sample. This problem is related to the communication of GxS and the DSP. The mechanism remains to be understood.
I compared the events (4 in total) from logbook entries 18118, 18173, where
the IB light went on without apparent reason; more events occured this months, e.g. at
870498490 and 870364966, but went probably unnoticed. The attached graph shows
two (very close) events. Unfortunately, the GxServer is not reachable in this moment
for more detailed diagnosis, but it seems that the mechanism is the following:
GxServer cannot read one of the laser spots (value PosX/Y=99), so the "fine"
measurement cannot be done; it tries to switch back to coarse mode, but this
requires the light to be switched on. So, until the light is on (2 seconds), it freezes the
last measurements for all degrees of freedom. Before the end of the 2 seconds, the
fine marks can be read again, so no switch to coarse mode takes actually place. The
light switches then off after the previously defined interval.
As for the cause of unsuccessful reading, a possible cause is that the two folded
laser spots on the camera surface are too close, so that the corresponding readout
zones occasionally overlap. Actually, in all the observed events it is either the first or
the second folded beam (Gx_IB_fol or fol2) which cannot be read.
This can be investigated more closely as soon as the GxServer is running again.
A possible remedy is to realign the secondary beam such that it is further away from
its brother (requires laser lab access). Another (temporary) remedy, which avoids
entry in the laser lab, could be to increase the "pedestal" or to reduce the sensitivity
of the camera in order to reduce the apparent size of the laser spots (and increase
their apparent distance).
We investigated a little bit further on Edwige‘s suggestion that the 5 kHz oscillation comes from the alpha filter. There used to be a debug channel inside Gc to check for this kind of problems, but this was removed some time ago. We were able to reconstruct the output of the filter as alpha_out = Gc_NE_z - Gc_WE_z - Gc_DARM_z, see subplot(2,3) of the attached figure. It really seems that the alpha filter is the guilty one (although we cannot totally rule out a problem with a violin notch).
The big difference between the alpha filter and the other filters inside Gc is that it is a hard-coded 8 stage SOS instead of one with a variable number of stages. As such, it doesn‘t profit from the recent changes made by Diego that sorts the zeros and the poles. Looking at the filter coefficients of alpha, however, doesn‘t show any obvious instabilities. To be investigated by the filter experts. The poles and zeros are:
-t Alpha_Zero_Freq -d 6.7579 -t Alpha_Zero_Q -d 0.578638
-t Alpha_Pole_Freq -d 9.03058 -t Alpha_Pole_Q -d 0.909799
-t Alpha_Zero_Freq -d 11.7176 -t Alpha_Zero_Q -d 1.61166
-t Alpha_Pole_Freq -d 10.7629 -t Alpha_Pole_Q -d 1.28631
-t Alpha_Zero_Freq -d 16.5821 -t Alpha_Zero_Q -d 4.67293
-t Alpha_Pole_Freq -d 15.195 -t Alpha_Pole_Q -d 0.844595
-t Alpha_Zero_Freq -d 19.1688 -t Alpha_Zero_Q -d 1.16766
-t Alpha_Pole_Freq -d 16.8523 -t Alpha_Pole_Q -d 3.32579
-t Alpha_Zero_Freq -d 56.9507 -t Alpha_Zero_Q -d 1.08001
-t Alpha_Pole_Freq -d 56.0367 -t Alpha_Pole_Q -d 1.0796
-t Alpha_Zero_Freq -d 245.302 -t Alpha_Zero_Q -d 0
-t Alpha_Pole_Freq -d 282.034 -t Alpha_Pole_Q -d 0
-t Alpha_Zero_Freq -d 167.05 -t Alpha_Zero_Q -d 1e6
-t Alpha_Pole_Freq -d 167.05 -t Alpha_Pole_Q -d 100
-t Alpha_Zero_Freq -d 167.35 -t Alpha_Zero_Q -d 1e6
-t Alpha_Pole_Freq -d 167.35 -t Alpha_Pole_Q -d 100
Looking closer at the 5kHz line appearance, I found that it appears in fact BEFORE the NEO filter is engaged: the 5kHz oscilation appears in fact when the alpha technique is engaged (Gc_Driving_MICH_NE-WE), few seconds before the NEO filter is engaged: see first plot.
Second plot shows another lock acquisition without the line.
Referring to entry Missing sample here is an explanation of why a repeated sample creates a glitch.
The first plot shows a 5kHz oscillation simulated with Matlab, sampled at 10kHz. We repeted twice a sample in the middle of the time window, see second plot. The third plot shows the difference between the two signals which is equal to a one sample glitch.
We passed the modified 5kHz signal through a 2nd order 100Hz low pass Butterworth filter, just to give an idea of what happens. The shape of the filter is irrelevant. The control filters we use has unitary gain frequency around 100 Hz, so we expect something similar.
The last plot show the output of the filter, which is nothing else that the inpulse response of the filter.
As already underlined in Need for a frequency dependent beta? the PRCL noise gives sometimes non-negligible contribution to the noise in the dark fringe.
Indeed, the raw horizon of the last 10 days is well correlated with the value of beta (Gc_Driving_PRCL_NE-WE) which measures the coupling of PRCL noise to dark fringe: first plot shows the raw horizon (black) compared to a prediction computed from the value of Gc_Driving_PRCL_NE-WE (red). The prediction matches well the measured horizon during periods of quiet weather (green = wind, blue = sea).
The 2 following plots show 2 noise budgets during periods of ‘high beta‘ (second plot) and ‘low beta‘ (third plot): in the case of high beta the PRCL noise is only a factor 2 below the measured sensitivity (~80 to 200Hz), and contributes to an increase of the noise level of around 15% and therefore similar decrease in the horizon.
Looking at the trend of the horizon since the beginning of August, the increasing observed in the lasts days does not match anymore with the heuristic formula, so it cannot be ascribed only to the better weather condition.
In the second plot the comparison between the previous best B1 spectrum (2 August) with the present one shows a general improvement above 50Hz.
In the last zoomed plot we can see many peaks disappearing.
Lines at 20 and 25 mHz are clearly visible in the spectrum of MBTA triggers SNR fluctuations computed over the first 24 hours of the current lock (first plot), much more than during the 64 hour long lock of the week-end (second plot).
In order to allow the FbsSt server to run correctly, as ToDb host is not reachable the ToOS9ToDb cm name has been removed from the Cascina Cm domain at Aug 14 08:40:34
The ITF has been locked for whole the shift. The horizon has increased slowly from roughly 4.1 to 4.3, with one small peak almost touching 4.6 Mpc (this is probably a record). The glitches of the last days are still present, they were observed both at the WE and at the NE. The Gaussianity of the fringe averaged over longer periods is probably spoilt by the glitches, the short time averages look ok.
At around 15.26UTC, the light of the IB was switch on automatically. Few minutes after, the Gx server and rio40 crashed inducing a big latency on FbfMoni and on Alp servers.
With the help of A.Masserot, we solved the latency problem. The rio has been left crashed and will be rebooted at the next unlock.
As in the previous entry (18039) Gx does not compute the x and the y of the IB and it has no consequence on the lock.
The first plot is the event before the crash, the second is a zoom.
In those recent locks when the 5kHz oscillation was present, the oscillation arised during the engagement by Gc of the Neo filter on MICH (plots 2.1 and 2.2 in both figures).
Concerning the missed samples, plots 1.1 show that a sample is missed during the Neo filter engagement. Since tha DSP cannot know what Gc is doing, it is more likely that (at least in this case) the comunication problem is on the Gc side.
Note: the fact that a signal changes in the spectogram before the change of the signal in the time domain, seems a feature of dataDisplay.
To recover the standard state after the unlock of this morning these actions were performed:
Restart of Gc from scratch
Download of WE & NE local control DSP card
No improvement, how we can see in the attached plot the missing sample on WE are still present.
A missing sample is at the moment truly relevant for the ITF because we have again 5 kHz oscillations in the locking corrections.
Looking at old locks, it seems that the oscillation was not always present even before the Gc modication made on august 1st. For example there was no oscillation during the locks at the following times
July 27 at 00.00, July 28 12.00, July 29 00.00 and 12.00, July 30 at 00.00, July 31 at 00.00 and 12.00, August 1 at 1.00 and 6.00 (all times are UTC)
After the modification no oscillation is visible before August 9.
During the lock of August 9 at 00.00 there was no oscillation. Then there was a Gc crash and after the restart the oscillation was present on August 9 at 18.00 and August 10 at 00.00. The the ITF was relocked without any intervention on Gc and the oscillation has disappeared, see August 10 02.00, 06.00. Then Gc was restarted several times and the oscillation was present on August 10 at 12.00 and August 11 at 12.00.
We checked that the current running version of Locking is the correct one (v17r7p1). This is using the new version patched of RIOT_Algo (v1r7).
It seems that this patch is not enough.
These 2 vacuum servers CmName have been delete from the Cascina Cm domain in order to restore a correct running condition for the FbsSt server.
The ping command fails accessing these 2 hosts (ToPr and ToIw)
As reported at Lost samples every 5000 seconds since the new relock after the several restart of GC to reach a correct elapsed time there is many events where the SC_WE DSP uses at least 2 times the same zGc corrections .
The first plost showns the Alp_Det_Horizon and the number of miss functionning event per second: some jumps of the Alp_Det_horizon are due to this misfunctionning.
The second plot is a zoom of one event at GPS870824392. During this second there is burst of events (6 events) and it appears that the same sample is used 2 times by the DSP Sc_WE.
One can noticed that the Gc_WE_z and the Sc_WE_zGc correlation is bad after 100Hz while for the NE everything seems to be correct
All the miss functionning events are available on the file /virgoData/LDMoni/VSR1-LoopDelay.txt file