We fixed three bugs which prevents a good behavior of the new Alignment process:
o uncorrect protection against NaN which leads to use too old values
o filters always called but the output is set to 0 when the loop is open (previously, the filter was reset when the loop was open leading to spikes at the loop close)
o correct algo number sent when acting on the sensing matrix
All GCVSUUI interfaces have been restarted to take into account the bug fix.
Yesterday night and this morning we test the new alignment version.
This new version is based on the same scheme as the one used in locking, ie :
Sensing -> Filtering -> Driving
With this new architecture we split also the Recombined and the Recycled part of the sensing algorithm. Alp macros have consequently been modified.
Alignment group will have also the possibility to inject noise and lines just after the sensing part.
The GCVSU and GCVSUUI have been updated to take into account the changes done in Alignment.
This work allow also to correct some bugs found in protection put in place against NaN and in the transfer to DAQ.
We relocked several times the interferometer up to step 12 without any problem.
The new packages are :
The Ali_Algo_Number stored in the DAQ is constructed by:
1000*algo_tools + 100*algo_sensing + 10*algo_filtering + algo_driving.
The algo_number is negative during a transition with the same convention.
In addition to what was described in 14888, this is a rather intense beam that hits the acoustic enclosure wall located in front of the injection tower. Image 1 shows the spot on the laser lab wall with opened enclosure. Poor focus but one can see the drawings hanging on the wall. Image 2 is the spot on the inner side of the sliding window.
This morning, the new version of the Alignment process (v11r2) has been successfully tested. In particular, it allows to change the filters onfly. The Gc supervisor scripts have been modified according to the new versions (GCVSU v4r6 and GCVSUUI v4r10).
We have done this afternoon some tests on a new version of the alignment.
This version add a switch between the sensing and the filtering parts and also allow the transition between two algorithms.
We have also test a new version of the supervisor and supervisor interface for the new alignment functionalities.
We have put back all the previous versions as we need to do some tests with the alignment group.
************************************************
you need to restart the supervisor before starting any locking or alignment activities.
***********************************************
We shifted the clock of the Gc alignment process such as to reduce the
pipeline delay between Qr and Gc from 2 msec to 1 msec (this is the maximum possible gain looking at the quadrant diode signal processing time histogram); we gain 1 msec in the total delay, which now passes from 7 msec to 6 msec
The next improvment of the signal delay will be done by reducing the pipeline delay between GcAli and GcLocking
40 seconds after restart of the alignment part of Gc, we observed
corrupted data on several of the BMS channels, coming probably from the BMS drift control through Gc (Gc_Al_Input_txCorr). Frenetic resetting of all
DOLs (ISYS, BC, DSP), restart of Gc, download of IB and BMS DSP cards. IB
download somehow crashed rio40b; we rebooted it in DAQ. Tried also serial
reset (serial_reset.csh for BC and IB). Reboot of rio38 and rio36. Corrupted
data remains.
Air-tight NaN filters everywhere would be very welcome !!
According ours understanding when NAN, INF are propageted from the Gc servers a possible recovering way could be:
. Stop/Restart the Gc processes: GcAli and Locking dserver
. According the Sa and Sc DSPs (IB,PR,BS,NI,WI,NE,WE):
. Opens the local control and peforms a download
. if the Gc signals are used on the Damping part:
. Opens the damping, performs a download
. Close the inertial damping
. Close the local control
. On the Bc DSP:
. Open the control and peforms the download
The resetDol command do nothing for the NAN or INF. It is usefull if a crate is switched off.
Related to the serial link, currently installed between the Sa and Sc part for the long towers and the Sc_IB and Bc DSP, this command should be executed once otherwise the synchronisation is lost.
In thisonly a power off/on of the 2 DSPs allows to restart correctly.
Some fixes to avoid the NAN,INF propagations are under discution and implementation.
Related to the reset of the serial link
First in the case of NAN or INF propagation the reset of the serial link does nothing
Today the serial link is intalled between the Sa DSP and the Sc DSP of the long towers(PR,BS,NI,WI,NE,WE) and between the Sc_IB DSP(injection) and the Bc DSP(BMS)
The reset of the serial link should be executed only once otherwise the synchronisation between the sender part and the receiver part can be lost.
In the case of serial link communication problem a power off/on of the sender crate and the receiver crate allows to restore the synchronisation
Last night there was a problem of corrupted data send by Gc with a new alignment matrix, see entry Corrupted data problems.
After some investigations we discovered that the problem was related to a wrong filter‘s name inside the matrix and a missing protection in the alignment code during the configuration. We have fix the problem.
We try also to improve the protection against NaN and +/- Inf in Gc code.
Normally the corrupted data will not be send by Gc to DSPs but they will appear in the DAQ.
In case of too much corrupted datas (more than 1 ms) or if a we have a problem of corrupted memory, the corrections will be stopped and a restart of the locking or alignment process will be necessary.
Alignment and Locking have been recompiled and restarted without problems.
In order to add more protection against NaN and +-inf between Gc and DSPs, I have add a new check before sending data to DSPs following the same type of protection used by Pr servers.
The new versions are :
Locking : v17r5
Alignment : v11r1
The partition and Db has been updated.
Following request by Alain, I add NI_z et WI_z signals to the DAQ.
Following request by Julien, Gc send B1_ACp channel to NE et WE suspensions
The partition and the processes have been restarted
In order to allow test for the GIPC system, I have change configuration of Alp to use by default the Full_Driving matrix, see entry New version of Locking.
Alp was restart without any problem.
As reported by the locking group, we investigate the problem on "strange" onfly parameters since we used 60 parameters for the sensing part.
The problem was related to a maximum number of parameters for a cm command inside Alp.
The package Cfg (v6r6p1) has been updated to allow 128 parameters. Alp v1r12 has been relinked with the new Cfg.
We modify the Alp macros to use the correct number of onfly parameters on the sensing part, we remove the hack done by Matt and Lisa and restart all the servers.
We do not see anymore the problem with onfly parameters.
Along with the recent work on the Gc (to allow the RFC lock), there was some (weak) attempt to optimize the Gc algo for faster execution. Just before the change, the mean execution time in Step 1 was 66us, after the change it was 62us (see plot), during WSR1 it was 63us. In the end, it seems that the cost of the additional code was slightly more than balanced by the optimization work (i.e., now Gc_Elapsed_Time_mean is slighly less than during WSR1).
During tests made on Gc we observed that the elapsed time in the locking process could fluctuate from one restart to an other one (from 62 us up to 66 us). In addition since we are running with a parallelized version, the change done in the code may lead only to a small decrease in the elapsed time.
In order to have the right name of the onfly data for the locking I restart the LM_new process.
Following a request from Alain I restart also the A_v11 process.
o we add the new channels from Alignment to DAQ (Gc_Al_xx_txCorr and Gc_Al_xx_tyCorr)
o these signals will be available after the next restart of Gc_Alignment (for the moment, only Gc_Al_NE_txCorr is present)
o the v11 version of Alignment has been put in operation
o GCVSUUI has been upgraded (v4r8) to allow the definition of offsets on alignment signals
Everything seems to work properly as the Science mode has been reached during the test of the new version
Yesterday we saw that the matching was worse than what we tought in fact we had about 7%. We investigated the problem and we have seen that the BS was not well centered anymore. To recover the situation, we decided to recenter the beam on the BS shifting the beam on M5 mirror. We moved essentially the beam horizontally toward west (in the ITF east direction on M5).
The shift has been performed using M1 and M2 mirrors (the RFC alignment was kept using M13 and M14 mirrors).
M1h has been moved of about -3000 steps.
M1v has been moved of about 1000 steps.
The matching has not been significantly improved (we have now about 6.5 % of mismatching (see third plot)).
The first 2 plots are images of the beam on the beam splitter without YAG filter before and after the beam shift.
We continue this morning the debugging of a new version for alignment process.
This new version has been partially tested and will be activate later.
The current version (v10r2) has been restarted without any problem.
The crash observed last night is till under investigation.
o we failed testing the new version (v11) of Alignment
o when restarting the current version, we faced a crash of Locking process leading to the send of corrupted data to the suspensions. All suspensions have been excited.
o Following F.Nenci advises, we dowload again all DSP to clean the corrupted data. All LC are left open.
o For the moment, Gc has not been restarted. We will retry tomorrow morning.
coment to 12761
pbs of this night are due to data corrupted on IB and MC LC correction.
we reboot both rio64 and rio40, download again testIB card, and corrupted data re-appeared!
we download testIB card of 6/07/06, with success; both MC and IB are LCable.
we suspect the only difference between both yesterday and 6/07/06 cards to be the responsible: the filter used to filter white noise send optionally on various DOF has been changed; this filter uses only 2coef more.
Here are perf of both cards:
/virgoDev/ISYS/DSPCode/contIB/v9r7/src/contIB
Used coefficients: 263 / 384
Used variables: 125 / 128
Execution time is: 78.433 micro Seconds
Max allowed sampling rate is: 12.75 KHz
/virgoDev/Sa/DSPCodeBackup/contIB/06_07_06:22:09:57/testIB.map
With filters internal status W stored in INTERNAL memory (default option)...
Used coefficients: 260 / 384
Used variables: 125 / 128
Execution time is: 77.100 micro Seconds
Max allowed sampling rate is: 12.97 KHz
-> seems to be not that different, still hard to understand
Upgraded alignment global control.
old new
Alignment algorithm version v3r5p1 v4r1
Alignment package version v9r6p1 v10r1
To use the full feature of the new alignment control we upgrade also
- GCVSU (v4r5, old one v4r4)
- GCVSUUI (v4r5, old one v4r3)
The starting scripts inside ~virgorun/Gc/ have been updated
0) Last changes in algorithm:
- Renamed IB_tz and IB_ty with Input_tx and Input_ty, the change has been done also in alignment_angles.hxx and cxx and inside Gc/ Alignement/Fr_List Db object
- Implemented patch to invert horizontal and vertical signals for B2 just before signal reconstruction.
- Checked that 10th quadrant (B1) signals are put to 0 by alignment process.
- Algo is opening the loops in recycled if problem on Q2, Q5, Q7 or Q8 but not on Q1 or Q1p.
1) Various fixes:
- DC_threshold commit interface and new naming conventions on the interfaces (GCVSUUI)
- still to be fixed a problem with commit onfly on gains of asymmetries
2) Updated all new data base objects:
- matrices tx/ty recombined/recycled
- quadrant asymmetry threshold
- quadrant DC threshold recombined/recycled
-------------------------------------------------------------------------
New features:
- upgrade from 8 quadrants to 10, from 12 dof to 14 dof
- possibility to filter input signals and matrix with onfly gains
- new interface for matrix, thresholds, input and output filters
- possibility to generate sinewave on all correction signals in a synchronized way.
- refreshed code
-------------------------------------------------------------------------
How to go back to last verion?
- recombined/recycled configuration command for GC has been inverted (0-1 in AlpAli): from now, alignment GC "recycled/recombined" button is off for recombined state and on for recycled state.
stop Gc partition
- change Gc Partion using Ali_v10 instead of Ali_v10r1
- change Fr_List Db object (use version 1.24 for example)
- change Algorithms_Name Db object to "Align_FV"
and restart the partition
go back to previous version for GCVSUUI
with the new alignement algorithm, one of the signals used for monitoring Gc has disappeared, so the DM presents an unknown state for GC. This "side effect" will be fixed.
We install today the parallelized Gc version :
- Locking_Algorithms : v4r1
- Locking : v17r2
- Locking_Mirror : v11
- RIOT_Tools_VmeVsb : v5r1.
This new version, described during VirgoWeek of november 2005, allow the use of some computing time during transfert to DAQ.
We were able to lock few times up to step 11, thanks to Dominique, Paolo, Edwige, Lisa and Matt.
The image attached to this entry shows the elapsed time in the locking loop at step 11. The maximum value is 86 ns.
During the lock acquisitions we face a known problem of oscillation of the alignement loops due to delay between calculation and corrections sent to the supensions. This delay is introduced when locking process lost some data. As the problem occurs at a transition level (Await to Steady and Steady to Await), we resynchronize Alignment and Locking processes after the transition Steady to Await.
We resynchronize the two processes during transition Await to Steady (not Steady to Await as wrote in the entry).
In case of oscillations observed on alignment signals, one can check signals sent by Alignement to DAQ and by Locking to DAQ like Gc_Al_Bs_tx and Gc_BS_tx. If more than two samples of delay is observed in steady mode it could be needed to stop and restart Alignment process at the next unlock.
we change also tonight the order of the correction signals sent by Gc to the supsensions:
we first send data to end towers before sending to "central building" suspensiosn.
The time delay between GCVSU and Locking_Mirror can be due to latency in Db Server.
Each time an onfly commit is send, we need to update an object in Db, so sending one hundred messages when the latency was 3 seconds can explain the huge delay observed between the two processes.
As now the commit is only done each 3 seconds, we don‘t observe the problem.
As asked by Frederic Cleva, we misaligned PR by 150 umrad and stop the laser power stabilization for five minutes :
- GPS start : 834477573
- GPS end : 834477904
We restart then the power stabilization