-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchapter_2.tex
More file actions
253 lines (227 loc) · 28.1 KB
/
chapter_2.tex
File metadata and controls
253 lines (227 loc) · 28.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
\chapter{Integrable Optics Test Accelerator} \label{chap:iota}
\section{Facility Overview} \label{sec:facility}
The Integrable Optics Test Accelerator (IOTA) was constructed at the Fermi National Accelerator Laboratory (Fermilab) for dedicated beam studies, particularly implementations of nonlinear integrable optics (NIO) \cite{antipovIOTAIntegrableOptics2017}. There are two main operational modes of IOTA, with 150 MeV electrons, and with 2.5 MeV protons. The design parameters for IOTA are given in Table \ref{tab:IOTAdesign}. The electron beams have a quick damping time and low emittance due to synchrotron radiation and are useful probes of the phase space of the dynamical systems. The proton beams exhibit strong space charge effects at modest circulating currents and are useful for investigating schemes for suppression of damaging collective effects analogous to those seen in high intensity machines. IOTA is housed in the Fermilab Accelerator Science and Technology (FAST) facility and is not connected to the main sequence of proton accelerators at Fermilab. The location of the FAST facility on the Fermilab campus is marked in figure \ref{fig:FastMap}. In addition to IOTA, the FAST facility houses a superconducting electron linac, and a low energy proton injector.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/officialFermilabLabeledArial.jpg}
\caption{Femilab Accelerator facilities, FAST facility is located at yellow box labeled ``Advanced Accelerator Test Area" at the top of the image. Credit: Fermilab.}
\label{fig:FastMap}
\end{figure}
\begin{table}
\centering
\begin{tabular}{lcc}
\toprule
\textbf{Nominal IOTA Parameters} & \textbf{Electron Value} & \textbf{Proton Value}\\
\midrule
Circumference & \multicolumn{2}{c}{39.96 [m]}\\
Energy & 150 [MeV] & 2.5 [MeV]\\
Circulating Current & 2.4 [mA] & 8 [mA] \\
Revolution Frequency & 7.5 [MHz] & 2.1 [MHz]\\
Magnetic Rigidity $B\rho$ & 0.5 [T-m] & 0.23 [T-m]\\
\bottomrule
\end{tabular}
\caption{IOTA Design Parameters}
\label{tab:IOTAdesign}
\end{table}
\section{FAST Electron Linac} \label{sec:fast}
The electron linac started as a test bed for the International Linear Collider \cite{churchPlans750MeV2007,broemmelsiekRecordHighgradientSRF2018}, and has since evolved to support a broad range of beam physics studies \cite{croppFASTLowEnergyBeamline2023,kladovNearInfraredNoiseIntense2025}. Most importantly for the studies in this dissertation, it is the source of the electron beams in IOTA. Figure \ref{fig:linacOutline} shows a component-level outline of the linac. The general linac bunch parameters are given in table \ref{tab:linac}.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/fast_survey_corrected_wieland.pdf}
\caption{Overview of FAST linac and injection line. Simple central transfer section is excluded for compactness.}
\label{fig:linacOutline}
\end{figure}
\begin{table}
\centering
\begin{tabular}{lr}
\toprule
\textbf{FAST Linac Parameter} & \textbf{Design Value/Range}\\
\midrule
Beam energy to low energy dump & 20-52 [MeV]\\
Beam energy to IOTA/high energy dump & 100-300 [MeV]\\
Bunch Charge & $<\num{1e-5}$ - 3.2 [nC]\\
Normalized Emittance (for 0.1 nC bunch) & 0.6 [mm-mrad]\\
\bottomrule
\end{tabular}
\caption{FAST Electron Linac Parameters}
\label{tab:linac}
\end{table}
The electron source is a gallium-arsenide photocathode inside a 1.3 GHz room temperature copper RF gun. The laser pulses for the photocathode are supplied from a supporting laser lab capable of laser pulse shaping and timing for granular control of the resulting electron bunch. The beam then travels through a low energy beam transport (LEBT) line consisting of two independent 1.3 GHz superconducting 9 cell ``capture" cavities. The electron LEBT also contains a few experimental stations and an optional chicane for beam studies. At the end of the LEBT the beam can be either steered to a low energy dump or onward to the 1.3 GHz TESLA style cryomodule, which contains 8 sequential 9 cell superconducting cavities. Beyond the cryomodule is a long transport line initially intended for further cryomodules, to a switchyard. Here the beam may be steered to further linac experiments, the high energy dump, or injected into IOTA. Figure \ref{fig:linacLat} shows the lattice functions through the electron linac to the end of the IOTA injection septum. This long transport line presented some difficulties in tuning for injection, exacerbated by a failure in a quadrupole coil which removed it from the lattice. The $\beta$ functions necessarily grow to large values which amplifies the impact of the quadrupole errors, especially the limited control resolution in quadrupole power supply. While an accurate transverse match into IOTA is not crucial as the captured beam will damp to the equilibrium emittance, this touchy injection line was the cause of some headache in experimental operation, often limiting the injected current available.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/adjustedFAST.png}
\caption{Lattice functions of the FAST electron linac for IOTA studies.}
\label{fig:linacLat}
\end{figure}
\section{IOTA Proton Injector} \label{sec:ipi}
The IOTA proton injector (IPI) delivers 2.5 MeV proton beams to IOTA for space charge dominated studies. The hardware for the proton injection line is mostly repurposed from the Fermilab High Intensity Neutrino Source (HINS) \cite{webberOverviewHighIntensity} project of the late 2000's, consisting of a Duoplasmatron proton source, a solenoidal LEBT line, a radiofrequency quadrupole (RFQ), and a typical strong focusing medium energy beam transport (MEBT) line \cite{edstromIOTAProtonInjector2023} to IOTA. The IPI line has been constructed and is undergoing commissioning at the time of the writing of this dissertation, so it is not yet possible to quote its exact performance characteristics.
The proton source is a 50 keV duoplasmatron. This particular source was characterized in the past \cite{tamCharacterizationProtonIon2010} for the HINS project, and these are the approximate emittance values used in simulation studies. However, the source was slightly reconfigured for its new installation location, so the past characterization is not entirely accurate. Some additional characterization was performed with an Allison-type emittance scanner \cite{allisonEmittanceScannerIntense1983} to verify approximate ion species fractions, but it was not possible to separate proton emittance information. This will be evaluated with an Allison scanner downstream of the RFQ.
The 325 MHz RFQ accelerates the beam to the final energy of 2.5 MeV. As the HINS linac was intended to be focused entirely with superconducting solenoids, the incoming and outgoing beams from the RFQ needed to be axially symmetric. This was accomplished through deliberately shaped electrodes for matching at the end of the otherwise typical RFQ vanes, and leads to unusual matching conditions into the RFQ using round beams.
The MEBT is mostly a straightforward strong focusing transfer line with two notable exceptions, debunching cavity and an oversized dipole with strong edge focusing. The dipole was designed for operations with up to 1.2 GeV electrons for the superconducting linac at the facility. In order to properly steer the low rigidity protons into IOTA, the protons enter the dipole not at the pole face, but rather at the side of the pole with an effective entrance angle of 75$^\circ$. This combined with the relatively large bending angle of the dipole results in strong edge focusing. This strongly limits the degrees of freedom in matching the MEBT to IOTA, and means there are not free knobs for tuning injection into IOTA. In practice, the plan is to add small permanent magnet quadrupoles to the end of the MEBT to match the desired input distribution. The lattice functions for the IPI MEBT are given in \ref{fig:mebtLattice}, note the sharp kinks at the edges of the longest dipole, this is the effect of the strong edge focusing effects. The debuncher cavity is used to reduce the energy spread of the beam for studies in IOTA, and helps preserve the RFQ bunched beam through the end of the MEBT. It operates at the same 325 MHz as the RFQ with accelerating gradients up to 50 kV.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/adjustedMebt.png}
\caption{IPI MEBT lattice functions.}
\label{fig:mebtLattice}
\end{figure}
\section{IOTA Design} \label{sec:iotaDesign}
IOTA shows significant design inheritance from the VEPP-2000 collider at the Budker Institute for Nuclear Physics \cite{shatunovProjectNewElectronPositron}. IOTA is of a stretched octagonal layout with four thirty degree and four sixty degree sector dipoles forming the fundamental geometry. IOTA originally was intended to be a regular octagon, but was eventually stretched to better fill the available lab space and provide a longer insert region for the optical stochastic cooling program. IOTA is broadly mirror symmetric across the stretched sides, which informs the element naming scheme outlined in \ref{fig:iotaNames}.
\begin{figure}
\centering
\includegraphics[width=\linewidth]{./chapter_2_figures/iota_survey_wieland.pdf}
\caption{IOTA survey cartoon. Blue labels indicate the naming convention for regions in IOTA.}
\label{fig:iotaNames}
\end{figure}
The main dipole coils are all wired in series to provide identical excitation, as is pretty typical. In addition there are dipole correction coils wound in the main poles to act as an additional correctors. Notably the dipoles have ``flux compensation" coils added to the pole face to reduce the length and intensity of the fringe fields. This was applied after IOTA commissioning to correct for excessive sagitta into the dipoles. The dipole parameters are outlined in \ref{tab:dipole}.
\begin{table}
\centering
\begin{tabular}{lcc}
\toprule
\textbf{Dipole Parameters} & \textbf{$\mathbf{30^{\circ}}$ Dipole} & \textbf{$\mathbf{60^{\circ}}$ Dipole}\\
\midrule
Design Bending Angle & $30^{\circ}$ & $60^{\circ}$\\
Design Bending Radius & 74.7 [cm] & 72.4 [cm]\\
Design Path Length & 39.114 [cm] & 75.799 [cm]\\
Pole Gap & 6.49 [cm] & 6.1 [cm] \\
\bottomrule
\end{tabular}
\caption{IOTA Design Parameters}
\label{tab:dipole}
\end{table}
Primary focusing is provided by 39 quadrupoles of two types. High current quadrupoles are of a refurbished Amsterdam Pulse Stretcher design \cite{rookhuizenMagneticDevicesAmsterdam1991}, and the rest of ring is filled out with commercially available quadrupoles purchased from RadiaBeam. All quadrupoles are individually powered for flexible tuning of the lattice. IOTA has 20 Pansofsky \cite{handMagneticQuadrupoleRectangular1959} style combined function correctors for local correction of the closed orbit and skew quadrupole terms to minimize coupling. For longitudinal focusing and making up for synchrotron radiation losses, IOTA has a single ferrite loaded quarter wave RF cavity operating at 30 MHz with a tunable voltage range. Adjustment of the RF voltage was used to reduce momentum acceptance for fast and convenient beam scraping to current ranges the BPMs were sensitive to. Injection into IOTA is facilitated by a horizontally bending Lambertson type magnetic septum \cite{lambertsonChargedParticleExtracting1967}, and a vertical traveling wave stripline kicker \cite{antipovStriplineKickerIntegrable2016}. Additionally, there a vertical corrector intended for injection bump manipulation, but is practically simply implemented as additional corrector knobs. In addition to the linear elements, IOTA has 12 sextupoles of three types. There are 4 ``prototype" type sextupoles constructed in house, 6 ``long" type sextupoles manufactured by Elytt Energy to the same magnetic parameters as the ``prototypes" and 2 ``short" sextupoles which aim for the same magnetic properties with shorter poles to fit a tight spot in the lattice. The basic IOTA geometry has three experimental insert locations. For the experiments described in this dissertation, all three were filled. The first is the NIO insert described in detail in \ref{sec:nioDesign} in the BR straight. The BL straight housed a string of octupoles which satisfy one invariant of motion like the NIO system and are considered quasi-integrable. The octupole program lies outside of the scope of this dissertation except for the magnetic alignment covered in appendix \ref{apx:oct}. The final insert in DR was a permanent magnet undulator used for the CLARA experiment on electron radiation \cite{stancariUndulatorRadiationSingle2024}.
The IOTA beam diagnostics for the electron experiments consisted of 21 button style beam position monitors, a direct current current transformer (DCCT), a photomultiplier tube (PMT) for synchrotron radiation intensity and time of arrival, and five cameras for observing the synchrotron radiation profiles \cite{eddyBeamInstrumentationFermilab2019}. The BPMs were of two configurations, 20 nominal and one larger aperture BPM for increased admittance near the injection location. The BPMs sampled at 32 times the revolution frequency of the machine and applied a linear fit to the difference over the sum of the individual button digitized signals as described in \cite{reiterStatisticalTreatmentBeam2018}. After obtaining the position from the button signals, a seventh order two dimensional polynomial was applied to the measured position to account for the nonlinear response of the BPM. The factors for the polynomial mapping were obtained based on pulsed wire data in a single BPM, and applied uniformly to all. The BPMs could provide turn-by-turn (TBT) data for ``7000" turns, and 1000 turn averaged closed orbit data. Additionally 1000 turn raw button signals were available for a single BPM at a time in a special diagnosis mode. The particular preamplifier configuration on the IOTA BPMs means that there is a practical sensitivity band. Above circulating currents of 0.5 mA, individual BPM buttons were likely to saturate for kicked beams and impact TBT position data. This effect was screened for in post-processing, and set the upper operating current. Below a circulating beam current of 0.1 mA, the BPM sensitivity became too poor for TBT collections and was usually the cutoff for a re-injection. The DCCT was used for monitoring the current of the circulating beam. The DCCT samples the current in the kHz range, and these values are averaged and reported at a 15 Hz rate in the data acquisition system. The PMT was calibrated to act as a supplemental current measurement, though discoloration on the tube's surface impacted its sensitivity and limited its accurate current measurements to circulating beams without kicks. The synchrotron light cameras are mounted on the top of five of the IOTA dipoles and can monitor the transverse profile of the beam and its intensity. The camera system is quite flexible and the exposure can be adjusted all the way down to sensitivity to single orbiting electrons. The exposure is not calibrated, however, so only relative intensity measurements can be made. The cameras also act as an excellent operational diagnostic as they can be live during beam operation and you can easily ``see" the circulating beam. Figure \ref{fig:iotaPhoto} shows a clean publicity shot of IOTA before all components were installed.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/iota_poster_shot.jpg}
\caption{IOTA Ring photographed before all cabling is installed. Photo:Giulio Stancari/Fermilab.}
\label{fig:iotaPhoto}
\end{figure}
\section{IOTA Lattice} \label{sec:iotaLat}
The dominant consideration for the design of the IOTA lattice is fulfilling the NIO insert requirements. These are:
\begin{enumerate}
\item The beta functions in the insert must be symmetric between the x and y planes, which enforces a symmetric drift of matched phase advance which defines the overall ring's fractional tune.
\item The dispersion throughout the nonlinear insert must be zero.
\end{enumerate}
The dispersion consideration comes from analytical studies of the NIO system including energy dependent effects \cite{webbChromaticDispersiveEffects2015}. The important results are that the dispersion must be made zero in the insert, and that the chromaticity in each plane must at least be matched. For IOTA the nonlinear insert length was chosen to be 1.8 m, and the fractional working point was selected to be $Q_{x,y}=0.3$. In the current IOTA lattice the integer working points are symmetrically 5, but this is not a strict requirement. These parameters then fix the beta and alpha lattice functions in the drift. While the insert length is fixed, the working point can in principle be adjusted, though the nonlinear insert design depends on this factor so it is practically fixed. The basic transverse lattice requirements of the NIO system require 6 degrees of freedom to fully match. With the addition of dispersion suppression, this brings us to 8 degrees of freedom (assuming no coupling). IOTA is usually tuned to be mirror symmetric for convenience, which gives 20 quadrupole knobs, so there is available flexibility in the lattice for significant adjustments. In practice these knobs are not totally free as the beta functions and phase advance across the lattice must be kept reasonable for stable operation and good sensitivity of the BPMs. The idealized IOTA lattice functions as solved in SixDSimulation are plotted in figure \ref{fig:IOTAinj6}. This is the fundamental lattice used in the simulation studies presented in this dissertation. Table \ref{tab:IOTAlattice} gives the lattice properties of this nominal configuration.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/adjustedInj6.png}
\caption{Nominal IOTA lattice functions.}
\label{fig:IOTAinj6}
\end{figure}
\begin{table}
\centering
\begin{tabular}{lr}
\toprule
\textbf{IOTA Lattice Parameter} & \textbf{Six D Simulation Value}\\
\midrule
Transverse Tunes $Q_x,Q_y$ & 5.3, 5.3 [2$\pi$]\\
Natural Chromaticity $C_x,C_y$ & -10.5, -9.33 [1]\\
Momentum Compaction $\alpha_p$ & 0.086 [1]\\
\midrule
RF Harmonic & 4 [1]\\
RF Voltage & 310 [V]\\
RMS bunch Length $\sigma_z$ & 21 [cm]\\
\midrule
RMS momentum spread $\sigma_{\delta}$ & 1.28 [1]\\
Synchrotron Tune $Q_s$ & \num{3.33e-4} [2$\pi$]\\
Radiation Damping Times\textsuperscript{\textdagger} $x,y,s$ & 2.8, 0.65, 0.24 [s]\\
Equilibrium Emittances\textsuperscript{\textdagger} $x,y$ & \num{1.67e-7},0 [m-rad]\\
\bottomrule
\end{tabular}
\caption{IOTA Run 4 Lattice Parameters \\ \textsuperscript{\textdagger}Calculated from linear radiation integrals \cite[pg.438]{leeAcceleratorPhysics2018} without quantum excitation}
\label{tab:IOTAlattice}
\end{table}
In the real accelerator there are of course small perturbations and misalignments of the physical elements. To actually tune the IOTA lattice the linear optimization of closed orbits (LOCO) algorithm is used to iteratively adjust the lattice to best fit the simulation model \cite{romanovLatticeCorrectionModeling2014}. In the case of IOTA, there had to be slight adjustments to the lattice model to arrive at the final fit. Most notably, the undulator magnet was included in the lattice, the BPM locations had to shift a bit, and small gradient terms were added to the dipoles. The resulting lattice functions are plotting in \ref{fig:IOTAund9}, notice that the symmetry in the dispersion has been broken due to the dipole gradients. This lattice is used for experimental analysis as it represents the best match to the real accelerator conditions.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/adjustedUnd9ag.png}
\caption{Experimentally fitted IOTA lattice functions.}
\label{fig:IOTAund9}
\end{figure}
\section{IOTA NIO Insert Design} \label{sec:nioDesign}
Once the insert drift parameters are fixed, the actual nonlinear insert magnets must be designed. To define the pole geometry, we introduce an additional function from \cite{mitchellComplexRepresentationPotentials2019}. This is a complex representation of the vector and magnetic scalar potentials (not the relativistic scalar potential), scaled by the rigidity.
\begin{equation} \label{eq:genF}
F(z_c) = \frac{A_s}{B\rho} + i\frac{\Phi_m}{B\rho} = \frac{t c^2}{\beta(s)}\frac{z_c}{\sqrt{1-z_c^2}} \arcsin{(z_c)} \\
\end{equation}
We can also expand this function about the origin. Note that this expansion is only valid inside the radius $x_c^2 + y_c^2 = 1$. This is of no practical concern as it only mandates that our expansion is good inside singularities of the potential, where we are interested in the dynamics anyway.
\begin{equation} \label{eq:powF}
F(z_c) = \frac{t c^2}{\beta(s)} \sum_{n=1}^{\infty} \frac{2^{2n-1}n!(n-1)!}{(2n)!} z_c^{2n}
\end{equation}
In a space with only the $A_s$ component of the vector potential, we know our magnetic field terms are given by Eq. \ref{eq:B_As}, with chain rule considered since our potential depends on the normalized coordinates.
\begin{equation} \label{eq:B_As}
\begin{split}
B_x = &\frac{\partial A_s}{\partial y} = \frac{1}{c\sqrt{\beta(s)}}\frac{\partial A_s}{\partial y_c}\\
B_y = -&\frac{\partial A_s}{\partial x} = -\frac{1}{c\sqrt{\beta(s)}}\frac{\partial A_s}{\partial x_c}
\end{split}
\end{equation}
To construct a Beth representation of our field we can combine our field terms in Eq. \ref{eq:cmBeth}.
\begin{equation} \label{eq:cmBeth}
B_y + i B_x = -\frac{\partial A_s}{\partial x} + i\frac{\partial A_s}{\partial y} = -\frac{1}{c\sqrt{\beta(s)}}\left(\frac{\partial A_s}{\partial x_c} - i\frac{\partial A_s}{\partial y_c}\right)
\end{equation}
A consequence of the Cauchy-Riemann equations yields Eq. \ref{eq:cauchy}
\begin{equation} \label{eq:cauchy}
\frac{\partial F}{\partial z_c} = \left(\frac{\partial }{\partial x_c} - i\frac{\partial }{\partial y_c}\right) \frac{A_s}{B\rho}
\end{equation}
Substituting, we arrive at Eq. \ref{eq:BdF}, or the multipole expansion (in lab coordinates) Eq. \ref{eq:dnMult}.
\begin{equation} \label{eq:BdF}
B_y + i B_x = -\frac{B\rho}{c\sqrt{\beta(s)}}\frac{\partial F}{\partial z_c} = - \frac{t c B\rho}{\beta(s)^{3/2}} \left( \frac{z_c}{1 - z_c^2} + \frac{\arcsin{(z_c)}}{\left(1-z_c^2\right)^{3/2}}\right)
\end{equation}
\begin{equation} \label{eq:dnMult}
B_y + i B_x = - \frac{t c^2 B\rho}{\beta(s)} \sum_{n=1}^{\infty} \frac{2^{2n-1}n!(n-1)!}{c^{2n}\beta(s)^n(2n-1)!} (x + i y)^{2n -1}
\end{equation}
There are two important takeaways from the multipole expansion, there are only even multipoles in the expansion (quadrupole, octupole, dodecapole, etc.), and the lowest multipole order is that of a quadrupole. So, the first order effect of the nonlinear insert can be treated in our linear dynamics for coarse tuning purposes and alignment. Figure \ref{fig:dnMultRatio} shows the fractional deviation of the magnitude of the magnetic field of the multipole decomposition (Eq. \ref{eq:dnMult}), from the exact analytic form (Eq. \ref{eq:BdF}) for increasing cutoff orders. Three points of comparison are taken, $(x_c=1/2,y_c=0)$, $(x_c=0,y_c=1/2)$, and $(x_c=\sqrt{2}/4,y_c=\sqrt{2}/4)$. A comparison for a multipole cutoff at the 16\textsuperscript{th} order, or our 32-pole term, is also plotted. Notice the breakdown of the field match at large amplitudes, even with these high order multipole terms considered.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/dnMultipoleComp.pdf}
\caption{Relative field magnitude deviation between exact form and expansion with different truncated orders. Right plot is truncated at the 16\textsuperscript{th} order term, same as last point in left plot. Transverse location of traces from left plot correspond to crosses in right plot.}
\label{fig:dnMultRatio}
\end{figure}
The design of the nonlinear inserts use iron dominated magnets to shape the field, we can set to the scalar magnetic potential to a constant value and invert for the coordinates. In practice this is done numerically. The nonlinear insert used in these studies placed the pole at a scalar potential value of 0.5, in the $B\rho$ normalized units. Figure \ref{fig:dnMagPtCurve} shows the scalar magnetic potential gradient in the region where the multipole expansion holds, with the selected contour for the insert in red.
\begin{figure}
\centering
\includegraphics[width=0.8\linewidth]{./chapter_2_figures/DNscalarMagneticV1.pdf}
\caption{Normalized magnetic potential of NIO system, contour used in IOTA magnets is highlighted in red. The region near the singularity is masked to make the gradient more distinct.}
\label{fig:dnMagPtCurve}
\end{figure}
Once the transverse profile has been defined the necessary longitudinal scaling needs to be considered. The ideal DN potential smoothly scales with the beta function in the insert drift, but this is impractical to implement with magnets. For the real insert, a series of magnets approximately integrate the potential. The basic implementation is to assume some number of thin kicks scaled by the hard edge equivalent length of the magnets. For the first version of the magnet, this was done with 18 magnets equally spaced along the length of the insert. Figure \ref{fig:dnLongKick} shows the effective potential for the ideal case and the 18 element piecewise approach.
\begin{figure}
\centering
\includegraphics[width=0.8\linewidth]{./chapter_2_figures/dnIntPiecewise.pdf}
\caption{Comparison of ideal longitudinal scaling of potential with physical piecewise approximation.}
\label{fig:dnLongKick}
\end{figure}
Based on the form of the normalization employed to construct the Hamiltonian, the poles must be shaped according to the beta function at the given location to match the same contour in the magnetic potential. As a result the insert is composed of 9 unique pairs of magnets arranged symmetrically about the center. Figure \ref{fig:labPoles} shows the physical contours of the magnet families in the insert, the increase in size as the index increases from the center corresponds to a larger aperture.
\begin{figure}
\centering
\includegraphics[width=0.8\linewidth]{./chapter_2_figures/v1PoleFace.pdf}
\caption{Lab coordinate pole contours of DN magnet. Distances are measured from the center of the nonlinear insert.}
\label{fig:labPoles}
\end{figure}
The nonlinear insert was designed in part to exploit the nonlinearities of the magnet at small amplitudes, so the $c$ parameter was chosen to be quite small; $c=0.009 \sqrt{m}$ (some literature claims a different physically implemented c-parameter, but this value has been confirmed with the engineering drawings). This means that the singularity of the potential is at about 7 mm at the center of the insert, and necessitates a carefully designed beam pipe to maximize the available aperture within the small poles. The core parameters of the insert are outlined in table \ref{tab:dnParameters}
\begin{table}
\centering
\begin{tabular}{lc}
\toprule
\textbf{NIO Insert Parameter} & \textbf{Nominal Value}\\
\midrule
Insert Length & 1.8 [m] \\
Insert Phase Advance & 0.3 [2$\pi$] \\
Number of Magnets & 18 [1]\\
Magnet Length & 6.5 [cm] \\
$c$ parameter & 0.009 $[\sqrt{\mathrm{m}}]$ \\
Turns Per Coil & 40 [1]\\
Minimum X Aperture Radius& 3.94 [mm] \\
Minimum Y Aperture Radius& 5.26 [mm]\\
\bottomrule
\end{tabular}
\caption{NIO Insert Parameters}
\label{tab:dnParameters}
\end{table}
The mechanical, magnetic, and vacuum design and fabrication of the insert was performed by RadiaBeam (in collaboration with the IOTA group) under a Department of Energy small business innovation research grant \cite{mcnevinMechanicalDesignManufacturing2016,osheaMeasurementNonLinearInsert2013,osheaNonLinearInsertsIOTA2017,osheaNonlinearMagneticInserts2015}. The actual magnet is pictured in figure \ref{fig:realDN}. Based on experience with the first insert, a second version of the insert was constructed, though no beam studies have yet been performed. Some details on its design are included in appendix \ref{apx:dnv2}.
\begin{figure}
\centering
\includegraphics[width=1\linewidth]{./chapter_2_figures/dn_side_by_side.png}
\caption{Pictures of IOTA NIO insert, note the pole contours and the longitudinal structure. Photo: Giulio Stancari/Fermilab.}
\label{fig:realDN}
\end{figure}