Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Source code can be found here and can be run locally using Local PyDM/Simulacrum Setup

EPICS Screens

All screens for any given cavity can be gotten from either lcls-home (using SC gun)  or SRF Home > RF > Cavities > More

Image AddedImage AddedImage Added

GUI Procedure

Info

Blue is start, red is error, green is end, yellow is special case.

Arrow with a diamond means conditional.

Piezo Pre-RF Check

Image Added

Gliffy Diagram
displayNamePiezo Pre-RF Check
namePiezo Pre-RF Check
pagePin39


SSA Characterization

  1. Set the SSA drive max (ACCL:LXB:XXXX:SSA:DRV_MAX_REQ) to:
    1. 1 If harmonic linearizer
    2. 0.8 if not harmonic linearizer
  2. Reset SSA interlocks (set ACCL:LXB:XXXX:SSA:FaultReset to 1)
  3. Wait for the faults to reset (wait while ACCL:LXB:XXXX:SSA:StatusMsg is 4)
  4. if ACCL:LXB:XXXX:SSA:StatusMsg is either 1 or 7:
    1. Raise an error
  5. if ACCL:LXB:XXXX:SSA:StatusMsg is neither 1 nor 7:
    1. Turn on SSA (set ACCL:LXB:XXXX:SSA:PowerOn to 1)
    2. Wait for SSA to turn on (wait until ACCL:LXB:XXXX:SSA:StatusMsg is 3)
    3. Reset cavity interlocks (set ACCL:LXB:XXXX:INTLK_RESET_ALL to 1) and wait 3s
    4. If the reset failed (ACCL:LXB:XXXX:RFPERMIT is 0)
      1. Retry up to 2 more times
      2. If the reset succeed within 3 total attemps
        1. Continue to step 5.e.i
      3. If the reset fails after 3 total attempts
        1. Throw an error
    5. If the reset succeeded (ACCL:LXB:XXXX:RFPERMIT is not 0)
      1. Start the calibration (set ACCL:LXB:XXXX:SSA:CALSTRT to 1)
      2. Wait for the calibration to stop running (wait while ACCL:LXB:XXXX:SSA:CALSTS is 2)
      3. If the calibration crashed (if ACCL:LXB:XXXX:SSA:CALSTS is 0)
        1. Throw an error
      4. If the calibration succeeded (if ACCL:LXB:XXXX:SSA:CALSTS is not 0)
        1. If result is not good (if ACCL:LXB:XXXX:SSA:CALSTAT is not 0)
          1. Throw an error
        2. If the result is good (if ACCL:LXB:XXXX:SSA:CALSTAT is 0)
          1. If the max forward power (ACCL:LXB:XXXX:SSA:CALPWR) is below 3000
            1. Throw an error
          2. If the max forward power (ACCL:LXB:XXXX:SSA:CALPWR) is above 3000
            1. If the measured slope (ACCL:LXB:XXXX:SSA:SLOPE_NEW) is not between 0.5 and 1.6
              1. Throw an error
            2. If the measured slope (ACCL:LXB:XXXX:SSA:SLOPE_NEW) is between 0.5 and 1.6
              1. Push the SSA slope (set ACCL:LXB:XXXX:PUSH_SSA_SLOPE.PROC to 1)
              2. Save the SSA slope (set ACCL:LXB:XXXX:SAVE_SSA_SLOPE.PROC to 1)

Cavity Tuning

...

  1. While it doesn't enable (while ACCL:LXB:XXXX:PZT:ENABLESTAT is not 1), toggle ENABLE to disabled (0) and enabled (1) again

...

  1. While it doesn't enable (while ACCL:LXB:XXXX:PZT:MODESTAT is not 0), toggle MODECTRL to feedback (1) and manual (0) again

...

Image AddedImage Added

Gliffy Diagram
displayNameSSA Characterization
nameSSA Characterization
pagePin6

Cavity Tuning

Image AddedImage AddedImage AddedImage AddedImage Added

Gliffy Diagram
displayNamecavity tuning 1.3
namecavity tuning
pagePin12
 

8π/9 and 7π/9

Image AddedImage Added

Gliffy Diagram
macroId90b93055-6a1e-4af6-a597-514b9fba4189
displayName8π 9
name8π 9
pagePin3

Cavity Characterization

Image AddedImage AddedImage AddedImage AddedImage Added

Gliffy Diagram
macroIdbb967370-bc9c-43c2-8e5d-f8656bd9f7d5
displayNamecavity characterization
namecavity characterization
pagePin4

Piezo With RF

Image AddedImage Added

Gliffy Diagram
macroIda3f050e2-cfcb-4d0f-ab98-7883e78de269
displayNamepiezo with RF
namepiezo with RF
pagePin6

Ramp Up in SELAP

Image AddedImage Added

Gliffy Diagram
macroId357cb91f-1f55-4ba1-8b0c-a05dc04fe593
displayNameSELAP
nameSELAP
pagePin6

...

  1. Retry up to 2 more times
  2. If the reset succeed within 3 total attemps
    1. Continue to step 9.b.i
  3. If the reset fails after 3 total attempts
    1. Throw an error

...

  1. Throw an error

...