# Difference between revisions of "UITF Notes"

From Ciswikidb

(One intermediate revision by the same user not shown) | |||

Line 12: | Line 12: | ||

*** qsUtility can measure alpha and beta upstream of Q504 using IHAM601 (already done in a test case). Elegant can predict beta at IHAM703 based on that. Sounds good enough to me? The prediction of beta_y is verifiable as the spot size in y is unaffected by dispersion. | *** qsUtility can measure alpha and beta upstream of Q504 using IHAM601 (already done in a test case). Elegant can predict beta at IHAM703 based on that. Sounds good enough to me? The prediction of beta_y is verifiable as the spot size in y is unaffected by dispersion. | ||

*** First, using Elegant, come up with a set of 501..504 quad values that will give a reasonably small beta_x at IHAM703, and verify that it is not too sensitive to the setpoints in practice. Making the intrinsic transverse size as small as possible (without it becoming unpredictable) will make sure the errors of beta and epsilon won't contribute too much to the error of the deconvolution result. | *** First, using Elegant, come up with a set of 501..504 quad values that will give a reasonably small beta_x at IHAM703, and verify that it is not too sensitive to the setpoints in practice. Making the intrinsic transverse size as small as possible (without it becoming unpredictable) will make sure the errors of beta and epsilon won't contribute too much to the error of the deconvolution result. | ||

− | + | *** Do the optics study for HKDL ''first''. As soon as we know the Twiss parameters upstream of the quads and we convince ourselves that the quads do what they should, this special case becomes trivial. | |

* Have the intermittent RF instabilities fixed | * Have the intermittent RF instabilities fixed | ||

* Measure how much juice the BPMs need for reliable positions, particularly in the keV region | * Measure how much juice the BPMs need for reliable positions, particularly in the keV region | ||

Line 28: | Line 28: | ||

== Preparation for HKDL == | == Preparation for HKDL == | ||

− | * The keV emittance can be measured at 501 provided intrinsic energy spread is negligible (buncher off). I'm not sure if it is, but at least in y the result may still be meaningful. | + | * The keV emittance can be measured at 501 provided intrinsic energy spread is negligible (buncher off). I'm not sure if it is, but at least in y the result may still be meaningful. The value of this measurement is largely academic, though, in that what ultimately matters is the beam after the booster. |

− | * | + | * In preparation for the simulation of the HKDL optics, we need to know the beam ellipse at the entrance to the quads. |

− | ** It may be useful to perform this measurement methodically for a variety of booster output energies. This could result in a separate tech note that contrasts the optical effect of the booster with what was measured at CEBAF (JLAB-TN-15-052) | + | ** We don't know what the booster does to the transverse phase space, and we also don't know if our model of the quads is correct. These problems need to be decoupled as follows: |

+ | *** Perform any reasonable pair of quad scans to determine the beam ellipse upstream of M501. Ignore the booster, just take the beam ellipse at its exit for what it is. What exactly "reasonable" means will be determined empirically on the first try. It can be refined once we know roughly what we are working with. Based on previous simulations of the whole beam line using Dennis's model, we should assume that the booster overfocuses at high output energy and therefore produces large betas at the first quad, so the first two quads probably can't be scanned too liberally. In principle, any quad or set thereof can be used to do this. | ||

+ | *** Put this beam ellipse into an Elegant model starting at M501 to predict the x and y beam size at the harp as a function of all quad strengths within reasonable parts of the parameter space. Confirm these predictions experimentally. If they are consistent, that means the quads are modeled correctly. This model will then give an accurate prediction of the beta function anywhere downstream (at this energy). Otherwise, find out what is wrong (distances, wiring issues) and iterate. | ||

+ | ** It may be useful to perform this measurement methodically for a variety of booster output energies. This could result in a separate tech note that contrasts the optical effect of the booster with what was measured at CEBAF (JLAB-TN-15-052). |

## Latest revision as of 16:25, 9 September 2021

## Opportunistic tests and long-term ideas off the top of my head

- Measure p spread on 703
- Not trivial because contribution of beta function is significant
- eta = length * tan(theta) = about 1.2 m
- sigma_x at 700 harp is about 0.5 mm. The intrinsic momentum spread is smaller than it looks; the beam moves visibly due to RF jitter, and the harp averages over that. In a sense, this is the "true" momentum spread; it depends on what we want to learn.
- Assuming Gaussian distributions: momentum spread = sqrt(sigma^2 - epsilon*beta) / eta, yes?
- epsilon*beta = 0 would give an upper bound of 4.6e-4.
- We know the emittance (7.3 nm at 8 MeV/c). How do we get the beta function?
- It would be trivial if the 600 harp were placed at the same distance from the dipole as the 700 harp, but it is not.
- Elegant can calculate the betas directly from first principles, but we can't trust the model until we validate it.
- qsUtility can measure alpha and beta upstream of Q504 using IHAM601 (already done in a test case). Elegant can predict beta at IHAM703 based on that. Sounds good enough to me? The prediction of beta_y is verifiable as the spot size in y is unaffected by dispersion.
- First, using Elegant, come up with a set of 501..504 quad values that will give a reasonably small beta_x at IHAM703, and verify that it is not too sensitive to the setpoints in practice. Making the intrinsic transverse size as small as possible (without it becoming unpredictable) will make sure the errors of beta and epsilon won't contribute too much to the error of the deconvolution result.
- Do the optics study for HKDL
*first*. As soon as we know the Twiss parameters upstream of the quads and we convince ourselves that the quads do what they should, this special case becomes trivial.

- Have the intermittent RF instabilities fixed
- Measure how much juice the BPMs need for reliable positions, particularly in the keV region
- Is there anything we can learn from the BPMs / correctors to supplement the gun kick study at CEBAF?
- Implement QE tool per Joe's request. Got shopping list from Michele
- Sent her a list of existing PVs.

- It would be nice to have an extra corrector before the booster to get a nicer axis through both cavities. Prefer the duct-tape variety to nothing at all
- Permanently incorporate prep chamber stuff into EPICS
- stalk heater PS, temperature readback, ion pump current, anode current. Consider protection logic to disable heater if pressure or temp gets too high. Add oven timer. It should automagically post a completion notice to UITFLOG.
- maybe also an EPICS-switchable DC voltage for the auxiliary laser diode (replaces manual "beam shutter")?
- have a second PS for the dispenser; could be remote-controlled or not, don't really care... we can't automate the whole process anyway because of the manual valve

- Can we get decent, auto-aligning corrector mounts throughout the machine? The multipole moments are currently uncontrollable, presumably large, which is a bigger deal than one might think because the beam line alignment also looks terrible.
- Measure beam parameters downstream of booster as a function of gun energy. Maybe 4 or 5 energies. (Emittance, Energy spread)

## Preparation for HKDL

- The keV emittance can be measured at 501 provided intrinsic energy spread is negligible (buncher off). I'm not sure if it is, but at least in y the result may still be meaningful. The value of this measurement is largely academic, though, in that what ultimately matters is the beam after the booster.
- In preparation for the simulation of the HKDL optics, we need to know the beam ellipse at the entrance to the quads.
- We don't know what the booster does to the transverse phase space, and we also don't know if our model of the quads is correct. These problems need to be decoupled as follows:
- Perform any reasonable pair of quad scans to determine the beam ellipse upstream of M501. Ignore the booster, just take the beam ellipse at its exit for what it is. What exactly "reasonable" means will be determined empirically on the first try. It can be refined once we know roughly what we are working with. Based on previous simulations of the whole beam line using Dennis's model, we should assume that the booster overfocuses at high output energy and therefore produces large betas at the first quad, so the first two quads probably can't be scanned too liberally. In principle, any quad or set thereof can be used to do this.
- Put this beam ellipse into an Elegant model starting at M501 to predict the x and y beam size at the harp as a function of all quad strengths within reasonable parts of the parameter space. Confirm these predictions experimentally. If they are consistent, that means the quads are modeled correctly. This model will then give an accurate prediction of the beta function anywhere downstream (at this energy). Otherwise, find out what is wrong (distances, wiring issues) and iterate.

- It may be useful to perform this measurement methodically for a variety of booster output energies. This could result in a separate tech note that contrasts the optical effect of the booster with what was measured at CEBAF (JLAB-TN-15-052).

- We don't know what the booster does to the transverse phase space, and we also don't know if our model of the quads is correct. These problems need to be decoupled as follows: