Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added auto tune writeup

...

  1. Enable the piezo
  2. Set the piezo to manual
  3. Set the piezo DC voltage offset to 0
  4. Set the piezo bias voltage to 25V
  5. Set the RF drive level to 15%
  6. Set the RF mode to chirp
  7. Find a chirp range that yields a valid detune
    1. If no valid detune found and chirp range exceeds 500000Hz, throw an error
  8. Set TUNE_CONFIG PV to Other (indicating that the cavity is at an intermediate state)
  9. Estimate the (micro)steps to resonance using an empirically found steps per hz from initial cavity commissioning 
    1. Currently 256/1.4 for 1.3GHz cavities and 256/18.3 for 3.9GHz cavities
  10. While the detune is outside of the piezo capture range (50Hz), recalculate the steps to resonance and send 90% of that value to the stepper motor
    1. Throw an error if the total number of steps moved exceeds the original estimate by 10% (this could indicate the motors disengaging)
  11. Set TUNE_CONFIG PV to On Resonance