While trying to center the quad on B1p (B5_q2) the motor server crashed. Attempts to restart the process from the DBench client failed, as did a reboot of the rio34a.
The centering attempts started with an auto centering, which diverged (UTC 14:10). It seems that DC3 has a large offset, and possibly other problems. We attempted a manual centering, ignoring DC3, and were able to make the other quadrants have a similar mean (UTC 14:30), but this mean was below the expected value (0.1 instead of 0.5), so we began to explore other positions. At this point the server crashed (UTC 14:55). The last requested position was x = 10e4, y = 5e4... the autocentering went to 14e4 when it diverged, so this position is near the limit and appears to leave the beam off the quad. This prevented further locking attempts.
The DBench client is now constantly outputing these messages:
Qa34b>14 May 2006 20:35:24-INFO...-PrShmMemClose> PrQaB1p - Close done
Qa34b>14 May 2006 20:35:24-INFO...-PrShmMemOpenSlave> PrQaB1p - SHM Open failed
Vb34>14 May 2006 20:35:25-WARNING-Thread>VxItWait returned -3 (49)
At some point (after the reboot?), we also found Qr34 down. Restart attempts failed. The photodiode interface had this to say:
/bin/sh -c exec rsh rio34a.virgo.infn.it -nl virgorun ‘/virgoDev/Pr/v9r5/RIO806X/Pr.exe /virgoData/Pr/Qr34.cfg DET/EB/Qr34‘
Qr34@May14,06-19:36:57>INFO...-CfgIdle> Qr34, Cm ok
Qr34@May14,06-19:36:57>WARNING-CfgIdle> Server Qr34 not launched by Su
Qr34@May14,06-19:36:57>INFO...-CfgConfigLoad> /virgoData/Pr/Qr34.cfg loaded from file
Qr34@May14,06-19:36:57>INFO...-CfgConfigLoad> /virgoData/Pr/Qr34.cfg Ok - size 10320
Qr34@May14,06-19:36:57>INFO...-CfgIdleParseWD> log path /virgoLog/Pr/Qr34
Qr34@May14,06-19:36:57>WARNING-Memory Used increase, cur. 3012.00 prev. 2956.00 (Kb)
Qr34@May14,06-19:37:09>INFO...-CfgSuReachState> Idle - dbName DET/EB/Qr34 Ok
Qr34@May14,06-19:37:09>INFO...-Vx> VxLoadDevice: path /virgoDev/Vx/v3r5 - pkg Vx
Qr34@May14,06-19:37:09>INFO...-Vx> VxLoadDevice: path /virgoDev/Pr/v9r5 - pkg Pr
Qr34@May14,06-19:37:09>INFO...-Vx> VxLoadDevice: shell script couldn‘t be executed.
Qr34@May14,06-19:37:09>FATAL..-PrRootFill> VxXmNew failed
Qr34@May14,06-19:37:09>WARNING-Memory Used increase, cur. 3196.00 prev. 3012.00 (Kb)
Segmentation fault
Pid 6297 - return code -1/bin/sh -c exec rsh rio34a.virgo.infn.it -nl virgorun ‘/virgoDev/Pr/v9r5/RIO806X/Pr.exe /virgoData/Pr/Qr34.cfg DET/EB/Qr34‘
Pid 8261 - return code -1
For the "expert" knowledge
The signals used by the Qa servers are the DC quadrant signals readout by the Qr server. Using these signals the Qa server compute the X and Y position and the correction to apply to the quadrants to centralize the beam.
The mechamins uses to exchange these data is the shared memory available on all UNIX system. This means that Qr and Qa are running on the same CPU.
Today only 4 quadrants can be driven by the same Qa server. To be able the centralize the B1p quadrant a second rio has been added on the crate C34 and the shared memory has been extended from the rio34a to the rio34b through the VME.
Today on all the crate, expect the crate 11. each time the rioa is rebooted a VME SYSRESET is generated setting all the boards {Timing,DOL, ADC, DSP, ...} like just after a switching on of the crate
So before doing sporadic reboot on any rio, please ask to the experts or
wait for their availabilities ....
This morning doing a ping on the rio34a I found it unreachable. I‘ve asked the operator to reboot th rio34a.
After I succeed to restart the Qr34 and the Qa34 without any problem
Anyway according the report where one can see that the Vx driver can not be loaded I suspect a lack of memory due to an unknow rio state ...
Concerning the attempt to use the autocentering function: The QD autocentering function
has not yet been checked after the recent hard- and software changes; moreover, no
update of the autocentering configuration parameters has yet been done after C7, for
none of the quadrant diodes. So the QD autocentering function is not yet available.
Thanks to M.Gray the olserver7 is now under linux-SL4.
The use of Linux-SL4 allows to have a scheduler timeslice of 1 ms instead of 10ms on Linux-rh9, on OSF1 it was 0.5 ms, and to manage the cpu affinity for the differents processes, it was impossible to define the cpu affinity under Linux-rh9.
Around 12:30 the Monitoring and Injection line was stopped and the FbmMoni, FbsMoni, FbmMoniCsm1 and Fbt50Moni restarted on olserver7 instead of olserfver3.
The cpu affinity has been used and:
. FbmMoni, FbsMoni and FbmMoniCms1 have been set to run only on CPU0
. Fbt50Moni has been set to run only on CPU1
In the same time, when a new ClDaqCollect was launched, the FbmSt, FbmStRaw and FbmStRawStol have crashed after the completion of the core generation it was possible to restat it: for few second the full data have been lost
These probelms occurs several times since these servers runs with Fd v5r0
We have restarted the detection GxServers (GxS25, GxS72, GxS82, GxS56)
with the new version of GxS (v4r34).
This new version allows to choose the images to save (with the old one all images were saved when the key SAVEIMAGE was enabled).
Now the last parameter of the key ZONE gives the frequency at which the image is saved (0 means no saving).
The key SAVEIMAGE is now disabled
The following images are sent to DAQ at 1 Hz:
B1, B1p, B1s, B5, B2, B7p, B8p
The zones of GxS25 images have been sligthly reduced
As the informations collected by the FbsSt, Vaccum adn DAQ monitoring data, are used by the Detector Monitoring, the FbsSt server had been restarted on the olserver2(DM host) and its data are sent to FbmSt and FbmDM.
This should also reduce the latency fluctuation at the level of the automation.
The configuration files have been upgraded according to these modifications
On GxS72NB and GxS82WB we ‘ve disable the SAVEIMAGE facility
On GxS25EB and GxS56La the SAVEIMAGE is now done at 1Hz.
On all the image readout, the zone monitoring is still running providng at 10Hz:
. the X and Y positions,
. the power and the X and Y waist
The beam image available at 1Hz are:
. IMC_ref, B2 (GxS56La)
. B5, B1, B1p and B1s (GxS25EB)
A better tuning of the zone size will be done to reduce the amont of data provided by these images
The atomic clock has been uninstalled for test purposes at LAPP
The signal Pr_Ti_AtomicPulse and Pr_Ti_GPSPulse are not conneted to the atomic clock. As consequence the results generated by TiMoni are not relialable but TiMoni remains running to propagate the signals needed by hrec through the Detector Monitoring line
Restart all the FdIOServers on ClDaqCollect and ClDaqData with Fd v5r0p1 aligned with Cm v8r3
Restart the Fbt50 servers with Fbt50 v2r0 recompiled with Cm v8r3
Restart the FdW servers with FdW v2r17p1 aligned with Cm v8r3
Some data are missing due to a wrong configuration on the client
and some difficulties to logon the stol1 machine using ssh fixed thanks to L.Salconi
Fbf v6r1 and Fbm v6r0 have been recompiled with a new Cm version v8r3
The major modifications in Cm, CmCOnnect.c module, are :
. in TCPSelect: as on LINUX platform the timeout content is modified by the select call: create a local timeout reference to avoid the modification of the input timeout and tobe compliant with the other platforms(RIO,OSF1,...)
. In TCPSocket: for LINUX only, force the size of the send and receive socket buffer to 32768 bytes instead of 87080 for the receive buffer
. in RequestPrint: printouts the send and receive socket buffer size
. In PipeRecv, TCPRecv, PipeSend and TCPSend change the prototype of the return value as ssize_t(signed int) instead of size_t (unsigned int) to be compliant with the write API.
. in TCPSend: as the status variable was a size_t(unsigned int) it never perfoms any retry. I‘ve simplified the logic due to the fact that when we are writing on a socket, the socket is set a no be NONBLOCK, and perfoms a retry with time measurement only is the write returns -1 and the errno is set to EAGAIN. A socket sets to NONBLOCK with -1 returns by write and errno set to EAGAIN means that the sending buffer and the remote receiving buffer are fulls.
At 7:09 Stop and restart FbmDet, FbmMoni and FbmSusp
At 7:12 Stop and restart FbfDet,FbfDetP, FbfNe,FbfWe
At 7:15 Stop and restart FbfMoniCb,FbfMoniMc,FbfMoniNe,FbfMoniWe,FbfInj
At 7:17 Stop and restart FbfSusp
With the current CPU board (SN#2434) of rio34a it was not possible to change the VME boot parameters, so it has been replaced (new board: SN#0637). The mentioned parameters have been correctly set and processes have been restarted. To be tested as soon as the involved processes are used again.
Vb v4r18 improvements
. Today with Vb v4r17p2 Vb was not able to read all the channels
at 500Hz, Vb34 case. The problem occurs only when the SMS data collection is actived. Reducing the critical section in v7r18 allows to fix the problem for data sampled at 500Hz.
At 12:10 all the Vb servers have been restarted with v7r18.
The ClBenches configuration file has been updated too.
Thanks to this faliclity the Vb computation can be done on the terminal building at 500Hz instead of 10Hz with some cabling modifications.
For information:
. Vb25, Vb30 : Mean, Max, Min,RMS are computed on 20000 samples over the 20000 samples at 50us
. Vb34: Mean,Max,Min,RMS are computed on 500 samples each 2ms over the 20000 samples each 50us
. Vb72, Vb82: Mean,Max,Min,RMS are computed on 10 samples each 100ms over the 20000 samples each 50us
At 6:40 Stop Qa34 and Qr34
At 7:00 Stop Vb34 and Lo34
New Pr version v9r5 for the Qr servers to allow the access on the shared memory area from VME, needed by Qa server for the autocentering of the B1p quadrants. The PR_SHM_QA keyword have been renamed as PR_SHM
New QaServer v4r3 to be able to access the VME shared memory with some improvements to report the User‘s info only at 1Hz
Today the Qr34 manages 2 shared memory named PrQaB5B2 and PrQaB1p. Only the PrQaB1p is available for VME slave access with 0xF0030000 VME address (Keyword PR_SHM_VME into Qr34.cfg)
At 8:20 all the Qr, Qa servers have been stopped
A new server Qa34b have been added into the ClBenches using the Qa34b.cfg configuration file. The Qa34b runs on the rio34b
The Qr34.cfg have been upgraded to manage the 2 shared memories. The Qr72.cfg and Qr82.cfg have been modified due to the rename of the PR_SHM key.
At 8:30
. all the Qr servers have been restarted with v9r5
. all the Qa servers have been restarted with v4r3
Yesterday morning (8 am to 10 am) we worked on the detection electronics in the laser lab to understand glitches and other problems.
- DAC 66 (used to control the LO phase and to ream the photodiodes):
We noticed that channel 8 of this DAC is not working: it sends a constant voltage (~-1V) whatever is asked.
This channel is used to rearm the RFC photodiode. Since it is not used at the moment (photodiode never saturates) we have disconnected it waiting for a replacement/reparation of the DAC.
Since we suspected a malfunctioning of that board we also decided to monitor the voltage sent by this DAC for the B2_3f demodulation phase. The channel is Pr_B2_3f_LOMoni_MEAN (MAX,MIN,RMS as well).
- Rearm of B2 photodiodes:
We noticed that it was not possible to rearm B2 photodiode when the 3 photodiodes are chained (B2_d1, B2_d2, B2_3f). We removed the chain: the rearm now only allows to rearm B2_d1 which is the only one which goes OFF at the moment. More investigation is needed to understand where the problem comes from.
- Cabling:
We noticed that a T was connected at the input of the ADC channel supposed to read Pr_RFCTraDC. Since the RFC DC reflection was feeding one input of the T we have redefined RFCTra_DC with RFCRef_DC inside Pr28.
The T has been removed since it could be a source for electromagnetic pickups.
To summarize: the RFC channels are defined as before but the cabling is cleaner.
- Glitches on B2 channels:
There were glitches (10 V on a single sample) on the channels readout by the 4th ADC board of Pr28 (B2_d1_ACq, B2_d2_ACq, B2_3f_ACq and RFCRef_ACq). B2_3f_ACq has been moved (last week) to another board and is now free of glitches.
When we were investigating this problem we didn‘t see any glitch (the ADC probably recognized their master). We fed these channels with sines from 1Hz to 10 kHz, and several amplitudes but we were not able to reproduce glitches
We later realized that the glitches almost completly disapear when the B2_d1 photodiode has been rearmed (see plot).
To be further investigated...
We have also added an automatic rearm of B2 photodiodes in AlpDet default macro.
The plot below shows B2 glitches (ACq_max at 10 V).
At ~6:40 we rearm B2 photodiodes, the glitches disappear. Between 7:15 and 7:45 we sent sines on B2_d1(2)_ACq ADCs.
On Tuesday 4th april in the evening, we have restarted several processes of the data acquisition in order to us version v5r0 of the Fd library that fixes the problem of shared memory consumers management that induced a lost of data during C6. Fd/v5r0 also uses a new version of FrameLib (Fr/v6r20p1).
New versions have been done for the following packages:
GUI configurations ClDaqCollect.cfg , ClDaqData.cfg and ClDM.cfg have been changed accordingly.
GUI configurations ClNoise.cfg (for noise monitoring) and ClOP.cfg (for online processing) have not been changed for now, waiting for fix of a problem of NonstatMoni using Fd v5r0 and waiting for Mbta to be recompiled with Fd/v5r0.
The transfer function magnitude measurement of dataDisplay agrees quite well with SR780 measurement for f between 1 and 4 kHz. For frequencies above 4 kHz, some antialiasing filter becomes to be dominant.
However, the phase measurement does not agree so well: it seems that photodiode readout adds phase up to 90 degrees at 4 kHz.
Thus, only the SR780 measurements gives reliable phase and gain margins.
The difference of phase between the two measures is due to the fact that:
. the signal Pr_SSFS_Visu does‘nt have an anti-aliasing filter
. while the other signal have an anti-aliasing filter
For the photdiode the anti-aliasing filter delay is around 70us.
This morning we have installed and enabled the anti-aliasing filter for Pr_SSSF_Visu signal.
Some pictures related to 100H region problems. The Bs_IMC_D1T_DCHF is coming from the laser lab with a BNC cable to the Data Acquisition room
First image:
The signal is splitted by a T and connected to:
. an Adc298-16V in normal mode(Bs_IMC_D1T_DCHF)
. an ADC298-16V in differential mode(Bs_IMC_D1T_DCHF_diff)
Second Image:
The signal is splitted by a T and connected to:
. an Adc298-16V in normal mode(Bs_IMC_D1T_DCHF)
. the Coil readout board in common mode and sent to an
ADC298V in normal mode(Ca_PR_RM_CoilL).
The Coil readout inout stage have a input filter with a cut-off
around 9KHz
Third image
The signal is sent only to
. an ADC298-16V in differential mode(Bs_IMC_D1T_DCHF_diff)
According our understanding, It seems that on Bs_IMC_D1T_DCHF we have high frequencies compoments not correctly filtered by the delta-sigma ADC(ADC298-16V).
Adding a low pass filter with a cut-off at 9KHz at the Laser lab ouptut should fix the problem.
Yesterday between 20 upto 20:30,we restart all the DAQ servers using a shared memory with binary linked with Fd v5r0 and Fr v6r20p1 version. This should fix the problem occured during C6 where 8h of data have been lost
The restarted servers are:
. From DAQ collect line:
. FbmDet, FbmDetCsm1
. FbmMoni, FbmMoniCsm1
. FbmSusp, FbmSuspCsm1
. FbmMain. FbmMainAlp
. FbmSt, FbmStRawBack, FbmStRawStol
. all the Data access line servers
. all the Detector Monitoring line servers
. all the Automation servers
At the end we restart TiServer too to increase the number of servers able to receive the Gps time stamp from 20 to 30
This morning we removes the Ca_PR coil drivers current monitoring
do to a problem of power supply connector
This evening looking at the DAQ latency, I found the Monitoring line with a big latency (> 5s). According the FbmMoni logfile this latency was due to the GxS64MC. It was difficult to logon the rio64b.
The ps -axt command returns:
pid tid ppid pgrp pri text stk data time dev user S name
0 0 0 0 0 0 0 0 31+09:07 root R nullpr
1 6 1 1 16 28 8 8 0.18 root R /init
15 10 1 15 17 16 8 8 0.64 con root W /bin/syncer
34 19 1 34 17 0 0 0 0.00 ttyp1 root Z /bin/login
38 15 1 38 17 80 8 28 0.15 root W /net/inetd
40 16 1 40 17 60 40 64 14.58 root W /net/unfsio
48 27 55 48 17 396 20 172 0.03 ttyp1 virgorun W /bin/tcsh
52 26 1 52 17 0 0 0 0.00 ttyp1 virgorun Z /bin/tcsh
55 25 38 55 17 84 8 28 0.00 root R /net/telnetd
58 24 1 58 17 1032 12 3276 7:22:10 virgorun R /virgoDev/GxS/v4r32/RIO806X/GxS
59 20 48 59 17 56 12 28 0.00 ttyp1 virgorun C /bin/ps
75 9 1 75 17 40 8 20 0.02 con root W /bin/login
77 23 38 77 17 84* 8 28 0.17 root W /net/telnetd
98 11 77 98 17 396* 24 232 0.56 ttyp0 virgorun W /bin/tcsh
144 21 1 144 17 0 0 0 0.50 ttyp1 virgorun Z /bin/tcsh
147 12 98 147 17 1032* 20 5208 38:39 ttyp0 virgorun R /virgoDev/GxS/v4r32/RIO806X/GxS
147 22+ 98 147 30 1032* 4 5208* 55:29:08 ttyp0 virgorun W /virgoDev/GxS/v4r32/RIO806X/GxS
According this report, we have 2 GxS servers running and only th one with the 2 threads was the correct one, killing the other one fix the problem of the overload of rio64 and allow to reduce the latency for the DAQ monitoring line.
I‘m not able to see if the MC local control are more stable
We measured at 5% the parameter for the transition with a line at 323 Hz
We remind that
Gc_MICH_before = gmich * ((signal_DC/alfa)-offset) = 10^-3
Gc_MICH_after = opt_gain_3 x g_mich * B5_ACq/Beta
where
Beta = SQRT((5 * B5_2f_ACq *B5_DC)/Power_5_2f *0.55) = 9 x 10^-3
g_mich = 60
Since B5_ACq is at 323 Hz 3 x 10^-7, one has
>>> opt_gain = (Signal_DC / B5_ACq ) * (Beta / g_mich) = 2/3 (value in the database Ratio_3Q_1DC parameter)
!!! There is an offset on Pr_B5_d1_ACq we are not able to remove by Pr for unprecised reasons. This leads the fringe out of dark causing a delock.
There is a very stable procedure to make attempts for the transition.
1) Goes to step 5 from Alp;
2) Switch B5_photodiode from d2 to d1 (put -1 in the usual window);
3) Refresh on Onfly;
4) Onfly: Fringe_Offset = 0; Start_Mich_Sweep = 0.05: Ratio_3Q_1DC = 0.6 (the last is the opt_gain mentioned above)
5) Commit
AlpDet is currently able to eliminate any offset for a given diode (d1,d2) and the operation result HAS TO BE CHECKED on the composite signal (for istance, B5_ACq). The raw signals d1 and d2 are not changed by any offset adding.
The bias for B5_d1_ACq has been estimated -13 counts. When the shutter is on, B5_ACq now oscillates around 0 W pm 1e-6 W.
The Pr_B_d_{ACp,ACq,DC} channels are the raw data as ADC count or Volt. Only for the computed channels, the offset is removed during the computing phase.
The maximal frame size has been increased from 9Mbytes to 10Mbytes. In more details:
. FbmMain: max frame size 10Mbytes) - nb frame into the SHM 22 (prev 25)
. FbmAlp: max frame size 10Mbytes - nb frame into the SHM 22 (prev 25 )
. FbmDM: max frame size 10Mbytes - nb frame into the SHM 22 (prev 25 )
. FbmSt: max frame size 10Mbytes - nb frame into the SHM 45(prev 50)
These servers have been restarted around 8:40
There was an event of missing frames during 50 seconds at 04:33 (local time) last night. It seems that this was triggered because FbmSt received a frame larger than the maximum allowed size (9293882>9000000). An analysis why the frame size increased in that way is currently being carried out.
This morning we found the following problems:
1) rio64a (on MC) unreachable (but DSP working and loop closed);
2) Inertial Damping on IB providing crazy numbers;
3) Drift angular controls not working since quadrants are fully misaligned.
4) Cavities Alignmnent macro does not work (because of point 3)
Despite these problems we aligned by hands and we reached the locking.
The normalization of the dark fringe level was performed.
The right formula to normalize dark fringe is max B1p_DC/B5_DC x 2
(value in db parameter gain_prcl_state3 - present value is 40).
Then the UGF of MICH loop was tuned around 30 Hz with the PR
misaligned and we checked this allows the engagement of the boost.
Sensing version 1.29 in dataBase with following values of GcGain in the DSP:
PR 0.8 - BS 1.0 - NE 1.0 - WE -1.0
A stable locking of Step 2 was achieved with PR misaligned to -13 microrad.
Then we decided to recover all the problem encountered these morning to have a better aligned and more reliable itf.
The miss centering of the quadrant was due the fact that the information was not anymore upgrade by the Qr72 and Qr82 servers.
These servers have been restarted with Pr/v9r3p1. around 10h this morning
The problem is under investigations