SLAC Magnetic Measurements
Date: 09-01-1995
Time: 11:45:50

Magnet Name (Serial #): 051
Bar Code Number: 076
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, W
Measurement Coil: # 1
Operator: dan
Run Number: 1
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-01-1995
Time: 12:16:09
Magnet Name: 051
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  25.62512  +-  1.751721E-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   -154.38     0.06    1.2133   0.0014
  2   0.00007  0.00000     24.73     0.11    1.3032   0.0058
  3   0.00522  0.00000    -29.90     0.00  100.0000   0.0626
  4   0.00002  0.00000    -34.61     0.13    0.4495   0.0045
  5   0.00001  0.00000     11.01     0.16    0.2224   0.0016
  6   0.00000  0.00000    -12.89    24.44    0.0113   0.0013
  7   0.00000  0.00000     15.84     0.34    0.0322   0.0033
  8   0.00000  0.00000    -11.06     0.40    0.0264   0.0015
  9   0.00002  0.00000     10.10     0.07    0.3288   0.0029
 10   0.00000  0.00000      4.43     1.39    0.0106   0.0035
 11   0.00000  0.00000      0.22    14.68    0.0063   0.0012
 12   0.00000  0.00000      5.12     7.53    0.0042   0.0010
 13   0.00000  0.00000     -3.66     7.61    0.0027   0.0018
 14   0.00000  0.00000     -7.08     1.17    0.0093   0.0024
 15   0.00000  0.00000      6.09     0.08    0.0723   0.0013
 16   0.00000  0.00000      4.65     5.90    0.0027   0.0021


The magnetic center is at
X =   222.2 +-     1.2 microns
Y =   190.1 +-     1.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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          

Date: 09-01-1995
Time: 12:19:33
Magnet Name: 051
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  50.60894  +-  1.675303E-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.00010  0.00000    173.09     0.11    0.9907   0.0016
  2   0.00013  0.00000     24.38     0.03    1.2912   0.0007
  3   0.01020  0.00000    -29.90     0.00  100.0000   0.0688
  4   0.00005  0.00000    -34.32     0.05    0.4562   0.0028
  5   0.00002  0.00000     11.40     0.03    0.2360   0.0005
  6   0.00000  0.00000    -26.56     0.90    0.0125   0.0016
  7   0.00000  0.00000     15.97     0.32    0.0363   0.0011
  8   0.00000  0.00000    -11.52     0.57    0.0253   0.0017
  9   0.00003  0.00000     10.07     0.02    0.3275   0.0017
 10   0.00000  0.00000      8.44     1.57    0.0078   0.0022
 11   0.00000  0.00000     -6.66    12.81    0.0058   0.0013
 12   0.00000  0.00000      7.49     9.94    0.0032   0.0014
 13   0.00000  0.00000     -2.74     8.38    0.0018   0.0010
 14   0.00000  0.00000     -6.95     0.84    0.0086   0.0010
 15   0.00001  0.00000      6.14     0.11    0.0739   0.0013
 16   0.00000  0.00000      1.07     5.62    0.0020   0.0012


The magnetic center is at
X =   217.9 +-     0.2 microns
Y =   191.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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          

Date: 09-01-1995
Time: 12:23:03
Magnet Name: 051
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  100.597  +-  6.734126E-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.00021  0.00000    153.72     0.05    1.0289   0.0013
  2   0.00026  0.00000     24.19     0.02    1.2930   0.0020
  3   0.02024  0.00001    -29.90     0.00  100.0000   0.0599
  4   0.00009  0.00000    -34.33     0.07    0.4619   0.0013
  5   0.00005  0.00000     11.36     0.06    0.2419   0.0022
  6   0.00000  0.00000    -27.91     1.10    0.0230   0.0020
  7   0.00001  0.00000     16.14     0.15    0.0363   0.0014
  8   0.00001  0.00000    -11.40     0.31    0.0265   0.0012
  9   0.00007  0.00000     10.13     0.04    0.3303   0.0008
 10   0.00000  0.00000      7.52     1.12    0.0065   0.0006
 11   0.00000  0.00000    -14.20     0.42    0.0071   0.0005
 12   0.00000  0.00000      1.17     0.78    0.0097   0.0005
 13   0.00000  0.00000      7.74     2.11    0.0041   0.0016
 14   0.00000  0.00000     -6.93     1.01    0.0071   0.0009
 15   0.00001  0.00000      6.19     0.07    0.0738   0.0009
 16   0.00000  0.00000      2.71     6.84    0.0020   0.0006


The magnetic center is at
X =   216.9 +-     0.4 microns
Y =   192.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: 09-01-1995
Time: 12:29:45
Magnet Name: 051
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  150.5866  +-  1.597479E-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.00032  0.00000    147.20     0.08    1.0653   0.0022
  2   0.00039  0.00000     24.13     0.01    1.2993   0.0032
  3   0.03025  0.00002    -29.90     0.00  100.0000   0.0917
  4   0.00014  0.00000    -34.27     0.09    0.4614   0.0016
  5   0.00007  0.00000     11.64     0.04    0.2461   0.0009
  6   0.00000  0.00000    -26.04     0.71    0.0118   0.0013
  7   0.00001  0.00000     15.94     0.44    0.0358   0.0014
  8   0.00001  0.00000    -11.34     0.33    0.0245   0.0020
  9   0.00010  0.00000     10.09     0.03    0.3305   0.0026
 10   0.00000  0.00000      7.91     1.30    0.0069   0.0014
 11   0.00000  0.00000    -13.86     0.93    0.0060   0.0014
 12   0.00000  0.00000      6.98    12.68    0.0062   0.0008
 13   0.00000  0.00000      4.94     9.41    0.0027   0.0011
 14   0.00000  0.00000     -6.54     1.09    0.0070   0.0012
 15   0.00002  0.00000      6.15     0.10    0.0707   0.0015
 16   0.00000  0.00000      3.06     3.74    0.0031   0.0013


The magnetic center is at
X =   217.6 +-     0.5 microns
Y =   194.1 +-     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: 09-01-1995
Time: 12:36:28
Magnet Name: 051
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  200.5921  +-  6.662532E-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.00043  0.00000    144.93     0.11    1.0739   0.0010
  2   0.00053  0.00000     24.07     0.05    1.3075   0.0021
  3   0.04015  0.00000    -29.90     0.00  100.0000   0.0154
  4   0.00018  0.00000    -34.38     0.07    0.4586   0.0009
  5   0.00010  0.00000     11.45     0.02    0.2444   0.0018
  6   0.00001  0.00000    -26.63     0.91    0.0155   0.0018
  7   0.00001  0.00000     15.46     0.13    0.0352   0.0004
  8   0.00001  0.00000    -11.58     0.32    0.0244   0.0008
  9   0.00013  0.00000     10.07     0.01    0.3321   0.0022
 10   0.00000  0.00000      7.56     1.47    0.0065   0.0008
 11   0.00000  0.00000    -13.55     0.29    0.0062   0.0014
 12   0.00000  0.00000      1.09     8.19    0.0021   0.0014
 13   0.00000  0.00000      7.07     3.10    0.0033   0.0013
 14   0.00000  0.00000     -7.38     0.95    0.0061   0.0012
 15   0.00003  0.00000      6.10     0.11    0.0712   0.0012
 16   0.00000  0.00000     -0.21     9.55    0.0021   0.0013


The magnetic center is at
X =   218.5 +-     0.5 microns
Y =   195.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          
           ^          
           |          
           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)
