I have begun some prep work for tomorrow's maintanance day installation of updated CALCS and SUS quad models under work permit 8166. This will address FRS 12335, as laid out in ECR E1900107, to eliminate the problem of timing slips on the supposed-to-be-synced oscillators causing problems with the time dependent calibration kappa calculations. JoeB successfully completed this at LLO last Tuesday (LLO alog 45007), so here we are just pulling his changes.
So far, I have:
- Confirmed that there were no changes locally in any of the sus or cal userapps common and h1 folders that needed to be checked in.
- Pulled the common library blocks from the svn.
- <userapps>/cal/commom/models/CAL_CS_MASTER.adl
- <userapps>/cal/commom/models/CAL_LINE_MASTER.adl
- <userapps>/sus/commom/models/QUAD_MASTER.adl
- <userapps>/sus/commom/models/QUAD_ITM_MASTER.adl
- <userapps>/sus/commom/models/FOUROSEM_DAMPED_STAGE_MASTER_WITH_DAMP_MODE.mdl
- <userapps>/sus/commom/models/FOUROSEM_STAGE_MASTER_OPLEV_TIDAL.mdl
- Modified h1calcs to get the receiver parts for the calibration lines from the ends (3 for EX, 3 for EY).
- Modified h1susetmx to make sender parts for the 3 calibration lines.
- Modified h1susetmy to make sender parts for the 3 calibration lines.
- Compiled h1susetmx, h1susetmy, h1susitmx, h1susitmy, h1calcs
- Note that I did not need to change the H1 ITM models, since they don't need sender / receiver parts. Joe had already modified the QUAD_ITM_MASTER to have grounds for the subblocks that, in the ETM models, push signals up to the topmost level.
- Checked h1calcs, h1susetmx, and h1susetmy into the svn.
To do tomorrow during maintanance:
- Install all 5 models.
- Confirm SDFs for all 5 models are ready to go (they should be, but will check anyway).
- Take suspensions to their SAFE states, and restart the models, then bring the suspensions back to their ALIGNED states.
- Pull the updated matching medm screens for the calibration suspension demodulation lines.
- Set several EPICS values for some new switches, and for the demodulation phase that will account for the clock cycle delay.
- Once relocked, ensure that everything in kappa-generation land looks sensible.
For the phase delays to account for the 1 cycle delay with the new oscillator, the appropriate amount of delay in degrees depends on the line frequency. Here I list the delays for both our current calibration line frequencies, as well as for the proposed frequencies (see alog 48512).
The delays will go in channels of the type H1:CAL-CS_TDEP_SUS_LINE{1,2,3}_SUS_DEMOD_PHASE, and are calculated from
angle(exp(-2*pi*i*Freq/16384))*180/pi
.15.1 Hz = -0.3318 deg
16.7 Hz = -0.3669 deg
35.9 Hz = -0.7888 deg
15.6 Hz = -0.3428 deg
16.4 Hz = -0.3604 deg
17.1 Hz = -0.3757 deg. (EDIT: this is the freq for the pcal line, which needs its delay updated)
17.6 Hz = -0.3867 deg. (EDIT: this is the freq for the sus line, which we need to put the delay in)
Also, since we are using ETMX for all of our DARM actuation, we will set channels of the type H1:CAL-CS_TDEP_SUS_L{1, 2, 3}_LINE_END_SW equal to
1. 0. EDITED - 0 is for EX (which we want), 1 is for EY (we do not want).Since we are rebooting these models (and I remembered that the temporary channels were in there), I have removed the following channels from the quad suspensions:
H1:SUS-ETMX_L2_TEMP_P_1 1 0 0 4 16 0
H1:SUS-ETMX_L2_TEMP_P_2 1 0 0 4 16 0
H1:SUS-ETMX_L2_TEMP_P_3 1 0 0 4 16 0
H1:SUS-ETMX_L2_TEMP_TP_2 1 0 10814 4 16384 0
H1:SUS-ETMX_L2_TEMP_TP_3 1 0 10813 4 16384 0
H1:SUS-ETMY_L2_TEMP_P_1 1 0 0 4 16 0
H1:SUS-ETMY_L2_TEMP_P_2 1 0 0 4 16 0
H1:SUS-ETMY_L2_TEMP_P_3 1 0 0 4 16 0
H1:SUS-ETMY_L2_TEMP_TP_2 1 0 10814 4 16384 0
H1:SUS-ETMY_L2_TEMP_TP_3 1 0 10813 4 16384 0
H1:SUS-ITMX_L2_TEMP_P_1 1 0 0 4 16 0
H1:SUS-ITMX_L2_TEMP_P_2 1 0 0 4 16 0
H1:SUS-ITMX_L2_TEMP_P_3 1 0 0 4 16 0
H1:SUS-ITMX_L2_TEMP_TP_2 1 0 10798 4 16384 0
H1:SUS-ITMX_L2_TEMP_TP_3 1 0 10797 4 16384 0
H1:SUS-ITMY_L2_TEMP_P_1 1 0 0 4 16 0
H1:SUS-ITMY_L2_TEMP_P_2 1 0 0 4 16 0
H1:SUS-ITMY_L2_TEMP_P_3 1 0 0 4 16 0
H1:SUS-ITMY_L2_TEMP_TP_2 1 0 10814 4 16384 0
H1:SUS-ITMY_L2_TEMP_TP_3 1 0 10813 4 16384 0
None of these were being saved to frames. These had been put in, in order to diagnose some problems with the IFO lockloss trigger, and should have been removed months ago. However, since we don't ever want to reboot the suspension models unnecessarily and these channels weren't taking up frame space, we had left them in.
I have re-compiled and done make-installs for all 4 quad models. I have also done a make-install for h1calcs (it hasn't changed since I compiled yesterday afternoon).