Yesterday 28/03/2022 we continued the work on the control of the benches with the PSDs.
1. New matrix added on SQB2 PSD sensing config
We added matrix E on the config SQB2 PSD sensing config that is reconstructing SQB2 TX, TY, TZ, X with SQB2 PSD1_{H,V} adn SQB1 PSD3_{H,V}.
To do this we need to transfer data from SQB1_LC (rtpc2) to SQB2_LC (rtpc3).
We added the following command in SQB1_LC config:
TOLM_OUTPUT_PACKET_WITH_FREQUENCY "SQB1toSQB2" LOOP_FREQ 0 "" 0 0x03,0x1F,0x1F,0x1F,0x1F 0 # to SQB2_rtpc(rtpc3)
SQB1_PSD3_H_norm_clean SQB1_PSD3_V_norm_clean
The matrix E is defined like this and insert in SQB2_PSD_sensing.cfg
ACL_MATRIX_BEGIN "MAT_SENSING_E" 1 PSD1_H_norm_clean PSD1_V_norm_clean SQB1_PSD3_H_norm_clean SQB1_PSD3_V_norm_clean LC_PSD_TX_E_set LC_PSD_TY_E_set LC_PSD_TZ_E_set LC_PSD_X_E_set
ACL_MATRIX_CH LC_PSD_TX_E "urad" 0.0012 -0.0500 -0.0027 0.1228 -1 0 0 0
ACL_MATRIX_CH LC_PSD_TY_E "urad" 0.0485 -0.0015 -0.0327 -0.0352 0 -1 0 0
ACL_MATRIX_CH LC_PSD_TZ_E "urad" 0.0041 0.0485 -0.0332 1.1687 0 0 -1 0
ACL_MATRIX_CH LC_PSD_X_E "um" 0.0865 0.0016 0.0813 0.0391 0 0 0 -1
ACL_MATRIX_END "MAT_SENSING_E" 10
We also needed to pass the signals from SQB1 to SQB2_PSD_sensing.cfg with the command that Alain added to the config:
## SQB1 PSD readout
ACL_ADC_CH SQB1_PSD3_H_norm_clean "" 1 LC_LOOP_FREQ SQB1_PSD3_H_norm_clean 0 1 "NONE"
ACL_ADC_CH SQB1_PSD3_V_norm_clean "" 1 LC_LOOP_FREQ SQB1_PSD3_V_norm_clean 0 1 "NONE"
2. Check of the new part of SQB1_PSD_sensing.cfg
In the last months we wrote a code to control the benches with different strategy. We debugged the code of the first and second strategy.
The first strategy consists on switching to the signals from the PSDs completely.
We uncommented the lines relative to TX and TY:
## Switch from LVDT to PSD sensing (first strategy)
# switch to enable loop
# nameOut - unit - sampFreq - Time01 - Time10 - cmTrans - TrgCh - Trg01 - Trg10 - test # Unit
ACL_RELAY_CH LC_PSD_enbl "" LC_LOOP_FREQ 5 5 0
ACL_RELAY_CH LC_PSD_TX_enbl "" LC_LOOP_FREQ 5 5 1
ACL_RELAY_CH LC_PSD_TY_enbl "" LC_LOOP_FREQ 5 5 1
ACL_OP_CH LC_PSD_TX_check "" "prod" LC_PSD_enbl LC_PSD_TX_enbl PSD1_safe PSD2_safe PSD3_safe
ACL_OP_CH LC_PSD_TY_check "" "prod" LC_PSD_enbl LC_PSD_TY_enbl PSD1_safe PSD2_safe PSD3_safe
ACL_RELAY_CH LC_PSD_TX_enbl_safe "" LC_LOOP_FREQ 1 1 -2 "LC_PSD_TX_check" 0.9 0.1 ">="
ACL_RELAY_CH LC_PSD_TY_enbl_safe "" LC_LOOP_FREQ 1 1 -2 "LC_PSD_TY_check" 0.9 0.1 ">="
## Filter PSD signals to get offsets for bench control
# nameFlt - rampTime - gain - freq - maxOrder
ACL_FILTER_SET "flt_PSD_dof" 1 1 0.01 8
# nameFlt - freqCut Q ...
ACL_FILTER_POLES "flt_PSD_dof" 1e-5 0
ACL_FILTER_ZEROS "flt_PSD_dof" 10 0
ACL_FILTER_POLES "flt_PSD_dof" 50 3
ACL_FILTER_ZEROS "flt_PSD_dof" 50 30
ACL_FILTER_CH LC_PSD_TX_err "urad" 10 LC_LOOP_FREQ LC_PSD_TX_B -0.05 "flt_PSD_dof" #-0.5
ACL_FILTER_CH LC_PSD_TY_err "urad" 10 LC_LOOP_FREQ LC_PSD_TY_B -0.05 "flt_PSD_dof" #-0.5
ACL_FILTER_CH_RESET_CND "LC_PSD_TX_err" "LC_PSD_TX_enbl_safe"
ACL_FILTER_CH_RESET_CND "LC_PSD_TY_err" "LC_PSD_TY_enbl_safe"
The second strategy is a Blending between PSDs (low frequency) and LVDT (high frequency).
## Second method: Blending
ACL_FILTER_SET "flt_PSD_Blending_low" 1 1 0.01 8
ACL_FILTER_POLES "flt_PSD_Blending_low" 50 3
ACL_FILTER_ZEROS "flt_PSD_Blending_low" 50 30
ACL_FILTER_BUTTERWORTH "flt_PSD_Blending_low" "lowpass" 6 3 25
ACL_FILTER_SET "flt_PSD_Blending_high" 1 1 0.01 8
ACL_FILTER_POLES "flt_PSD_Blending_high" 50 3
ACL_FILTER_ZEROS "flt_PSD_Blending_high" 50 30
ACL_FILTER_BUTTERWORTH "flt_PSD_Blending_high" "highpass" 6 3 25
ACL_FILTER_CH PSD_TX_Blend_low "V" 10 LC_LOOP_FREQ "LC_PSD_TX_B" 1 "flt_PSD_Blending_low"
ACL_FILTER_CH PSD_TX_Blend_high "V" 10 LC_LOOP_FREQ "LC_TX" 1 "flt_PSD_Blending_high"
ACL_FILTER_CH PSD_TY_Blend_low "V" 10 LC_LOOP_FREQ "LC_PSD_TY_B" 1 "flt_PSD_Blending_low"
ACL_FILTER_CH PSD_TY_Blend_high "V" 10 LC_LOOP_FREQ "LC_TY" 1 "flt_PSD_Blending_high"
(we are chosing the matrix B for TX and TY recontruction with PSDs)
ACL_FILTER_CH_RESET_CND "PSD_TX_Blend_low" "PSD1_safe" "PSD2_safe" "PSD3_safe"
ACL_FILTER_CH_RESET_CND "PSD_TX_Blend_high" "PSD1_safe" "PSD2_safe" "PSD3_safe"
ACL_SUM_CH LC_TX_Blended "" 0 1 PSD_TX_Blend_low 1 PSD_TX_Blend_high
ACL_SUM_CH LC_TY_Blended "" 0 1 PSD_TY_Blend_low 1 PSD_TY_Blend_high
Then we added a command to select which strategy to chose:
## Choose between PSD reconstruction (strategy 1) or blending (strategy 2)
ACL_SUM_CH LC_TX_PSD_err "" 1 1 LC_PSD_TX_err 0 LC_TX_Blended
ACL_SUM_CH LC_TY_PSD_err "" 1 1 LC_PSD_TY_err 0 LC_TY_Blended
Comment:
ACL_RELAY_CH LC_PSD_TX_enbl "" LC_LOOP_FREQ 5 5 1
ACL_RELAY_CH LC_PSD_TY_enbl "" LC_LOOP_FREQ 5 5 1
We don't understand if those commands are working properly because the value of the relay dispayed is not changing if we pass from 1 and -1 and we do reload config. If we re start the process this value changes.
We tried to change the set point of the dofs reconstructed with the PSDs and it worked. We need to think how to chose the offset wrt to the control strategy.
3. Angular scans of SQB2
We performed some scans of the bench to see if the recontrusction of the signal with the matrices is working.
We turned off the green AA loop and we centered the PSDs.
3.1 SQB2 scans with AA green OFF and FC locked on the green
2022-03-28-15h07m42-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-300,ramp time=20]' sent to SQB2_LC
2022-03-28-15h08m24-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-400,ramp time=100]' sent to SQB2_LC
2022-03-28-15h10m34-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-350,ramp time=20]' sent to SQB2_LC
2022-03-28-15h12m25-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=270,ramp time=20]' sent to SQB2_LC
2022-03-28-15h13m30-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=220,ramp time=20]' sent to SQB2_LC
2022-03-28-15h14m14-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=420,ramp time=100]' sent to SQB2_LC
2022-03-28-15h16m13-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=320,ramp time=30]' sent to SQB2_LC
2022-03-28-15h25m02-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=-1445,ramp time=20]' sent to SQB2_LC
2022-03-28-15h25m40-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=-1505,ramp time=100]' sent to SQB2_LC
2022-03-28-15h27m32-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=-1475,ramp time=30]' sent to SQB2_LC
3.2 SQB2 scans with AA green OFF, FC unlocked and FC End Mirror mis aligned
- TX scans with PSDs not re-aligned
2022-03-28-15h32m49-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-300,ramp time=20]' sent to SQB2_LC
2022-03-28-15h33m48-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-250,ramp time=20]' sent to SQB2_LC
2022-03-28-15h34m22-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-450,ramp time=100]' sent to SQB2_LC
2022-03-28-15h36m46-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-350,ramp time=20]' sent to SQB2_LC
Then we re-algned the PSDs.
2022-03-28-15h42m26-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-250,ramp time=20]' sent to SQB2_LC
2022-03-28-15h43m13-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-450,ramp time=100]' sent to SQB2_LC
2022-03-28-15h45m10-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=-350,ramp time=20]' sent to SQB2_LC
2022-03-28-15h47m53-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=220,ramp time=30]' sent to SQB2_LC
2022-03-28-15h48m46-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=420,ramp time=100]' sent to SQB2_LC
2022-03-28-15h50m41-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=320,ramp time=20]' sent to SQB2_LC
2022-03-28-15h51m27-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=-1375,ramp time=30]' sent to SQB2_LC
2022-03-28-15h58m36-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=-1575,ramp time=100]' sent to SQB2_LC
2022-03-28-16h00m44-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=-1475,ramp time=20]' sent to SQB2_LC
4. Angular scans of SQB1
We did angular scans of SQB1 with the FC end mirror mis aligned to check the behaviour of the beam on the PSD in reflection from the FC.
4.1 SQB1 scans with AA green OFF, FC unlocked and FC End Mirror mis aligned
2022-03-28-16h05m45-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=390,ramp time=100]' sent to SQB1_LC
2022-03-28-16h07m59-UTC info polini 'Bench Set points:LC_TX_set [LC_TX=290,ramp time=20]' sent to SQB1_LC
2022-03-28-16h09m00-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=-10,ramp time=20]' sent to SQB1_LC
2022-03-28-16h09m31-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=-210,ramp time=100]' sent to SQB1_LC
2022-03-28-16h11m56-UTC info polini 'Bench Set points:LC_TY_set [LC_TY=-110,ramp time=20]' sent to SQB1_LC
2022-03-28-16h43m36-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=205,ramp time=20]' sent to SQB1_LC
2022-03-28-16h44m24-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=5,ramp time=100]' sent to SQB1_LC
2022-03-28-16h46m29-UTC info polini 'Bench Set points:LC_TZ_set [LC_TZ=105,ramp time=20]' sent to SQB1_LC
After this we locked the cavity and engaged again the AA.
2022-03-28-16h48m20-UTC info polini 'GREEN AA:ON [-1:Disable,1:Enable=1]' sent to AFC_Ctrl
OMC was locked again at 18h18m00 utc with DARM offset -0.30 (Fig1.)
Unforunately ITF unlocked before doing the hand off at 18h26m23 utc.