SLAC Magnetic Measurements
Date: 08-28-1995
Time: 12:31:01

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: 11
Comment: monday ref sext

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: 08-28-1995
Time: 13:01:41
Magnet Name: 098
Run Number: 11


                          FIELD HARMONICS

Magnet Current, Imag =  25.59549  +-  2.200971E-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.00007  0.00000   -101.55     0.16    1.2475   0.0016
  2   0.00008  0.00000    -48.19     0.03    1.6042   0.0038
  3   0.00527  0.00000     30.08     0.00  100.0000   0.0123
  4   0.00001  0.00000     -5.12     1.79    0.1373   0.0102
  5   0.00001  0.00000    -17.04     0.24    0.1420   0.0020
  6   0.00000  0.00000      3.72     6.96    0.0256   0.0047
  7   0.00000  0.00000    -12.04     0.53    0.0372   0.0026
  8   0.00000  0.00000     12.71     0.76    0.0196   0.0039
  9   0.00002  0.00000     -9.96     0.05    0.3311   0.0022
 10   0.00000  0.00000    -10.00     2.43    0.0049   0.0018
 11   0.00000  0.00000     -7.95     8.45    0.0043   0.0019
 12   0.00000  0.00000      1.05    11.30    0.0043   0.0027
 13   0.00000  0.00000      0.23     1.19    0.0089   0.0037
 14   0.00000  0.00000      7.15     1.02    0.0086   0.0018
 15   0.00000  0.00000     -5.86     0.05    0.0728   0.0020
 16   0.00000  0.00000     -4.05     2.93    0.0022   0.0017


The magnetic center is at
X =   357.8 +-     0.8 microns
Y =    40.1 +-     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: 08-28-1995
Time: 13:05:05
Magnet Name: 098
Run Number: 11


                          FIELD HARMONICS

Magnet Current, Imag =  50.58163  +-  2.06152E-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.83     0.20    0.7818   0.0030
  2   0.00016  0.00000    -48.28     0.05    1.5930   0.0012
  3   0.01028  0.00000     30.08     0.00  100.0000   0.0208
  4   0.00001  0.00000     -5.22     0.20    0.1247   0.0070
  5   0.00002  0.00000    -17.06     0.07    0.1561   0.0011
  6   0.00000  0.00000     12.24     5.86    0.0130   0.0027
  7   0.00000  0.00000    -13.37     0.18    0.0403   0.0021
  8   0.00000  0.00000     10.91     0.77    0.0220   0.0004
  9   0.00003  0.00000     -9.95     0.05    0.3317   0.0022
 10   0.00000  0.00000    -10.91     2.77    0.0029   0.0017
 11   0.00000  0.00000     -0.26     4.72    0.0022   0.0007
 12   0.00000  0.00000     -7.77     3.00    0.0021   0.0007
 13   0.00000  0.00000     -0.89     3.42    0.0036   0.0014
 14   0.00000  0.00000      6.33     0.72    0.0075   0.0027
 15   0.00001  0.00000     -5.91     0.06    0.0725   0.0010
 16   0.00000  0.00000     -1.33     6.21    0.0027   0.0011


The magnetic center is at
X =   355.2 +-     0.3 microns
Y =    40.9 +-     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: 08-28-1995
Time: 13:08:34
Magnet Name: 098
Run Number: 11


                          FIELD HARMONICS

Magnet Current, Imag =  100.5781  +-  7.406016E-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.00011  0.00000    -97.98     0.36    0.5460   0.0020
  2   0.00032  0.00000    -47.93     0.03    1.5914   0.0014
  3   0.02040  0.00000     30.07     0.00  100.0000   0.0315
  4   0.00003  0.00000     -5.33     0.83    0.1229   0.0021
  5   0.00003  0.00000    -17.04     0.14    0.1619   0.0078
  6   0.00000  0.00000     19.62     5.29    0.0112   0.0050
  7   0.00001  0.00000    -12.94     0.49    0.0400   0.0024
  8   0.00000  0.00000     10.35     0.37    0.0197   0.0022
  9   0.00007  0.00000     -9.93     0.06    0.3326   0.0013
 10   0.00000  0.00000    -10.58     1.92    0.0037   0.0015
 11   0.00000  0.00000      0.81     2.25    0.0040   0.0018
 12   0.00000  0.00000     -0.42     0.64    0.0089   0.0008
 13   0.00000  0.00000     -2.87     0.62    0.0065   0.0015
 14   0.00000  0.00000      5.66     0.94    0.0097   0.0017
 15   0.00002  0.00000     -5.86     0.01    0.0743   0.0004
 16   0.00000  0.00000     -0.46     1.21    0.0029   0.0007


The magnetic center is at
X =   355.3 +-     0.3 microns
Y =    36.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: 08-28-1995
Time: 13:15:17
Magnet Name: 098
Run Number: 11


                          FIELD HARMONICS

Magnet Current, Imag =  150.5637  +-  3.687856E-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.54     0.23    0.4732   0.0005
  2   0.00048  0.00000    -47.75     0.02    1.5896   0.0014
  3   0.03049  0.00000     30.08     0.00  100.0000   0.0206
  4   0.00004  0.00000     -5.39     0.38    0.1280   0.0019
  5   0.00005  0.00000    -17.09     0.13    0.1677   0.0014
  6   0.00000  0.00000      7.05     0.90    0.0124   0.0027
  7   0.00001  0.00000    -12.82     0.23    0.0370   0.0011
  8   0.00001  0.00000     11.79     0.45    0.0210   0.0010
  9   0.00010  0.00000     -9.96     0.03    0.3342   0.0007
 10   0.00000  0.00000    -11.42     2.79    0.0036   0.0008
 11   0.00000  0.00000      4.71     1.29    0.0024   0.0010
 12   0.00000  0.00000     -6.62    11.44    0.0047   0.0007
 13   0.00000  0.00000     -1.32     0.77    0.0054   0.0008
 14   0.00000  0.00000      6.03     1.45    0.0087   0.0012
 15   0.00002  0.00000     -5.92     0.03    0.0713   0.0015
 16   0.00000  0.00000     -1.04     1.28    0.0030   0.0021


The magnetic center is at
X =   355.1 +-     0.3 microns
Y =    34.1 +-     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          

Date: 08-28-1995
Time: 13:21:59
Magnet Name: 098
Run Number: 11


                          FIELD HARMONICS

Magnet Current, Imag =  200.5629  +-  5.926252E-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.33     0.16    0.4135   0.0007
  2   0.00064  0.00000    -47.63     0.06    1.5793   0.0026
  3   0.04047  0.00000     30.08     0.00  100.0000   0.0142
  4   0.00005  0.00000     -5.86     0.32    0.1269   0.0023
  5   0.00007  0.00000    -17.01     0.12    0.1638   0.0008
  6   0.00000  0.00000      2.74     4.72    0.0093   0.0028
  7   0.00001  0.00000    -12.72     0.19    0.0369   0.0012
  8   0.00001  0.00000     11.16     0.58    0.0206   0.0009
  9   0.00014  0.00000     -9.96     0.03    0.3362   0.0013
 10   0.00000  0.00000     -5.01    11.36    0.0035   0.0013
 11   0.00000  0.00000     -0.50     6.70    0.0022   0.0006
 12   0.00000  0.00000     -0.18     8.59    0.0028   0.0015
 13   0.00000  0.00000      0.09     1.66    0.0049   0.0011
 14   0.00000  0.00000      7.04     0.70    0.0066   0.0010
 15   0.00003  0.00000     -5.89     0.05    0.0717   0.0008
 16   0.00000  0.00000      9.93     1.64    0.0021   0.0009


The magnetic center is at
X =   352.9 +-     0.6 microns
Y =    32.5 +-     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          
           ^          
           |          
           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)
