SLAC Magnetic Measurements
Date: 07-11-1995
Time: 10:49:45

Magnet Name (Serial #): 084
Bar Code Number: 123
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, W
Measurement Coil: # 1
Operator: pdr
Run Number: 1
Comment: Standard Measurement

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: 07-11-1995
Time: 11:20:06
Magnet Name: 084
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  25.61357  +-  1.491491E-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.00004  0.00000   -106.33     0.09    0.7626   0.0010
  2   0.00008  0.00000     31.38     0.04    1.4469   0.0009
  3   0.00526  0.00000    -29.89     0.00  100.0000   0.0214
  4   0.00001  0.00000     40.03     0.20    0.1101   0.0039
  5   0.00001  0.00000     18.29     0.23    0.1240   0.0010
  6   0.00000  0.00000    -25.57     2.29    0.0142   0.0034
  7   0.00000  0.00000     11.88     0.68    0.0227   0.0011
  8   0.00000  0.00000    -14.08     0.14    0.0170   0.0010
  9   0.00002  0.00000     10.06     0.09    0.3237   0.0043
 10   0.00000  0.00000      4.06    11.62    0.0024   0.0008
 11   0.00000  0.00000      4.06    11.58    0.0034   0.0025
 12   0.00000  0.00000      0.43    11.62    0.0048   0.0014
 13   0.00000  0.00000     -7.12     1.62    0.0078   0.0018
 14   0.00000  0.00000     -8.34     1.24    0.0062   0.0012
 15   0.00000  0.00000      6.10     0.14    0.0702   0.0020
 16   0.00000  0.00000     -3.54     4.41    0.0026   0.0011


The magnetic center is at
X =   288.7 +-     0.3 microns
Y =   148.6 +-     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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          

Date: 07-11-1995
Time: 11:23:37
Magnet Name: 084
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  50.59533  +-  8.356299E-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.00002  0.00000   -113.92     0.21    0.2121   0.0035
  2   0.00015  0.00000     31.11     0.03    1.4894   0.0006
  3   0.01027  0.00000    -29.89     0.00  100.0000   0.0324
  4   0.00001  0.00000     39.47     0.29    0.1222   0.0030
  5   0.00001  0.00000     18.44     0.06    0.1366   0.0009
  6   0.00000  0.00000    -26.15     0.55    0.0135   0.0015
  7   0.00000  0.00000     12.35     0.57    0.0272   0.0017
  8   0.00000  0.00000    -13.79     0.42    0.0170   0.0010
  9   0.00003  0.00000     10.11     0.06    0.3317   0.0031
 10   0.00000  0.00000     -1.45    10.17    0.0017   0.0007
 11   0.00000  0.00000     -1.47    12.05    0.0037   0.0014
 12   0.00000  0.00000     -6.29    12.09    0.0028   0.0009
 13   0.00000  0.00000     -3.54     6.91    0.0032   0.0031
 14   0.00000  0.00000     -8.42     0.43    0.0067   0.0011
 15   0.00001  0.00000      6.16     0.08    0.0724   0.0019
 16   0.00000  0.00000     -0.37     4.60    0.0017   0.0005


The magnetic center is at
X =   295.7 +-     0.2 microns
Y =   155.8 +-     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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          

Date: 07-11-1995
Time: 11:27:13
Magnet Name: 084
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  100.5891  +-  1.693438E-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.00002  0.00000    102.61     0.87    0.0940   0.0015
  2   0.00031  0.00000     31.29     0.02    1.4973   0.0017
  3   0.02040  0.00000    -29.89     0.00  100.0000   0.0335
  4   0.00003  0.00000     39.68     0.27    0.1268   0.0012
  5   0.00003  0.00000     18.32     0.07    0.1405   0.0021
  6   0.00001  0.00000    -27.16     0.50    0.0260   0.0016
  7   0.00001  0.00000     12.13     0.68    0.0283   0.0010
  8   0.00000  0.00000    -13.40     0.77    0.0174   0.0007
  9   0.00007  0.00000     10.09     0.04    0.3328   0.0029
 10   0.00000  0.00000      6.12    13.31    0.0042   0.0014
 11   0.00000  0.00000      2.79    12.82    0.0018   0.0005
 12   0.00000  0.00000      1.37     0.91    0.0058   0.0004
 13   0.00000  0.00000     -2.29     6.38    0.0028   0.0011
 14   0.00000  0.00000     -7.81     0.41    0.0066   0.0012
 15   0.00002  0.00000      6.19     0.07    0.0742   0.0006
 16   0.00000  0.00000     -0.70     1.31    0.0021   0.0012


The magnetic center is at
X =   298.3 +-     0.3 microns
Y =   154.7 +-     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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          

Date: 07-11-1995
Time: 11:34:10
Magnet Name: 084
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  150.5692  +-  3.073387E-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.00006  0.00000     90.88     0.28    0.1973   0.0012
  2   0.00046  0.00000     31.46     0.04    1.4964   0.0013
  3   0.03047  0.00001    -29.89     0.00  100.0000   0.0352
  4   0.00004  0.00000     39.24     0.20    0.1229   0.0014
  5   0.00004  0.00000     18.19     0.16    0.1419   0.0013
  6   0.00000  0.00000    -24.25     0.83    0.0119   0.0028
  7   0.00001  0.00000     12.57     0.39    0.0266   0.0009
  8   0.00001  0.00000    -13.72     0.20    0.0183   0.0016
  9   0.00010  0.00000     10.11     0.04    0.3322   0.0023
 10   0.00000  0.00000      4.26    11.02    0.0030   0.0017
 11   0.00000  0.00000      5.44    12.62    0.0040   0.0010
 12   0.00000  0.00000      0.88    13.68    0.0077   0.0018
 13   0.00000  0.00000      1.90     8.48    0.0029   0.0012
 14   0.00000  0.00000     -8.53     0.22    0.0058   0.0014
 15   0.00002  0.00000      6.21     0.03    0.0695   0.0012
 16   0.00000  0.00000      2.30     1.67    0.0023   0.0006


The magnetic center is at
X =   299.0 +-     0.3 microns
Y =   152.8 +-     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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          

Date: 07-11-1995
Time: 11:41:07
Magnet Name: 084
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  200.5659  +-  3.629107E-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.00009  0.00000     88.70     0.38    0.2329   0.0028
  2   0.00061  0.00000     31.61     0.06    1.4974   0.0032
  3   0.04046  0.00001    -29.89     0.00  100.0000   0.0366
  4   0.00005  0.00000     38.98     0.52    0.1218   0.0007
  5   0.00006  0.00000     18.28     0.09    0.1369   0.0004
  6   0.00000  0.00000    -11.17    23.46    0.0122   0.0027
  7   0.00001  0.00000     13.26     0.67    0.0274   0.0013
  8   0.00001  0.00000    -13.06     1.87    0.0159   0.0007
  9   0.00014  0.00000     10.10     0.08    0.3351   0.0013
 10   0.00000  0.00000     -8.59     8.61    0.0020   0.0009
 11   0.00000  0.00000      1.02    11.55    0.0032   0.0014
 12   0.00000  0.00000     -0.53    11.79    0.0052   0.0018
 13   0.00000  0.00000     -8.98     3.43    0.0041   0.0005
 14   0.00000  0.00000     -5.62     8.16    0.0049   0.0029
 15   0.00003  0.00000      6.10     0.08    0.0689   0.0007
 16   0.00000  0.00000     -4.80     7.80    0.0034   0.0015


The magnetic center is at
X =   300.0 +-     0.7 microns
Y =   151.4 +-     0.7 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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          


           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)
