I linked to the Automation client the new version (v1r7) of AlpRecycled.
The main changes in v1r7 implemented this morning are:
- switch SSFSctrl from 1 to 2 in LockStep_5 macro, before the
transition to DarkFringe offset 0.2 (following Heinrich request).
SSFSctrl to 2 produces a factor 4 reduction in the
SSFS loop gain. It is switched back to 1 by the RESET macro.
- a new macro (LockStep_9) performing the switch of the DARM
loop error signal B8 to B1p is now available on the LockStepRequest
dialog box. It will be soon tested (and tuned if necessary)
by Lisa and Matteo.
- in the internal macro OPEN_LA_SWITCHES have been added the Cm
commands to open the related switches of the PR DSP loops, also.
The shift started at around 17:30 to allow people from the morning shift
to complete their tests.
o Direct Beam Alignment Automation.
The macro performs the following steps:
1 - Misalign the end mirrors and the parameters of the cameras cam7p and cam8p;
2 - Check if a DBA is really necessary
3 - If necessary, request the NaServer to perform the North DBA
4 - If necessary, request the NaServer to perform the West DBA
5 - Restore he end mirrors alignment and the cameras cam7p and cam8p
Last week the macro implementation was completed but
the testing was postponed because one of the camera providing the
error signals (cam7p) is not working well and its signals was to much noisy
for the algorithm. A few days ago Benoit carefully tuned cam7p, minimizing the
noise effects, thus making again possible the use of the algorithm.
Consequently, during this shift the testing of the DBA macro was successfully
completed.
o A dedicated dialog box to manage the 1st part of the alignment sequence has
been introduced in the Automation client (see 1st figure). It is opened from the
AlpRecycled server menu by clicking on "Ali Step Request". From this dialog box
is possible to run the alignment sequence up to the PR coarse NLA, depending on
the entered number. As in the locking sequence, 3 means 1-->2-->3, etc.
Concerning the other alignment macros (intermediate_PR_fine_NLA, fine_NLA_8%,
LA_8%, fine_NLA_DarkFringe, etc), their integration in a single dialog box to
manage the alignment/locking sequence was started (macro Set_Step_Request),
but not yet fully tested (tbd in the next shift). A further ALP channel,
Alp_Locking_ALI_STEP is now sent to the DAQ. This channel denotes the current
alignment step (-1 during the transitions). Together with the pre-existing
Alp_Locking_LOCK_STEP allows to to trace the locking/alignment sequence evolution.
Procedure update in the automated locking/alignment sequence.
The PR alignment manual step has been now replaced with the 2 Alp
macros PR_Coarse_Alignment and PR_Fine_Alignment.
The proper sequence to use them is:
1 - DBA if necessary (still with a manual step)
2 - Cavities_Alignment
3 - PR_Coarse_Alignment
4 - Lock up to Step 4
5 - PR_Fine_Alignment.
In case you have to reach lock step 6 (ie fringe offset 8%)
you can use a dedicated macro (LockStep_6 with Alignment).
It executes the above described sequence of macros (DBA not
included) plus the lock steps 5 and 6.
o Integration of the automatic PR NLA in the alignment/locking sequence.
We performed a further testing on the use of the automatic PR NLA.
The automatic procedure (based on B2_Q22 signals) was again compared with
the manual procedure (based on B5 camera image).
The automatic procedure consists in the macros sequence (after CavitiesALignment macro):
PR_coarse_alignment, LockStep_1-2-3-4, PR_fine_alignment.
The manual procedure was performed a few minutes after the completation
of the automatic one, without re-aligning the cavities (since we assume
the alignment drifts constant in the time scale of minutes).
The measurement sequence was repeated 3 times (see Ciardelli's entry for details).
The evolution of a single measurement is reported in figure (the PR coarse
is executed before lock_step 1, the PR fine is executed during when lock_step
is equal to 4, the manual procedure is executed after that lock_step goes again
to 0)
The difference between alignment values (in urads)
coming from automatic and manual procedure
are:
delta_tx delta_ty
0.38 0.85
-0.27 0.90
-0.14 0.87
Considering that the accuracy of the manual procedure is about 0.2 urads,
the above results confirm the conclusion of the last shift on automation:
- no particular difference for tx value;
- about 1 urad offset for ty value.
The 1 urad offset for ty value has been then automatically compensated
inside the PR_fine_alignment.
We verified that with this compensation is possible to reach the locking
at 0.08 dark fring offset in a stable way (~ tens of minutes).
o DBA automation.
We debugged the new macro, named DBA. It works fine for what
concern the automation, but sometime the procedure fails due to
a high level of noise on some of the loop error signals. Julien
realized that it is due to the B7p camera not working well and already
asked for a new one.
So for the moment, the macro is not reliable and it is better to not
use it.
o tx fine NLA at dark fringe 8%
A first test of the Fine NLA at dark fringe 8% (implemented
by Rosario) was performed directly from the NaClient.
See Julien's entry for details.
This afternoon I found the IB vertical loop opened.
By looking at the trend data, it is open since the general
servers restart on March22.
I have just closed it again, choosing also a -170 um
setpoint.
I closed the loop by using the related scripts, since
the related button on the Suspension Supervisor is not
working well. Indeed, the button color (green) was already
wrongly denoting that the loop was closed.
Unfortunately, this bug in the Suspension Supervisor is
misleading and can induce again to similar situations for
the IB vertical control.
AUTOMATION SHIFT summary (March 23)
The shift started later to allow people of the morning shift to continue their work
in restoring the ITF conditions.
o DBA (Direct Beam Alignment).
Julien, Rosario (by phone) and I started to integrate in Alp the automatic DBA
perfomed by the NaServer. The set points and the centering tolerances for the position,
provided by Gx, of the N and W beams on cameras B7p and B8p have been defined.
Consequently, the NaServer cfg has been updated.
The old problem of the malfunctioning of the NaServer DBA due to the picomotors server reliability
seems now to be fixed if the ISYS_Picomotors_ax10 server is used and if it is set to ACTIVE status.
The previous NaServer cfg was using another server (ISYS_Picomotors_ax100), without setting it
to ACTIVE; therefore, when sometimes the status was STANDBY, no picomotor action happened.
After that activity I had not enough time to complete the related ALP macro and to test it (postponed
to a next shift on automation).
o PR alignment.
Part of the shift was dedicated to a not strictly "automation" activity, that is to the assessment
of an alignment/locking procedure that includes an automatic PR non linear alignment (coarse + fine)
instead of the manual PR alignment. Indeed, even if the PR NLA is available since several weeks,
it is not really used in the procedure and this represents a gap in the locking automation.
To this end, a wide set of measurements has been carried out with the help of P.Ruggi and M.Ciardelli
(details and starting times are reported in the last Marco's entry) (at the beginning of each
measurement, the PR was manually misaligned by random quantities):
1- The locking sequence up to the dark fringe offset 0.08 by using
a manual alignment was repeated about 10 times . All the times it was possible to reach the
locking step and keep it for more than 2 minutes (most of the times voluntarily delocked).
2- The locking sequence up to the dark fringe offset 0.08 by using
the PR coarse NLA was repeated about 10 times. Most of the times it wasn't possible to reach the
locking step. The few times that it was reached, an unlock occurred very soon (1-2 minutes).
3 -The locking sequence up to the dark fringe offset 0.4 by using
the PR coarse NLA was repeated about 10 times. All the times it was possible to reach the
locking step in a stable way.
4 - Once the dark fringe offset 0.4 was reached the PR fine NLA was executed. Most of the times this
allowed to reach the dark fringe offset 0.08, but the locking is kept only for 1-2 minutes.
Up to this point the discouraging conclusion is that tha PR coarse NLA allow to reach only the dark
fringe offset 0.4 and the PR fine NLA is not reliable to reach the the dark fringe offset 0.08 in a stable way.
Theefore, the automatic PR NLA doesn't seem to be able to replace the manual alignment.
After that, I noted that the difference between the alignment values obtained with the manual and the automated
procedure consists of a systematic offset of ty ( 1+/- 0.2 urads). Then, I tried to simply compensate for
that offset the ty value after the PR fine NLA execution. By doing so, it was possible to reach the dark
fringe offset 0.08 in a stable way (~tens of minutes). Finally, the 1 urad offset was taken into account
in the related Alp macro (PR Fine Alignment). Also, an additional macro was created (LockStep_6 with Alignment)
grouping the sequence CavitiesAlignemnt-PRcoarseAlignment-LockStep4-PRfineAlignment-LockStep6 that can
be optionally used to reach directly the dark fringe offset 0.08. Once the macro is started, it takes about
7-10 minutes to reach the dark fringe offset 0.08.
The result of 4 executions of that macro are reported in the figure in the next entry (the 1st unlock was done volunterily).
The part of the PR Fine Alignment macro that checks the quadrants centering and asymetries has still to be
completed (to be defined better with Andreas).
o Other stuff.
In accordance with the alignment group, the start and stop of the quadrants autocentering
is now managed inside the AlpRecycled locking sequence. This has been implemented by inserting the
line 'CMD_CM AlpAli AlMaLoadSet -t "Start_autocentering_B7B8quadrants" ' in the
CAVITIES_LOCKING macro, by inserting the
lines 'CMD_CM AlpAli AlMaLoadSet -t "Start_autocentering_B7B8quadrants" ' and
' CMD_CM AlpAli AlMaLoadSet -t "Start_autocentering_B2B5quadrants" ' in the
LOCKSTEP_01 macro, by inserting the
line 'CMD_CM AlpAli AlMaLoadSet -t "Stop_autocentering_quadrants" ' in the
RESET and in the WAIT_GUARD_CAVITIES_LOCKING macros.
Operation report :
15h54 Cavities have been Aligned & Locked using the macro AlpRecycled - Cavities Alignment.
15h57 PR Mirror has been aligned (macro AlpRecycled
The set of AlpRecycled macros related to the locking sequence
(Step1 - Step8) has been replaced with a single macro, named
LockStepRequest. The related dialog window is reported in the figure.
At level of procedure, this means that the lock step number has to be entered in the 1st line
of the dialog window and then click on the 'send' button.
---- Standard state of the Alp servers --------
I often find the AlpRecombined server active.
Actually the config file of this server is quite obsolete
and thus its macros may not work properly. Therefore the
standard state for AlpRecombined server should be OFF.
For what concerns the remaining Alp Servers (ie AlpRecycled,
AlpALi, AlpDet, ALpSa) it is mandatory to have all them ACTIVE
during automated locking operations since the AlpRecycled often
calls macros of the other 3 servers.
Outside automated locking (but with the beam laser in the ITF),
is mandatory that at least AlpAli and AlpDet servers are active since
they perform also a background check of the beam power impinging
on some photodiodes and quadrants and, in case of high power
level, they act on related flippers to avoid damaging of those
sensors.
Explanation of the funny switching in the Automatic
Cavities Alignment observed yesterday (reported in the
entry by Andreas et Al.).
The algorithm implemented in Alp performs a rearm of the Gc
alignment switches and then close the related DSP switches.
After 5 s it checks if the Gc keeps the alignment switches
closed (by locking at the channels Sc_NE_AxSw, etc.).
If Gc, on the basis of its internal criteria, re-opens the
alignment switches, Alp performs an other attempt to close
again the Gc and the DSP alignment
switches. After the 3rd failed attempt, a fine NLA is
launched.
The above algorithm has worked well since its implementation (~ 2 weeks ago),
but in case of data latency grater than 5 s it obviously
fails and an oscillation in the switching occurs
(at maximum 3 cycles).
This was the case of the reported problem. In fact, as
shown in the 1st figure, during that event, the
latency was between 8 and 12 s, while the normal
vaule is 2 or 3 s..
By the way, this is an example of possible problem that we can face when the
automation is based on data having a latency of several seconds.
Unfortunately, during last 24 hours, the latency often
increased over 5 s (see 2nd figure), and therefore the
reported problem and other funny behaviours may occur.
The latency problem increase was due to the malfunctionning of the
GxS64MC servers due to the lamp problems.
For more information
have a look on the logfile of FbmMoni (/virgoLog/Fm/FbmMoni/FbmMoni_Feb22,05-13:01:12.log)
More over the Frame queue size into the GxServer is set by default to 10 frame. One can reduce the frame queue size using the
FRAME_LIST_SIZE key with the frame queue size.
One the other suspension the FRAME_LIST_SIZE is set to 5 execpt for the MC suspension.
I 've upgraded the GxS64MC config file with the FRAME_LIST_SIZE key set to 5. It will be taken in account at the next restart.
At around 14:08 UTC a strong excitation was sensed along z
and x by the MC horizontal accelerometers (see figure).
No event noted on the other towers.
This event caused also a delock of the MC.
After a transient, the ID loops recovered the position,
but the LC guardian opened the LC loops.
The ABP remained active, thus continuing to send (wrong)
corrections on the laser table and thus spoiling the
input beam alignment.
Once the MC LC was closed again, it was difficult to restore
the input beam alignment (due to the ABP actions) and
Olivier is still working on that.
Summary of the Thursday morning shift on Automation.
o the new Alp version v1r04 delivered by Alain was loaded for AlpRecycled
(previous v1r03p2). Some of new features added in v1r04 are: the bug occurring inside a IF-END
loop calling a child macro (reported on the Sat Feb 19 00:03:06 2005 entry) has been fixed;
the RETURN_LOAD command that allows, after a return, to launch a new macro.
o Matt and I decided to re-organize the configuration of AlpRecycled by increasing
the number of cfg files included in AlpRecycled.cfg (v1r5).
Now there are 4 files (previously 2):
- Locking.cfg (contains the locking steps 1-8 plus related internal macros)
- Alignment.cfg (temporarely contains the PR_ALIGNMENT_STARTUP, PR_ALIGNMENT_RESTORE,
COARSE_PR_ALIGNMENT, FINE_PR_ALIGNMENT macros)
- Service.cfg (contains the STARTUP, RESET macros, plus internal macros used bu Locking and Alignment)
- Shared.cfg (contains macros shared between Recombined and Recycled: DBA_STARTUP, DBA_RESTORE
CAVITIES_ALIGNMENT, CITF_LOCKING, plus related internal macros)
o The COARSE_PR_ALIGNMENT was implemented and tested.
It performs the following actions: Open LA DSP switches, Put locking state in "Await",
Put PR mirror to the nominal aligned position , Close all z-dampers, Set Alignment in RECYCLED MODE,
Misalign END MIRRORS by 100 urads,
Launch the PR Coarse NLA (in case of a 600 s timeout or error messages from the Na Server
stop the process, restore END MIRRORS alignment and return),
Restore END MIRRORS alignment.
Paolo performed a comparision between the PR alignment results obtained by applying the
COARSE_PR_ALIGNMENT and after that the usual manual alignment procedure
(see Paolo's entry done this morning).
The use of this new macro in place of the manual procedure needs further investigation from the
locking and alignment people.
o The FINE_PR_ALIGNMENT was implemented, but no time remained to test it (for the moment don't use it).
It performs the following actions: Check the B2 quadrants centering (by considering the normalized
values) and if necessary calls the B2 quadrants auto centering and wait at max 60 s to achieve
the centering otherwise return, Set to 0 the demodulation phases of B2 quadrants,
Launch the PR Fine NLA (in case of a 300 s timeout or error messages from the Na Server
stop the process, restore demod phases of B2 quadrants and return),
Restore the demod phases of B2 quadrants.
o Thanks to Alain it has been possible to send an Alp variable (LOCK_STEP, denoting the step
sequence evolution) to the DAQ. So, it is now available on raw and trenddata and on the dataDisplay.
Automation Serial Data stored into the DAQ
To allow AlpRecycled to send data to FbmSt, we:
. Add in the FbmSt input source list AlpRecycle server( see file
/virgoData/FbmSt/FbmSt.cfg)
. enable the generation of SER by the AlpRecycled server using the
key ALP_SER
. Ask AlpRecycled server to send a frame to FbmSt with only the
Serial channel generated.
In this case the data generated by AlpRecycled server are
available using the Alp_Locking serial channel.
Shift Summary
16:00 The first part of the shift was dedicated to continue
the work on the Linear Alignement, started in the morning
shift. Unfortunately it was not possible to start the
measurements, due to a problem in the Gc. Indeed, a strange
behaviour of the Gc, often happened also during the morning shift,
made impossible to lock the N cavity and to close the Gc
alignment switches for the N arm.
For what concerns the W cavity, the Gc worked properly.
18:00 (around) The locking group started their shift. We
succeded in locking again the N cavity only after a restart of
the Gc server.
18:10 Cavities non-linear alignment performed by using the Na
Client, Quadrant Offsets removed and angular loops activated.
18:20 ITF has been locked using the macro AlpRecycled : dark
fringe -> 0.2. It unlocked at 19:20
19:30 Cavities realigned and locked using the macro
AlpRecycled
Recent modifications on AlpRecycled (v1r4).
The LOCK_GUARDIAN macro is now set as default macro once the lock
is acquired. As a consequence, a background check of any unlock
event is performed every second and, once a un unlock is
detected, the RESET macro is automatically launched.
Once the RESET is completed, the LOCK_GUARDIAN macro is disabled
as default macro
One of the Gc on-fly values (Gain_PRCL) used in the Locking steps
1, 2, 3, 4 has been increased by a 50% factor, accordingly to a
Matteo's request. The new value is 45.
MiniRun M0 report
-----------------
In the first part of the run we were able to lock the dark
fringe for few seconds only.
The first "long" lock (few minutes) has been achieved at 21:29
local time. In any case, it wasn't possible to achieve the science mode.
Problems:
- DAQ Channels (FmRawBack, Fm50Hz, FmTrend, MdTrend, FbtMinute and
dataSender) were found to be in an Orange state and would not
restart using the normal procedure. They subsequently changed to
a red state and an attempt was made to connect remotely to the
server of the FmRawBack line. This was not possible and the
message 'port 22 - No route to host' was displayed instead.
- Alp Ali server was executing the macro Alignment_Recycled_State
continuously. In order to fix the problem, we called Julien.
According to him, a flipper of B7 or B8 quadrants could be
broken. He decided to disable the macro.
Shift on Automation mainly dedicated to the improvement of the
"Cavities_Alignment" macro. The new version (v1r4) is now
almost completed. It remains to be fully checked.
At the end of the shift I linked the Automation client to
the pre-existing Cavities_Alignment macro (v1r3) widely used
during the week.
Problem encountered in the implementation of the 'cavity alignment' macro
A problem was encountered with the ALP program when calling the CAVITIES_LOCKING and CAVITIES_NLAC macros from the CAVITIES_ALIGNMENT parent macro (v1r4-Shared_Macros.cfg): when the macros were run individually they would execute without problems, but when called within an IF-ENDIF loop within the parent macro they would not run properly.
After a pretty long debugging time it was discovered that the problem was being caused by a strange behaviour in the IF-ENDIF loop of the parent macro. Summarised with the following example:
MACRO "PARENT_MACRO"
OP VAR1 = 1
IF VAR1 == 1
EXEC_MACRO MACRO1
...
ENDIF
...
ENDMACRO
MACRO "MACRO1"
OP VAR1=0
...
ENDMACRO
When MACRO1 is called from the parent macro it stops after the first lines without apparent reason and without providing information on why it has occurred. It was discovered that the variable 'VAR1' was being re-read by the parent macro within MACRO1 and was consequently ending the ENDIF loop. The problem was complicated by the fact that the loop was not ended immediately, but a few lines later.
The problem was resolved by moving the 'OP VAR1=0' command to the parent macro, after the EXEC_MACRO MACRO1 line. The modifies version is as follows:
MACRO "PARENT_MACRO"
OP VAR1 = 1
IF VAR1 == 1
EXEC_MACRO MACRO1
OP VAR1=0
...
ENDIF
...
ENDMACRO
MACRO "MACRO1"
...
ENDMACRO
It seems to be a bug in the ALP program that caused this event to occur.
Noise injection on PR F#0 vertical coils for vertical damping
OPen Loop TF measurement.
Good data from 00:28am to 1:51am UTC (18Feb05).
Measurement Conditions:
Noise gain = 0.03
Loop filter gain = 0.02
Vert DC loop ON
ID loops ON
LC loops OFF
******* Vertical Damping ************
During the Thusday afternoon shift we modified the loop filter of
the PR vertical damping. The new one allows for a higher gain
around the first vertical resonance (@ 145 mHz).
Now the amplitude of the residual oscillation on the error signal
(F0_LvdtV) is less than 0.5 um PP.
Nevertheless, the residual oscillation of the total chain lenght
(LvdtTot) is not decreased of a similar factor and is between 5
and 10 um PP.
Anyway, the performance of the new filter will be evaluated
during next days, also under less quiet seismic activity.
************************************************
Final status of PR:
- ID and LC loops closed
- vertical DC loop closed
- guardian active
- vertical damping open
***********************************************
Details:
New filter description:
z1=z2=0 Hz
z3=0.8 Hz
p1=p2=0.01 Hz
p3=5 Hz
p4=10Hz
notch @ 26.2 Hz Q1=50, Q2=5
gain=0.02 @ 1 Hz
gain margin = 2.7 dB
- the gain of the DC vertical filter has been increased by a
factor 2. The new one is 10e-6 @ 1 Hz.
- Changes on dampPR card archived with version name v10r6
- VirgoDatabase updated
****** Procedure for the PR VERTICAL CONTROL ********
Two indipendent vertical controls are now available:
- the DC vertical control
- the vertical damping
The standard state for the DC vertical control is ON.
The procedure is the usual one.
The temporary standard state for the 'vertical damping' is OFF.
It has to be switched ON when the mirror vertical oscillation
disturbs the alignment/locking activities (ie when the
Sa_PR_LvdtTot amplitude is typically higher than 20 um PP).
To switch it ON (OFF) set the gain of VDampON on the 2nd line
of the dampPR card to 1 (0) with a ramp-time at least of 5 s.
Once ON the related correction signal (Sa_PR_VertDampCorr)
fluctuates around zero.
A new strategy for the damping of the first vertical resonance of
the PR chain has been implemented yesterday after the dedicated
morning shift.
An attenuation factor 5 of the peak to peak value of the vertical
residual motion has been obtained.
This new vertical damping is acting in parallel with the DC
vertical position control on a different frequency bandwidth with
unity gain at about 1.5 Hz.
Thus the PR vertical damping can be opened/closed, independently
from the DC vertical control, acting (with 0/1) on a switch named
"VDampON"
placed at the second line of the first page of the damping card
"dampPR.hrd".
The procedure for the DC vertical control remains the usual one.
BUG in the DAMPING CLIENT
During the yesterday afternoon shift activity on PR vertical damping we downloaded a modified dampPR file. The mofifications concerned only the vertical loop.
After the download, when we managed to close the ID loop,
by acting from the damping client with the usual procedure,
the PR suspension was strongly excited (see figure 2).
By looking at the data (figure 1, we can understand the
origin of the loop failure.
After the download, the error signals (accel. and Lvdts)
have the usual shape, but with an unwanted huge
amplification of a factor 10e8 ~ 10e9. As a consequence,
also the correction signals (for instance xCorr in figure
2)were amplified by the same huge factor, thus producing a
strong correction force on the suspension top-stage.
After that, G.Ballardin solved the problem. He found that
there was a bug in the damping client related to a problem
of the damping client database. It seems that even if the
problem in the damping client was already present (in all
towers), it was latent and its catastrophic effect appears
only after a download.
For more information have a look on the logfile of FbmMoni (/virgoLog/Fm/FbmMoni/FbmMoni_Feb22,05-13:01:12.log)
More over the Frame queue size into the GxServer is set by default to 10 frame. One can reduce the frame queue size using the FRAME_LIST_SIZE key with the frame queue size.
One the other suspension the FRAME_LIST_SIZE is set to 5 execpt for the MC suspension.
I 've upgraded the GxS64MC config file with the FRAME_LIST_SIZE key set to 5. It will be taken in account at the next restart.