In order to better follow the status of the UPS boxes, the Remaining Battery time is plotted over last 6 hours. In this way it is possible to detect an eventual failure
A new version of IMMSServer v2r3p2 is online with following changes:
1) New version of low-level CanAPi driver (v3r7)
- Tx/Rx Fifo queuesize set to 1.
- Cross-check of correct device number and input number to avoid channel data swapping when reading back data from request in the ReadSDO function.
- add a sleep = 1000 us between successive write request and read data in the ReadSDO function.
2) IMMSServer (v2r3p2)
- Linked to CanAPI v3r7
- At the device Sms string building level, keep the Sms data of functionning modules even if one of them is failing (Before the whole device Sms string was cancelled if only one module was missing).
- To reduce further the eventual stress of the canBus system, a 100000 us sleep has been added between each device query. The full Sms string builds up in ~7,5 s.
IMMSServer v2r3p2 has been tested with success as follows:
Setup : 1 ethercan device having 5 modules providing each 4 data channels (total = 20 Sms data)
1) Unconnecting/Reconnecting modules from the device
2) Running contemporaneously up to 4 additional independent process loops connecting 4 different modules for about 20 hours. stop/restart the processes.
3) Saturating some test probes putting module in error (red blinking led)
As can been seen in the attached plot, saturating channel VTF1 (value = 80) has a clear even if quite small side effect on channel VTF2 from the same module which values goes from -45 to -44.9. The other modules are not affected at all.
I forgot to tell in the plot that VTF4 channel values changes to 20 because it is connected (with a resistance) to the saturated signal. Only VTF2 is free from any connection
What has been seen in UPS monitoring during today ENEL blackout corresponds to the reboot of the UPS2 box on Friday at about 14h17. On the plot one can see that the RBT_UPS2 signal is fluctuating, indicating that the local server is taking data again.
The provided explanation (ie that the UPS2 monitoring was non properly working because the UPS2 server was stuck and that the UPS2 server restart of Nov 27th solved the problem) is equally worring to what reported in UPS monitoring during today ENEL blackout .
Indeed, this means that in case that the UPS server gets stuck (for UPS2 this happened from the whole period Aug 4th - Nov 27th), the IMMS server doesn't realize this and continues sending not realible values to DAQ and DMS, with consequent risk of missed alarms by the DMS.
Some fixing to avoid this would be important, for instance some sanity check by the IMMS server (for instance grab also the date of the htm web page of the UPS server and compare it with the current date, etc)
In this new version v2r3 was added the requested channel error treatment , (1\ The error signal of the loop, named "Err", and defined as: Err=PV-SP)
Server configuration file contains from now on the new lines:
# MODBUS VALUE ERROR KEY
# Key # Name # Name_1 # Name_2
MB_DELTA Loop_1_Err Loop_1_Main_PV Loop_1_Main_TargetSP
MB_DELTA Loop_2_Err Loop_2_Main_PV Loop_2_Main_TargetSP
which calculates for all buildings the error between setpoint and current value
for the request :
2\ A signal that denoted the mode of the controller, for instance named "Mode"
and defined as:
Mode=1 when the loop is ON (ie automatic mode)
Mode=0 when the loop is OFF (ie manual mode)
a few additional channels have been added that may give the information requested :
MB_VALUE Loop_1_Main_AutoMan 0x0111 1
MB_VALUE Loop_2_Main_AutoMan 0x0511 1
MB_VALUE Loop_1_Tune_AutotuneEnable 0x010e 1
MB_VALUE Loop_2_Tune_AutotuneEnable 0x050e 1
MB_VALUE Loop_1_OP_ManualMode 0x022c 1
MB_VALUE Loop_2_OP_ManualMode 0x062c 1
Two events noted this week:
- UPS monitoring.
On Tuesday morning, during the Noise investigation of UPS CB machines both UPSs of technical building were switched off, but the DMS performed the automatic notification that only the UPS1 machine was switched off. To understand more, I had a look to the related IMMS signals (Fig.1)> According to these signals, only the UPS1 was switched OFF for some time, while the UPS2 was always ON (on the 5th plot, 1=ON, 0=OFF).
Since for sure both UPSs were switched off, there is a problem in the monitoring. This in turn, induces false or missing alarm notification in the DMS.
- ACS Eurotherm loops monitoring
From the available IMAC signals, related to each Eurotherm controller of the ACS loops, it is not clear when a loop is open: no signal clearly reporting the state of the loop switch (an example in Fig2). Sometime this info could be extracted by the "ActiveOut" signal, but not really clear wether this signal is flat due to a saturation or to the loop opened...
For instance, in Fig 2 is reported the case of the EER cold water loop, that in reality has been OFF, then ON for a few days, then OFF again, but around Oct 24th it was flat due to a saturation (not for the loop opened).
So difficult for the DMS to make a diagnosys in this cases...
A dedicated signal would help...
The UpsServer reads the status of each Ups system independently from a web page associated to each of them. In the case of TB_UPS1 and TB_UPS2 the page shows a line:
Master output : Master : On
If On is absent from this line, the status of the UpsErver for this Ups goes to 0, else it is equal to 1. Apparrently, the status did not changed in the case of UPS2, while the one for TB_UPS1 went to 0 during the test. This must be better understood according to the type of test done.
In general, it would be nice that software experts are informed on any tests done on UPS system like switch on/off test, so this kind of things could be checked.
New servers version:
. TolmProcessor v0r43p1
. TolmFRameBuilder v1r1p14
. Pr v10r10p4
. GcLocking v2r9p1
. GcAlignment v2r9p1
The main upgrade is in the TolmProcessor packages: now the TOLM_PROCESSOR_OUTPUT_PACKET are processed and sent trough the TOLM link before the TOLM_PROCESSOR_DAQ_FIFO_PACKET processing
The upgrade has been done on:
. ClITFCtrl
. ClCalibration
. ClBenchesC and ClBenchesE
Please restart yours clients to take in account these modifications
Please restart your ClDaqCollect UI too, the following servers were restarted with the new TolmFrameBuilder release:
. FbLocking, FbAlign
. FbCa
. FbMoniCB, FbMoniMc, FbMoniNe and FbMoniWe
The BacnetServer collecting Temperatures,Pressures,Humidity, valves, and status of the new clean room at 1500West for monolithic suspension is now online and running on the InfraMon client. The following SMS channels are acquired by FbsMoni:
CHANNEL ACS_MS PRWAB_INLAIR 0 8 85 #B'A'Ahu101'FanSu108'PSu PDT111 Pressione Aria Mandata
CHANNEL ACS_MS PRWAB_DIFFAIR 0 4 85 #B'A'Ahu101'Sen'PR PDT01 Press. Diff.Laboratorio
CHANNEL ACS_MS RHWAB_OUTAIR 0 2 85 #B'A'Ahu101'Sen'HuEx MT112 Umidità ripresa
CHANNEL ACS_MS RHWAB_INLAIR 0 3 85 #B'A'Ahu101'Sen'HuRelSu Umi Relativa Aria Mandata
CHANNEL ACS_MS TEWAB_OUTAIR 0 5 85 #B'A'Ahu101'Sen'TEx TT112 Temperatura ripresa
CHANNEL ACS_MS TEWAB_EXTAIR 0 6 85 #B'A'Ahu101'Sen'TOa Temperatura Aria Esterna
CHANNEL ACS_MS TEWAB_INLAIR 0 7 85 #B'A'Ahu101'Sen'TSu Temperatura Aria Mandata
CHANNEL ACS_MS TEWAB_VFPERC 1 1 85 #B'A'Ahu101'Ccl106'VlvTY-105 Valvola Fredda
CHANNEL ACS_MS TEWAB_VCPERC 1 4 85 #B'A'Ahu101'Hcl108'Vlv TY-107 Valvola Post Riscaldo
CHANNEL ACS_MS TEWAB_CHILLSTAT 3 7 85 #B'A'RfMch'1 Stato funzionamento
Soon, an alarm may be added in the Detector monitoring relative to these channels, in agreement with the detector operation group
Calm shift in science mode all long. One GRB alert event at the end of the shift (~ 22h40LT)
Horizon around 8 - 8.5Mpc
Omega pipeline status Status Ok. Trigger rate normal. Few events:
#date #gps #freq #Duration #Bandwidth (Hz) SNR Triggered by Flagged by :
Sat 2009 Oct 17 19:30 939843021.344 209.1 1.39e-01 7.2 10.5 Omega -not clear origin
Sat 2009 Oct 17 18:58 939841114.750 64.2 1.15e+00 19.3 10.1 Omega - not clear origin
Sat 2009 Oct 17 17:14 939834880.113 1327.7 4.21e-01 1360.3 16.9 Omega - not clear origin
Sat 2009 Oct 17 16:59 939833977.617 644.4 1.38e-02 1099.4 11.0 Omega - not clear origin
Sat 2009 Oct 17 15:10 939827431.149 1063.0 1.20e-03 831.0 14.1 Omega -B5_1024_4096_FULL
VaOS9VaLink Sms data communication to FbsSt is quite slow (> 5 seconds). The best tuning of FbsSt to account for this problem is :
SMS VaOS9VaLink 10 Va "" "FbGetAllSmsData"
(I removed the delay=1 at the end of the line)
Seems to have solved the problem, DM flags are back to green
since yersteday 17h54 LT the ctrl16 pc in laser lab has been probably shutdown by someone and the beam imaging of the RFC Tra Beam is no more propagated in control room.
I have made a few updates / improvements on the Web trend page for Infrastructure monitoring:
1) Graphs are recomputed with a channel name bigger which is now human readable
2) I added a new graph for the monolithic suspension clean room (see plot) at 1500WEST, since we are now able to acquire long term data using recently developped BacnetServer (for the moment running in CascinaVTF domain).
Concerning point 2), we may add other channels after requests from Infrastructure team. From the DAQ point of view, the (raw and trend) data are acquired in a parallel stream at the moment. We may also decide if we add alarms on the 1500W Clean room installation.
At 23:24 LT ITF unlocked due to an earthquake (see attached figures). All suspensions were already shaked by another earthquake in Alaska half an hour before. ITF has been relocked easily but upon reached step 12 we realized that B2_d2 was OFF (Vb red flag on DMS) so we decided to unlock and relock in order to refresh the status of B2 d2. I don't know why but it worked!
ITF in Science Mode.
Horizon ~9 Mpc.
DAQ 6:32 LT Kw_Bs restarted after a crash.
MSC - In the last few hours a drift along x and tx occurred on IB and MC (figure 3). Signals out of thresholds (red flags on DMS). To be investigate.
- WE vert total elongation too high due to a decreasing of the temperature (red flag on DMS).
On-line Computing & Storage At about 23:30 LT he cmpl network get stuck. Consequently also BcMeteo process for anemometer in Cb was not able to send data. (gray flag for "External", FbsSusp stuck) With A. Bozzi we realized that the switch 193.205.73.8 was broken. All cmpl of CB are not available. The cmplmeteo has been plugged directly on Farmn1 but we were not able anymore to restart BcMeteo server due to an enabling permissions. Tomorrow during the standard working time the switch will be replace with a new one.
The ITF was locked for all shift with an horizon around 9 Mpc. No particular problem to report
Horizon Periodic drops occured due to TCS NI instability down to 6 Mpc
Special Events Only one event reported by Omega Scan :
Sun 2009 Oct 11 21:46 939332813.656 53.8 1.18e+00 19.6 27 Omega/MBTA - - B5_1024_4096 - B5_1024_4096_FULL - MAB_CE_10_40
There is in fact a problem to report : a large excess of triggers can be seen in all available online pipelines and spectrograms of B1 since 22 UTC. It seems to be the B1_d2 photodiode again.
This afternoon we tried to retune the SFP to get better shape of the carrier.
The main idea is to slow down the SFP scanning. This has effects on the CtrlSrv server, which needs its configuration to be changed, and some code to be updated with the introduction of the offset default ramp scanning. We obtain for the moment a midway result with a better shapped carrier (see plot). This requires already the settings of the findsideband algorithms to be retuned in CtrlSrv since the gap between LSB and USB has considerably increased (see plot 1 and 2):
FSB FSB_B1p Pr_B1p_SFP Pr_B1p_SFP_ramp 10 300 30 100 0.01 0.02 0.02 0.02 100 FindSideBands
In this new version Sensing offsets and gains can be adjusted onfly with a ramp fixed of 5 second at the moment.
Cleint ClITF.cfg has been updated and GcAlignment v2r9 is now up and running
Since July, there was no more camera imaging the beam transmitted by the RFC (used as a spare for LC). On Tuesday, we installed a new camera (from imaging source, firewire). This is intended as a temporary patch waiting for the replacement of all imaging beam cameras planned for March 2010.
The image acquisition is done from ctrl16 in the laserlab (using a single firewire cable), and images are displayed on the control room monitor using a windows pc installed in the network room temporarily. Image frame rate is 30Hz.Camera features can be controlled using the client CamUI by typing:
/virgoDev/JCam/v0r0/mgr/CamUI.csh CascinaVTF
This patch v2r8p3 hopefully will solve some of the remaining problems related to the DAQ and improves the startup phase report on user info and channel management, and some code optimization.
Following is the ChangeLog report for v2r8p3:
* avoid passing strings in algo function arguments in Controls.c:
- add alignment_algo_get_debug_sensing function (used instead of general alignment_algo_get_debug_data)
- remove unused argument string fsm_state in alignment_algo_compute function
It solves the bug of the /var/log/messages (Data losses at 2h02 UTC on rtpc11):
Sep 21 16:29:21 rtpc07 kernel: BUG: sleeping function called from invalid context at arch/i386/lib/usercopy.c:113
Sep 21 16:29:21 rtpc07 kernel: in_atomic():0, irqs_disabled():1
Sep 21 16:29:21 rtpc07 kernel: [] __might_sleep+0xfe/0x104
Sep 21 16:29:21 rtpc07 kernel: [] strncpy_from_user+0x37/0x5b
Sep 21 16:29:21 rtpc07 kernel: [] do_getname+0x40/0x5d
Sep 21 16:29:21 rtpc07 kernel: [] getname+0x2a/0x60
Sep 21 16:29:21 rtpc07 kernel: [] __user_walk_fd+0x10/0x3e
Sep 21 16:29:21 rtpc07 kernel: [] vfs_stat_fd+0x19/0x40
Sep 21 16:29:21 rtpc07 kernel: [] sys_stat64+0xf/0x23
Sep 21 16:29:21 rtpc07 kernel: [] __ipipe_dispatch_event+0x28/0x228
Sep 21 16:29:21 rtpc07 kernel: [] copy_to_user+0x3f/0x47
Sep 21 16:29:21 rtpc07 kernel: [] sys_select+0x136/0x154
Sep 21 16:29:21 rtpc07 kernel: [] getnstimeofday+0x33/0x10a
Sep 21 16:29:21 rtpc07 kernel: [] __ipipe_syscall_root+0x81/0x111
Sep 21 16:29:21 rtpc07 kernel: [] sysenter_past_esp+0x6e/0x72
* add some user info during long idle state
* add (int,float,double) type values in channel_t structure
* Check configuration types in alignmentInit function
* Add a algo_run_one method in configured state
A new configuration file is associated to this patch v2r8p3 (GcAlignment.cfg_Oo_New). It is now up and running. The present computing time in the cycle is now about 9 us (gained a factor 2). Gc Trend window must be updated again !
After the event of yersteday (24841, TCS troubles), I checked that 3 software read mistakes occured since 7 August (2 for Temperature NI, the last one for temperature setpoint NI, yersteday which led to the reajustement from 15,9 to 16 degrees, enough to perturb the horizon). Since it is due to some occasonally corrupted string coming from Chiller, and since the resulting temperature appears to be very far away from the excpected one (> 1 degree) I decide to put a configurable error delta in the server itself, as it is not sufficient in Alp. The delta has been fixed to 1 degree in the ChillerServer.cfg file. The ChillerTCS has been stopped and restarted accounting to this new modifications (version running v2r12 in ClTCS.cfg)
To go on with the reduction of CARM bandwidth (from 1.5 Hz to 200 mHz) started in Experiments with CARM control, we were missing a way to make GIPC stable even in the new configuration.
The instability was linked to the fact that GIPC uses the z corrections sent by Gc to the end mirrors as replacement for top stage position signals below 100 mHz. This works only with the assumption that correction signals are proportional to the mirror displacement the loop is correcting for (let's call it "free mirror motion"). This is true only if the loop has high eogh gain to keep the error signal close to zero and transfer the position information to the correction. This is not true for CARM if the bandwidth is 200 mHz.
Therefore we needed a new signal sent to end mirror, proportional to the free mirror motion. This can be computed inside GC starting from the loop correction, the error signal and a model of optics and mechanics. If properly working, this signal would give an accurate information to make GIPC working regardless of the loop bandwidths.
To be able to use this technique we needed few modifications:
- Alain and Daniel changed the TOLM gateway and GC configurations to send a new signal from Gc to the end mirror lower DSP
- I created a new version of GcLocking (v2r9) capable of performing such a reconstruction: it can take the loop correction, add to it a filtered version of the error signal and send is a the new position signal to be used by GIPC
- Paolo modified the end mirror lower DSPs to be able to use (if wanted) this new signal.
The machinery has been tested: the new signals are correctly sent to the end mirrors. So far they are exactly equal to the standard longitudinal correction. A bug in the GcLocking algorithm code has been found which prevents to apply the desired filter to the error signal. This will be solved with a recompilation before the next tests.
For reference:
Gc_DARM_z0, Gc_CARM_z0: d.o.f.s free motions expressed in units of correction
Gc_NE_z0, Gc_WE_z0: mirror free motions in units of correction.
So far no modification of the CARM of GIPC configuration has been performed.
I found the bug in GcAlignment which caused the recurrent crash of rtpc11 reported this morning again in Operation report - Night shift.
, as revealed by the core:
CmConnectNew () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so
(gdb) bt
#0 0xb7dea9f4 in CmConnectNew () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so
#1 0xb7df08c0 in CmMessagePost () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so
#2 0xb7df0c53 in CmMessageSend () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so
#3 0xb7d93b63 in SmsMsgHandler (message=0x696c415f, sender=0x6c666e4f ,
receiver=0x78745f79 ) at ../src/CmHandlers.c:816
Indeed it appeared clearly that since I added the two Output{x,y} degree of freedom, Sms message string was lacking memory allocation.
The GcAlignment crashes started to show up since the first introduction of the new degrees of freedom (11 August), most of them during automatic angular noise budget from Alp (but it also happened a couple of time during manual operation).
In such a situation of unsufficient memory allocation, the crash is more likely to happen when a change of onfly is triggered at the same time than a Sms request. In general, this is more likely to happen when a change of onfly is requested from Alp since it is synchronized with the DAQ chain. This is why most crashes were observed during the angular noise budget, which is the only macro triggering a change of onfly (in Tools).
I correct the bug by increasing the memory buffer allocation for the Sms string (in the current version v2r8p2), and restarted GcAlignment. This should solve the problem !
The truth is even much easier to understand since, when the Tool algo is triggered the Sms string size increases by the size of the Tools onfly string. This is why it happened when the Tools algo is switched on.
The rtpc11 crash mentioned during Operation report - Night shift is due to a crash of GcAlignment process (from /var/messages: Sep 14 03:23:54 rtpc11 kernel: GcAlignment.exe[8908]: segfault at 4f696c41 eip 44fd963b esp bf969598 error 4). I found aGcAlignment log file full (2GB) which is most probably the reason of the system crash. The many attempts to lock this night partially explains this oversized logfile.