SLAC Magnetic Measurements
Date: 09-05-1995
Time: 10:07:48

Magnet Name (Serial #): 098
Bar Code Number: 014
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, W
Measurement Coil: # 1
Operator: dan
Run Number: 12
Comment: none

Standardization Currents (A):
   250.0    10.0   200.0    10.0   200.0    10.0   200.0
    10.0

Test Currents (A):
    25.0    50.0   100.0   125.0   150.0   175.0   200.0
   150.0   100.0    50.0    25.0


                 Harmonics Measurements

Date: 09-05-1995
Time: 10:38:38
Magnet Name: 098
Run Number: 12


                          FIELD HARMONICS

Magnet Current, Imag =  25.6319  +-  7.955508E-04  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.00007  0.00000   -101.21     0.05    1.2733   0.0011
  2   0.00009  0.00000    -54.33     0.02    1.6920   0.0027
  3   0.00527  0.00000     30.08     0.00  100.0000   0.0184
  4   0.00001  0.00000     -5.64     0.12    0.1263   0.0017
  5   0.00001  0.00000    -17.25     0.12    0.1407   0.0018
  6   0.00000  0.00000      6.95     2.70    0.0115   0.0024
  7   0.00000  0.00000    -12.86     0.40    0.0359   0.0017
  8   0.00000  0.00000      9.59     0.77    0.0206   0.0036
  9   0.00002  0.00000     -9.89     0.09    0.3354   0.0019
 10   0.00000  0.00000     -3.73     8.75    0.0059   0.0030
 11   0.00000  0.00000     -1.23     4.51    0.0047   0.0023
 12   0.00000  0.00000     -9.12     5.92    0.0018   0.0006
 13   0.00000  0.00000      0.84     3.24    0.0050   0.0028
 14   0.00000  0.00000      4.50     0.44    0.0104   0.0014
 15   0.00000  0.00000     -5.80     0.09    0.0713   0.0023
 16   0.00000  0.00000      2.07     4.96    0.0042   0.0015


The magnetic center is at
X =   359.7 +-     0.6 microns
Y =   121.5 +-     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          

Date: 09-05-1995
Time: 10:42:03
Magnet Name: 098
Run Number: 12


                          FIELD HARMONICS

Magnet Current, Imag =  50.61311  +-  4.101524E-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.00008  0.00000    -99.80     0.06    0.7925   0.0010
  2   0.00017  0.00000    -54.52     0.04    1.6901   0.0017
  3   0.01028  0.00000     30.08     0.00  100.0000   0.0255
  4   0.00001  0.00000     -4.92     0.09    0.1298   0.0028
  5   0.00002  0.00000    -17.21     0.05    0.1540   0.0007
  6   0.00000  0.00000      7.12     1.71    0.0143   0.0015
  7   0.00000  0.00000    -13.26     0.45    0.0366   0.0015
  8   0.00000  0.00000      9.39     0.55    0.0233   0.0016
  9   0.00003  0.00000     -9.82     0.02    0.3314   0.0024
 10   0.00000  0.00000     -9.50     7.68    0.0036   0.0006
 11   0.00000  0.00000      1.13     1.23    0.0039   0.0007
 12   0.00000  0.00000     -4.41     3.75    0.0035   0.0012
 13   0.00000  0.00000     -5.53     1.41    0.0034   0.0014
 14   0.00000  0.00000      5.60     0.94    0.0113   0.0020
 15   0.00001  0.00000     -5.81     0.07    0.0722   0.0010
 16   0.00000  0.00000      0.15     7.25    0.0013   0.0005


The magnetic center is at
X =   358.5 +-     0.4 microns
Y =   123.8 +-     0.5 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          

Date: 09-05-1995
Time: 10:45:33
Magnet Name: 098
Run Number: 12


                          FIELD HARMONICS

Magnet Current, Imag =  100.6065  +-  3.495347E-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.00011  0.00000    -97.86     0.11    0.5502   0.0011
  2   0.00034  0.00000    -54.21     0.05    1.6886   0.0023
  3   0.02039  0.00001     30.08     0.00  100.0000   0.0418
  4   0.00003  0.00000     -5.27     0.07    0.1262   0.0021
  5   0.00003  0.00000    -17.17     0.08    0.1631   0.0008
  6   0.00000  0.00000     13.73     1.96    0.0081   0.0018
  7   0.00001  0.00000    -12.57     0.30    0.0376   0.0009
  8   0.00000  0.00000      9.00     0.34    0.0216   0.0017
  9   0.00007  0.00000     -9.90     0.04    0.3321   0.0025
 10   0.00000  0.00000     -8.67     3.36    0.0032   0.0014
 11   0.00000  0.00000      0.70     1.25    0.0034   0.0008
 12   0.00000  0.00000     -1.61     0.59    0.0095   0.0008
 13   0.00000  0.00000     -2.81     0.49    0.0069   0.0005
 14   0.00000  0.00000      4.87     0.76    0.0099   0.0009
 15   0.00002  0.00000     -5.86     0.06    0.0741   0.0010
 16   0.00000  0.00000     -0.23     3.06    0.0033   0.0010


The magnetic center is at
X =   359.5 +-     0.5 microns
Y =   119.8 +-     0.6 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          

Date: 09-05-1995
Time: 10:52:16
Magnet Name: 098
Run Number: 12


                          FIELD HARMONICS

Magnet Current, Imag =  150.5874  +-  2.051243E-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.00014  0.00000    -96.57     0.04    0.4746   0.0016
  2   0.00052  0.00000    -53.97     0.03    1.6930   0.0016
  3   0.03047  0.00001     30.08     0.00  100.0000   0.0283
  4   0.00004  0.00000     -5.44     0.21    0.1275   0.0011
  5   0.00005  0.00000    -17.30     0.06    0.1654   0.0012
  6   0.00000  0.00000      6.82     0.76    0.0123   0.0023
  7   0.00001  0.00000    -12.89     0.35    0.0375   0.0011
  8   0.00001  0.00000      9.14     0.38    0.0223   0.0015
  9   0.00010  0.00000     -9.90     0.02    0.3323   0.0016
 10   0.00000  0.00000     -5.36     9.44    0.0020   0.0003
 11   0.00000  0.00000      1.02     1.24    0.0028   0.0009
 12   0.00000  0.00000    -12.39     0.47    0.0044   0.0014
 13   0.00000  0.00000     -1.67     0.80    0.0077   0.0012
 14   0.00000  0.00000      5.26     0.78    0.0101   0.0016
 15   0.00002  0.00000     -5.82     0.01    0.0708   0.0009
 16   0.00000  0.00000      2.86     3.83    0.0023   0.0009


The magnetic center is at
X =   361.5 +-     0.4 microns
Y =   117.0 +-     0.3 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          

Date: 09-05-1995
Time: 10:58:58
Magnet Name: 098
Run Number: 12


                          FIELD HARMONICS

Magnet Current, Imag =  200.585  +-  2.213419E-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    -96.18     0.23    0.4126   0.0004
  2   0.00068  0.00000    -53.81     0.02    1.6935   0.0007
  3   0.04044  0.00001     30.08     0.00  100.0000   0.0378
  4   0.00005  0.00000     -5.40     0.12    0.1260   0.0020
  5   0.00007  0.00000    -17.19     0.05    0.1613   0.0006
  6   0.00000  0.00000      5.51     0.30    0.0120   0.0009
  7   0.00002  0.00000    -12.49     0.32    0.0376   0.0012
  8   0.00001  0.00000      9.06     0.19    0.0228   0.0019
  9   0.00014  0.00000     -9.88     0.04    0.3343   0.0026
 10   0.00000  0.00000     -8.09    12.87    0.0034   0.0014
 11   0.00000  0.00000      3.55     2.25    0.0026   0.0004
 12   0.00000  0.00000     -2.83     2.33    0.0022   0.0010
 13   0.00000  0.00000     -3.26     0.46    0.0070   0.0010
 14   0.00000  0.00000      4.96     0.46    0.0087   0.0013
 15   0.00003  0.00000     -5.80     0.07    0.0720   0.0007
 16   0.00000  0.00000     -7.54     2.39    0.0017   0.0007


The magnetic center is at
X =   362.2 +-     0.2 microns
Y =   115.0 +-     0.2 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)
