SLAC Magnetic Measurements
Date: 06-14-1995
Time: 14:12:54

Magnet Name (Serial #): 000
Bar Code Number: 000
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1
Measurement Coil: # 1
Operator: pdr
Run Number: 6
Comment: Repeatability; Moved coil and magnet

Standardization Currents (A):
   250.0    10.0   200.0    10.0   200.0    10.0   200.0
    10.0

Test Currents (A):
   200.0


                 Harmonics Measurements

Date: 06-14-1995
Time: 14:30:20
Magnet Name: 000
Run Number: 6


                          FIELD HARMONICS

Magnet Current, Imag =  200.5801  +-  4.468767E-03  A
Coil Radius, Rcoil =  .044882  m
Coil # Turns, Nturns =  20 
Average, # Rotations/Measurement =  10 , # Measurements =  4 
Nmain =  3 

 N     BLn     sigBLn    THspole   sigTH    BLn/BLN sBLn/BLN
       (Tm)     (Tm)      (deg)    (deg)      (%)      (%)  
---  --------+--------  --------+--------  --------+--------
  1   0.00017  0.00000   -101.79     0.31    0.4285   0.0013
  2   0.00052  0.00000    -82.35     0.07    1.2897   0.0018
  3   0.04054  0.00001     30.08     0.00  100.0000   0.0436
  4   0.00006  0.00000     -2.92     0.20    0.1549   0.0025
  5   0.00006  0.00000    -15.80     0.21    0.1534   0.0023
  6   0.00000  0.00000     -0.03     3.16    0.0080   0.0022
  7   0.00002  0.00000    -10.71     0.47    0.0515   0.0105
  8   0.00003  0.00001     -2.70     0.59    0.0677   0.0156
  9   0.00014  0.00000    -10.24     0.01    0.3363   0.0011
 10   0.00001  0.00000     13.31     0.57    0.0193   0.0010
 11   0.00001  0.00000     -5.40    12.24    0.0217   0.0027
 12   0.00005  0.00001      7.11    12.38    0.1320   0.0338
 13   0.00001  0.00000     -2.23     0.43    0.0366   0.0040
 14   0.00001  0.00000     -4.89     8.76    0.0126   0.0022
 15   0.00003  0.00000     -5.73     0.08    0.0778   0.0016
 16   0.00000  0.00000      8.73     1.87    0.0078   0.0019


The magnetic center is at
X =    76.3 +-     0.6 microns
Y =   279.2 +-     0.4 microns

The magnetic center is measured relative to the coil axis
effectively at the longitudinal center of the magnet.
Pitch and yaw are not seen by the coil.

View from the non-lead end of the magnet:

           y          
           ^          
           |          
           N          
        S     S       
                --> x 
        N     N       
           S          


           SUMMARY OF THE CALCULATIONS AND CONVENTIONS USED


Field Expansion:
The expansion of the radial and azimuthal field in polar
coordinates is
 Br(r,th) = Sum Bn (r/rref)^(n-1) cos(n(th-thspole))
 Bth(r,th) = -Sum Bn (r/rref)^(n-1) sin(n(th-thspole))
Our convention is to set rref = Rcoil.
Thspole is the angle of the first magnetic south pole
with respect to the horizontal, measured ccw by a shaft
encoder in the system.

Coil Voltage:
The coil voltage from each field harmonic is
 Vn(th) = Nturns * velocity * Brn(Rcoil,th) * L
L is the magnet effective length, or BLn is the integrated
field strength of the n'th harmonic.
At the coil radius, the radial field as a function of angle is,
 Brn(Rcoil,th) * L = BLn * cos(n*(th - thspole))
The coil voltage is
 Vn(th) = Nturns * velocity * BLn * cos(n*(th - thspole))
        = Nturns * Rcoil * ang_freq * BLn * cos(n*(th - THspole))
An FFT of the coil voltage gives Vn and PhiVn according to the formula
 Vn(i) = Vn * cos(n*2pi*i/N + PhiVn)

Multipole Field Calculations:
To find the multipole field magnitudes and phases,
the measured voltage harmonics are related to their values
calculated from the field harmonics:
 Nturns * Rcoil * ang_freq * BLn = Vn
 -n * thspole = PhiVn
Or,
 BLn = Vn / (Nturns * Rcoil * ang_freq)
 thspole = -PhiVn / n

Harmonic Strength Ratios:
The main field, denoted by capital N, is the field harmonic
with the largest strength at the coil radius.
The field strength ratio is defined by
 Rn = BLn / BLN
It gives the ratio of each harmonic field strength to the
main field strength at the coil radius.

Calculation Of SL:
The sextupole strength S is defined by the vertical
field on the x-axis (median plane).
It is the quadratic term in the Taylor expansion.
 By(x) = 1/2 S x^2
On the x-axis, By(x) = Bth(r=x,th=0)
From the expression for Bth above,
 By(x) = - B3 (x/rref)^2 sin(-3 thspole)
Take rref = Rcoil, thspole = pi/6, then at x=Rcoil,
 By(Rcoil) = B3 = 1/2 S Rcoil^2
So,
 S = 2 B3 / Rcoil^2
The integrated sextupole strength is
 SL = 2 BL3 / Rcoil^2

Calculation Of The Sextupole Center:
In the sextupole's frame,
 Bx' = S * x' * y'
 By' = 1/2 * S * (x'^2 - y'^2).
In the coil's frame (unprimed frame) the magnetic center is at (x0, y0).
In the coil's frame,
 Bx = S * (x - x0) * (y - y0)
 By = 1/2 * S * [(x - x0)^2 - (y - y0)^2].
The magnetic center can be found in terms of the measured
quadrupole field.  Compare Br and Btheta on the x-axis to
 Bxquad = -S * (x0 * y + y0 * x)
 Byquad = -S * (x0 * x - y0 * y).
Evaluate at x = Rcoil, y = 0 and compare to
 Br(theta = 0) = Bx, Btheta(theta = 0) = By.
In terms of the measured integrated strengths, this gives
 Xcenter = x0 = - (1/(SL * Rcoil)) * BL2 * sin(2 * THspole2)
 Ycenter = y0 = - (1/(SL * Rcoil)) * BL2 * cos(2 * THspole2)
