Here I report some results I obtained analyzing the data from NonStatMoni over all the run up to last week.
The band limited RMS of the dark fringe signal is computed online by NonStatMoni every second, for the following bands
0-10 Hz, 10-30 Hz, 30-50 Hz, 50-100 Hz
100-200 Hz, ..., 900-1000 Hz
1-2 kHz, ..., 9-10 kHz
I compute the root mean value of the BRMS in these bands over periods of 100s, for all the science mode segments of the run, only removing the first 30 minutes of science mode and the last two.
All the BRMS values shows quite large variation over these three months, some with short period and some other very slow.
I performed an analysis, in time domain, to search for correlation of the BRMS variation for each band with other ITF signals. I selected more than 80 channels that could in principle be useful for understanding the dark fringe noise variation:
- locking signals: MICH PRCL DARM gains, sensing cross term, alpha, beta, B2_3f offset
- all the photodiode powers
- IMC_TraDC
- Sidebands and carrier amplitude on B1p
- total RMS of all angular correction (mirror and benches)
- seismic activity in the usual bands
- several temperature inside buildings, ovens and outdoor
- vertical oosition of all mirrors
- centering signals of all quadrants
- output mode cleaner quadrants signals
I used all these channels, measured over the same 100 seconds periods as the BRMS, to perform a "multidimensional linear regression" analysis. This algorithm searches for the linear combination of all the signals that reproduce best the variation of the BRMS. Moreover I post-processed the coefficients so obtained to discard those compatible with zero and to select only those most significant.
This analysis yelds about 30 signals to reproduce the best prediction of the BRMS in a given bans
The results are very interesting, since this method was able to reproduce almost all the non-stationarities of the noise. The attached plots shows some example. In red the real BRMS, in green the prediction. The agreement is impressive.
The full results are posted as HTML pages at the address
http://wwwcascina.virgo.infn.it/DataAnalysis/Noise/MultiLinearNonStat
Each page contains the report for a single band. The first plot is of the same kind of those attached to this entry, the second one is a histogram of the residual, namely the difference between the real and predicted value. For an explanation of the third plot and of the table see the next entry...
Due to the change in the side-band balancing servo from an offset on B2_3f to an offset on B5 (see entry 18224 ), the working point of the PRCL loop should have changed while that of the MICH loop should have stayed roughly the same. This has a considerable influence on the response of the ITF.
Fig 1 shows the trend of some locking parameters before and after the change (B2_3f offset scaled by a factor -20). The most obvious changes are a decrease of the MICH gain by a factor of 3 and an increase of the PRCL gain by a factor of 1.5. These gains are controlled by servos that keep the UGF constant, so this suggest that the optical transfer function (in photodiode Volt / meter of mirror displacement) of MICH has increased, while that of PRCL has decreased. In reality, thing are probably more complicated, since Cross_MP (off-diagonal term in sensing) increases by a factor of 2 at the same time. Alpha and beta do not show a large difference. The side-bands were slightly unbalanced during the last locks. To fix this, we lowered the ‘no-change treshold‘ in the servo from 5% to 2%.
Fig 2 shows how this effects the spectra of the 3 main loops before (purple) and after (black) the change. As expected from the change in gain, the noise in the PRCL loop has increased and that of the MICH has decreased. This also means that the end mirrors are actuated less (since less contribution from MICH is added via the alpha filter), but no large change can be seen in the dark fringe. Further analysis is necessary to understand exactly what is happening and to see if we need to change anything (beta, PRCL filter?).
We moved the offset used to balance the sidebands from B2_3f_ACp to B5_ACq. The modfications affected Steps.cfg and AlpLock.cfg.
We also change B2_3f phase to -103 degrees and B2 phase to -23 degrees in the final steps of lock acquisition.
The gain of B2/B2_3f mix has been changed to -0.0012.
As discussed during the weekly meeting, today we changed the strategy of the sideband balancing servo, moving the offset from B2_3f_ACp to B5_ACq, to avoid spurious effects on the PRCL loop.
The change was successfull. The ITF is stable with the new offset, the SB balancing servo is working properly and the SB are balanced as before.
The offset added now is of the order of -12000 ADC counts or -4 V to Pr_B5_d2_ACq.
We also changed the final phase for B2_3f to -103, the B2 phase to -23 and the relative gain B2/B2_3f to -0.0012 to have a better transfer function for the mix.
The last two attached plots compare the longitudinal noise budget measured this morning and this afternoon, before and after the modification. The improvements at low frequency might however be due to the worse seismic conditions of this morning.
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.
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
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.
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.
I know it‘s an august Sunday morning and most of you are in holiday, so I‘ll try to make this entry as plain as possible. But it will be long, so forgive me...
>>> THE OLD PICTURE
During the first month of the run we discovered that the B2_3f offset value changes strongly with time and follows quite well the evolution of the cavities mean power, see entry 17374 Locking problems of this night.
>>> SOME NEW OBSERVATIONS
Since we were discussing of trying to stabilize the cavities mean power by changing the input power, in oder to keep the offset close to zero, I analyzed the data from all the run up to now. The results, as you‘ll see, are very interesting.
The first plot shows in red the real offset added to B2_3f_ACp, in green the offset predicted from the mean power P with the old formula
offset/1e-3 = -150000*P + 12700;
This does not fit any more the offset behavior after the first two months of the run. Instead a new formula is needed (blue curve in first plot):
offset/1e-3 = -150000*P + 13200;
One should note that this change does not correspond to the day we increased the input power, so it is caused by something else.
>>> A NEW FORMULA
The behavior of the offset can be instead predicted very well, over the entire run, by using B5 power normalized with the input power. In the second plot the real offset is still in red, and the offsets prediction in green is given by the formula:
offset = -(8*B5_DC/IMC_Tra-0.044)*1000000 + 700
>>> SOME CONSIDERATIONS
1. In a Fabry-Perot cavity, a change in the finesse will affect strongly the transmitted power, which is proportional to the stored one. The reflected power will undergo only very small changes.
2. Therefore, if the change in the cavities transmitted powers is due to a change in cavity finesse (etalon or friends), the reflected power should remain constant.
3. This implies that if the change in cavity powers is due to change in the two finesses, the B5 power should not be affected.
4. On the other hand, any change on B5 power will affect proportionally the cavity powers.
5. Let me explain how B2_3f offset is used and what it generates. We have a servo that change this offset to balance the sidebands. But B2_3f_ACp is used for both PRCL and MICH error signals, so by adding and offset to B2_3f we are adding both an offset to MICH and to PRCL. But from my old spiral measurements (see entry 14605 Sidebands versus offsets ) it turns out that a MICH offset does have an effect on SB balancing, while a PRCL one does not.
6. This means that we are actually adding both a MICH and PRCL offset when we really need only the MICH one. The PRCL offset can move the recycling cavity length away from resonance.
>>> A NEW PICTURE
The third picture is a scatter plot of B5/IMC_Tra against the offset, superimposed with a fit by hand with a second order function:
0.00558 - 1.2e-10 * (offset/1e-3+200).^2;
This is used to produce the fourth plot, where the real B5/IMC_tra is superimposed with this prediction. The agreement is good. The ratio B5/IMC_Tra is porportional to the recycling gain.
>>> MY CONCLUSION
Since the offset is changing accordignly to B5 power, which should not be affected by change in the cavity finesses, I think the hypothesis of etalon effect driving the offset is ruled out. On the other hand, I believe we are actually changing the recycling factor by adding a spurious offset to the PRCL error signal. A fast and not very well tuned simulation with Finesse shows that to have a change of about 3% in the recling power we need an offset of roughly 0.7 nm in PRCL, which is compatible with the one we are adding (of the order of 1 nm).
>>> THE MESSAGE
It is not true that the B2_3f offset is changing because the power inside the cavities changes due to etalon or similar effect. Indeed, the contrary seems more rasonable: the recycling power is changing because we add a PRCL offset and we move away from the resonance.
This means that implementing the stabilization of cavity power by changing the laser power won‘t help reducing the offset and might even make things worse.
Moreover, moving away PRCL from resonance might explain why we have instabilities ith too big offset and why the coupling of PRCL noise changes a lot with time.
In conclusion, I think we should get rid of this spurious offset on PRCL by changing the SB balancing servo: it should act on B5_ACq which is used only for MICH: in this way we‘ll get only the effect we want and no change in PRCL. This will make the B5 power less variable and may allow us to implement the new PRCL filters.
There should be no major problem in doing this change. The main reasons we chose B2_3f instead of B5 in the past is that we didn‘t realize we only need a MICH offset and that the B2_3f electronic offset is smaller in terms of ADC counts.
As observed by Edwige, the fluctuations in the horizon show a clear correlation with the value of beta (see fig 1), which itself should depend on the finesse asymmetry (see entry Etalon, alpha and beta corrections). This can be explained by comparing the noise budget of last week (fig 2) and this morning (fig 3) when the value of beta was almost twice as high. In the critical region from 100 to 200 Hz, the PRCL contribution starts to influence the sensitivity.
To see if this can be compensated with a better beta correction, I calculated the transfer function of beta in the same way as I normally do for alpha, see fig 4. The ideal beta based on the measurement (blue) seems to be reasonably flat in amplitude. The beta running at the time of the measurement (which is servoed by a line at 62 Hz) is shown in pink. A best fit around 100 Hz (shown in green) is about 2.5 percent lower, but this hardly makes a difference in the predicted suppression factor. This can be explained by looking at the phase: since beta is currently implemented as a constant, it always has a phase of zero. The measurement, however, indicates a phase mismatch of about 4 degrees, which limits the suppression to a factor of 13. A better suppression can thus only be achieved by implementing beta as a frequency dependent filter, probably of low order. This would require some changes in Gc.
I‘m not convinced that the fluctuation of horizon are due to PRCL noise. it is more likely that both horizon and beta are modulated by the finesse, but are independent mechanisms.
However, we do not need a f-dependent beta to reduce PRCL noise. Since the PRCL loop has very large margins: phase 60 degrees, gain plus or minus 3, it is "easy" to add some roll off to the control filter to reduce the noise above roughly 100 Hz.
Here is the analysis of B1_ACp / B1_ACq glitches, considering only the second lock, meaning the one after the BMS intervention.
First plot shows the distribution in frequency of ACq glitches.
Second plot shows the result of a time-shift analysis of the coincidence between the two channels. The distribution is peaked as expected, but not for zero time shift and moreover it is significantly asymmetric. If also a frequency coincidence is required, the distribution becomes "normal": centered at zero and symmetric.
For this reason I performed the following analysis: coincidence between P and Q is searched, after adding both a time and frequency shift to the Q glitches. The result is shown in the third plot. There are three peaks in this map:
- the expected one around dt=0, df=0 corresponding to coincidence in both time and frequency
- a big and large one at dt=70ms and df=8100Hz
- a smaller one at dt=60ms and dt=2500Hz
The second one means that almost all glitches in the 8kHz region of B1_ACp are coincident with glitches in ACq below 1kHz. The distribution of these coincidences are shown in the fourth figure.
This seems to indicate that the phenomenon that creates the 8kHz glitches (which are the most relevant population for B1_ACp) affects also ACq but at lower frequencies...
Here I analyze the effect of BMS glitches.
The first plot compares the distribution of B1_ACp glitches before and after the BMS replacement. There is a clear reduction of glitchiness for almost all frequencies below roughly 800 Hz. However this might also be due to different ITF conditions. In any case, the big peaks at low frequencies corresponds roughly to the resonances of the BMS mounts, so it is reasonable to assume they are due to BMS.
I tried a coincidence analysis of glitches between dark fringe and all BMS error signals (time window 50 ms). The second plot shows a histogram of the number of time coincident glitches when adding to the dark fringe ones a constant offset. This shows that the coincidences found for dt = 0 are physical.
The third plot shows the frequency distribution of glitches coincident both in time and frequency (time win 100 ms, frequency wind 500 Hz). They are concentrated mostly at low frequency.
Here and in following entries, I summarize some results obtained analyzing the glitches detected by HACR, during two locks before and after the BMS mount repairing.
First lock: 867827080 to 868066580
Second lock: 869885490 to 869932490
The first two plots show time-frequency-SNR maps of all glitches (1st is first lock, 2nd is second lock). The third and fourth show the distribution in SNR of the glitches. All those with SNR below 9 correspond to frequencies where there is a strong line: violin and mirror modes, calibrations.
The 5t and 6th plots show the distribution in frequency of glitches with SNR>9.
There are several classes of glitches that can be identified:
7800 to 9300 Hz ---> 8kHz bump in pstab
5800 to 5960 Hz ---> Frequency noise
2990 to 3050 Hz
2520 to 2550 Hz
2200 to 2230 Hz
2050 to 2070 Hz
1700 to 1760 Hz
1280 to 1320 Hz
1020 to 1040 Hz
800 to 860 Hz
600 to 710 Hz
480 to 510 Hz
410 to 440 Hz
200 to 300 Hz ---> BMS
120 to 140 Hz ---> BMS
Event recorded as a fast unlock (gps=870196318) was not one as you can see on plot 1 (zoom of plot 1), 2 and 3. This unlock happens between steps 2 and 3. The SSFS goes to saturation, the loop is opened and the RFC then try to keep the lock of the IMC but unfortunately the RFC unlocks and then the IMC as a consequence.
Event recorded as a fast unlock (gps=870201756) was not a fast unlock as you can see on the fourth plot (unlock at step 7.5). The same thing that for the previous unlock.
Event recorded as a fast unlock (gps=870205637) was not a fast unlock as you can see on the fifth plot (unlock between steps 2 and 3). The same thing that for the previous unlock.
Having a look to the situation with Gabriele, we have seen that before the unlock Sc_IB_zErrGC reached large values and had a direct consequence on the reflection of the RFC (Pr_RFCRef_DC).
Sc_ is the error signal used to lock CARM on the RFC. This loop has been changed severeal weeks ago to reduce the noise introduced in the dark fringe. The stability margin of this loop is lower than before. It is possible that this behavior is due to low gain instability point of the loop.
As you can see on the last plot, when the unlocks happened the seismic activity was at its maximum and maybe it can be the origin of the unlocks.
I created a new car file in order to investigate IMC unlocks.
I added 2 signals to the usual fast unlock card (Pr_RFCRef_DC which is the reflection of the reference cavity and Sc_IB_zErrGC)
You can find it in the launch pad in the Unlock investigation section. The card is called IMC_Unlock.
There were a couple of bugs in the script used to compute the results of the angular budget. I fixed them and reprocessed the measurement of this morning.
This morning we tried to implement again the "old" improved NEO filter for MICH. The first trial caused a crash of the GC and we lost more than one hour to recover.
Then we had time for a couple of trials. The ITF was not very stable with the new filter, even if the UGF reconstruction seems to be working.
We put everything back to the old configuration.
Looking at the HACR reports, it is possible to compare the behavior of the BMS error signals before and after the morning intervention.
The first plot shows a time-frequency map of all glitches detected in B1_ACp. It is possible to say that the number of glitches around 250 Hz is reduced.
The other four plots show the BSM error signal. The effect is clear: the ITF is back in science mode since 14.30 UTC roughly, and after this time almost no glitches are visible in the BMS channels. You can compare with the status during the previous lock looking at the left part of the plot. The result is indeed impressive.
More plots are available as usual at the address
http://wwwcascina.virgo.infn.it/MonitoringWeb/HACR/
Looking at the HACR reports, it seems to me that the drops are correlated with strong glitches in the NE_zCorr signal. First plot shows a time-frequency-SNR map, second one the number fo glitches per minute. These glitches seem to me periodical. The frequency distribution (last plot) seem to indicate something happening at high frequency.
TO GO BACK TO OLD CONFIGURATION OF CARM CONTROL LOOP:
In Steps.cfg:
- remove line 392 (set CARM gain)
- remove lines 422-425 (set CARM driving)
- remove line 2081 (change CARM gain)
Stop Locking process (End -> Stop)
In database, under Gc/Locking/Locking_Half/Filtering, commit the following versions:
Locking_Half_Boost_230 v 1.3
Locking_Half_Boost v 1.73
Locking_Half_Boost_plus v 1.51
Locking_Half_Boost_NEO v 1.56
Locking_Half_Boost_NEO2 v 1.44
Restart Locking process (Start)
During this morning commissioning break, I improved the CARM control in order to reduce the contribution of its control noise to dark fringe.
The first plot shows the longitudinal noise budget before the actions of this morning.
1. BALANCING OF ACTUATION
I changed the relative actuation of NE and WE for the CARM correction, acting on the Gc driving matrix. The best configuration of gains are
CARM_NE 0.47
CARM_WE 0.53
The second plot shows a budget measured in this configuration. There is already a significant reduction of CARM noise. Even without chaning filter it is no more limiting.
2. IMPROVED CARM FILTER
I tried two different versions of the CARM filter. The first one had a very good noise performance (see thid plot, noise budget) but clearly too low gain on the suspension resonances.
Therefore I developed another filter (see fourth plot for a comparison of open loop transfer functions) with the same gain below a couple fo Hz and a more aggressive roll-off. The reduction in noise with respect to the other one is about a factor 7 at 10 Hz, a factor 10 at 25 Hz and more than a factor 100 at 40 Hz. The accuracy of the new control is a bit worse than the previous one (see fifth plot) but I believe it is still acceptable.
Unfortunately by restarting Gc I lost the new gains I found, so the budget in the sixth plot shows the effect of the new filter alone. For the moment I added in the Alp automation the reset of CARM gains at step 1. The good way would be to change the default in the database, but this would imply another restart of Gc.
CONCLUSIONS
The noise budget in the final configuration is shown in the seventh plot. CARM noise is a factor 10 below the actual sensitivity. It is indeed difficult to measure a good budget, but it seems the noise falls below the sensitivity at 20 Hz roughly.
The last plot compares the sensitivity of today at 6.50 UTC (before the improvements) and after, with the new filter but the old driving. It is important to note that maybe part of the improvement is due to the better centerin gof NI mirror.
Unfortunely Gc crashed before allowing a good measurement with also the new driving...
In the next entry the list of actions to perform, in case of troubles, to go back to the old configuration.
It has already been noticed that the BNS horizon was particularly good around July 3 (see entry 17378 by G.Vajente).
The first plot shows the horizon trend between June 28 and July 11. The second plot compares the dark fringe spectrum on:
- June 28 (black)
- July 11 (purple)
- July 3 (red), corresponding to the best horizon.
The black and purple curve show a general increase of noise in the 100-300 Hz range, but some structures seem more relevant:
- the peak at 143 Hz, present also in the red curve, is much larger, (particularly in the July 11 curve)
- a broad peak at 192 Hz shows up in the purple/black (not present in the red)
- the peaks at 241,277 Hz are larger in te purple curve.
Are these known structures?
The attached plots compare the sensitivity of this morning with that of this afternoon, after all changes.
The sensitivity is the same, except for lines at exactly 10, 20, 30, 40, 70 Hz. The increase of noise around 20 Hz might be due to the big line at 20 Hz.
The attached plots show the latest noise budget, after the coil drivers modification and the new alpha tuning.
The situation is normal.
The unlock of this mornign was due to a too high noise in the MICH loop. The level of noise I was using started a couple od weeks ago to give bad coherence. At the end it turned out that the level was too high for both PRCL and MICH, inducing saturations of the DAC for BS control.
First plot shows the trend of horizon today. After the relock it is sensibly lower (DetHor ~ 3.0 MPc instead of 3.2 Mpc
The second plot compares B1 ACp spectra this morning at 1.00 UTC and this afternoon at 13.00 UTC. The noise seems to me lower this afternoon almost everywhere... Then, why is the horizon worse?
The optical gains seem the same (see third plot)
The only change is the input power, increased by 1.3 %.