Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-COM›automation #34926

Automation of the FmodErr tuning

We began working on an automation script which changes the setpoint of the position on the MC mirror based on the information of the FmodErr error signal in order to find the correct working length of the MC. The logic of the script, to be checked with INJ people before/during the online test, is the following:

  • at all times, check if the Automatic Alignment of the RFC is on and, if not, abort immediately;
  • open the RFC loop and close the RFC Drift Control;
  • turn on the IMC_perturb line at 1111Hz, 0.1 amplitude;
  • while checking that the IMC stays locked:
    • measure a reasonable mean of the INJ_FmodErr_ACp error signal;
    • compute the corresponding position of MC_F0_Z using the calibration factor reported in Entry 34868;
    • start moving towards such setpoint by a fixed amount of steps, just to verify we are in the linear range of the error signal (w.r.t. a configurable precision);
    • if it is the case, move all the way towards the setpoint with a fixed "velocity", to avoid perturbing the IMC;
    • measure again INJ_FmodErr_ACp and check that it has been brought to zero (w.r.t. a configurable precision), or iterate the procedure;
  • turn off IMC_perturb, open the RFC Drift Control and close the RFC loop.

If the error signal is outside the linear range, MC_F0_Z will be reset to the last reference value (which is saved every time the procedure ends successfully) and the procedure starts over (but only once). In any case, the script will abort if the linear range check or the final accuracy requirements are not met for a number of times, and this should require the intervention of a human.

In the following days we will test this script, when it would not conflict with the scheduled activities.

3 comments

Carbognani, Mantovani · 29 Oct 2016 · 16:38 #35187
Today we have performed further tests on the FmodErr automation. The corresponding INJ_FmodErr_TUNE Metatron code has been refactored in order to improve testability by introducing specific states for: - the initial phase for checking linearity and actual tuning phase (FMODERR_FIXED_STEP, FMODERR_TUNING) - the actual MC_Z moving phases (MOVE_MC_Z_FIXED, MOVE_MC_Z_TUNING) The corresponding new state machine graph is attached. Also, the capability to perform data processing over several second via the bufferization implemented in: /virgoDev/Automation/userapps/buffer.py has been introduced and successfully tested, During the tests we have been able to complete a single FmodErr tuning sequence. INJ_FmodErr_TUNE.py code checked in on svn with revision 63358
mantovani, carbognani · 31 Oct 2016 · 09:16 #35192

The FmodErr procedure, shown in Figure 1, consists in:

* RFC open 

1) open the RFC loop

2) switch the IMC AA to drift control

3) turn on the 1111Hz excitation line

* FMODERR_TUNING

1) check the linearity of the region

a 100 u step is performed, MOVE_MC_Z_FIXED, and the FmodErr signal delta from the red and the blue region is measured to check if the system is in the error signal linear region (if the Delta signal / Delta MC Z ~ calibration)

if not the system goes in the old saved position and check again the linearity

if yes it goes to FMODERR TUNING

2) compute the tuned position

the tuned position is computed by measuring the FmodErr signal (blue region) and using the calibration the final position and the relative ramp (green one) is computed.

3) if the green region is within the accuracy requirement (1e-5) the procedure is finished, otherwise other cycles are applied

4) restoring the IMC configuration (RFC on, 1111Hz line off and IMC AA on).

carbognani, mantovani · 1 Nov 2016 · 10:15 #35208
A new IMC_RESTORED state has been added to manage setting of DRIFT_ENBL to 0 once INJ_RFC_TRA_DC > 3.0 for at least 5 sec at the end of the tuning sequence. Few other tuning sequences have been successfully attempted yesterday morning. After the tests, INJ_FmodErr_TUNE has been added into the VPM Metatron Nodes group and the INJ_FmodErr_TUNE metamedm interface added into the IceWM Automation submenu