SLAC Magnetic Measurements
Date: 10-12-1995
Time: 06:16:08

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: 17
Comment: ref sext with more points

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    62.0    75.0    87.0   100.0   112.0
   125.0   137.0   150.0   162.0   175.0   187.0   200.0
   150.0   100.0    50.0    25.0


                 Harmonics Measurements

Date: 10-12-1995
Time: 06:46:32
Magnet Name: 098
Run Number: 17


                          FIELD HARMONICS

Magnet Current, Imag =  25.70529  +-  2.557349E-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   -109.04     0.98    1.5014   0.0068
  2   0.00007  0.00000    -51.23     0.28    1.2544   0.0049
  3   0.00529  0.00000     31.36     0.00  100.0000   0.0331
  4   0.00001  0.00000     -0.63     2.80    0.1407   0.0192
  5   0.00001  0.00000    -16.02     0.57    0.1285   0.0058
  6   0.00000  0.00000      7.02     2.46    0.0358   0.0175
  7   0.00000  0.00000    -12.20     1.40    0.0383   0.0048
  8   0.00000  0.00000      9.46     4.86    0.0176   0.0102
  9   0.00002  0.00000     -8.79     0.20    0.3415   0.0017
 10   0.00000  0.00000     -1.81     4.28    0.0159   0.0151
 11   0.00000  0.00000     -4.29     8.82    0.0173   0.0165
 12   0.00000  0.00000      6.26     7.45    0.0050   0.0021
 13   0.00000  0.00000      1.46     9.02    0.0296   0.0318
 14   0.00000  0.00000      1.29     5.07    0.0220   0.0172
 15   0.00000  0.00000     -3.35     2.57    0.0788   0.0263
 16   0.00000  0.00000      0.18     6.44    0.0207   0.0160


The magnetic center is at
X =   274.9 +-     1.2 microns
Y =    60.7 +-     2.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          

Date: 10-12-1995
Time: 06:49:57
Magnet Name: 098
Run Number: 17


                          FIELD HARMONICS

Magnet Current, Imag =  50.68591  +-  4.698681E-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   -105.64     0.15    0.9094   0.0014
  2   0.00014  0.00000    -51.73     0.04    1.3288   0.0064
  3   0.01029  0.00000     31.36     0.00  100.0000   0.0402
  4   0.00001  0.00000     -3.09     1.18    0.1166   0.0065
  5   0.00002  0.00000    -15.77     0.44    0.1528   0.0036
  6   0.00000  0.00000     14.66     6.94    0.0162   0.0090
  7   0.00000  0.00000    -11.51     1.21    0.0365   0.0006
  8   0.00000  0.00000     10.77     1.10    0.0182   0.0037
  9   0.00003  0.00000     -8.62     0.06    0.3379   0.0050
 10   0.00000  0.00000     -0.47     7.29    0.0050   0.0045
 11   0.00000  0.00000      1.96     6.53    0.0036   0.0015
 12   0.00000  0.00000      5.10    10.52    0.0033   0.0030
 13   0.00000  0.00000      4.79     7.62    0.0019   0.0010
 14   0.00000  0.00000      6.20     1.89    0.0055   0.0032
 15   0.00001  0.00000     -4.52     0.18    0.0754   0.0050
 16   0.00000  0.00000     -0.31     4.51    0.0041   0.0028


The magnetic center is at
X =   290.0 +-     1.4 microns
Y =    69.4 +-     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: 10-12-1995
Time: 07:03:06
Magnet Name: 098
Run Number: 17


                          FIELD HARMONICS

Magnet Current, Imag =  100.6746  +-  1.512565E-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.00012  0.00000   -101.94     0.14    0.6085   0.0005
  2   0.00028  0.00000    -51.17     0.06    1.3631   0.0021
  3   0.02041  0.00000     31.36     0.00  100.0000   0.0228
  4   0.00002  0.00000     -3.11     0.98    0.1179   0.0086
  5   0.00003  0.00000    -16.08     0.07    0.1603   0.0011
  6   0.00000  0.00000     15.82     8.00    0.0149   0.0051
  7   0.00001  0.00000    -11.41     0.58    0.0373   0.0019
  8   0.00000  0.00000      9.93     1.28    0.0141   0.0029
  9   0.00007  0.00000     -8.66     0.04    0.3343   0.0022
 10   0.00000  0.00000     -4.84     5.05    0.0026   0.0011
 11   0.00000  0.00000      3.50     5.71    0.0043   0.0014
 12   0.00000  0.00000      1.70     0.59    0.0054   0.0007
 13   0.00000  0.00000      1.65     8.62    0.0037   0.0011
 14   0.00000  0.00000      9.52     1.65    0.0045   0.0014
 15   0.00002  0.00000     -4.64     0.11    0.0738   0.0009
 16   0.00000  0.00000     -5.55     1.22    0.0035   0.0008


The magnetic center is at
X =   298.8 +-     0.5 microns
Y =    65.3 +-     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: 10-12-1995
Time: 07:16:15
Magnet Name: 098
Run Number: 17


                          FIELD HARMONICS

Magnet Current, Imag =  150.6505  +-  5.333323E-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.00016  0.00000    -99.44     0.25    0.5136   0.0009
  2   0.00042  0.00000    -51.10     0.04    1.3701   0.0013
  3   0.03050  0.00000     31.36     0.00  100.0000   0.0218
  4   0.00004  0.00000     -3.04     0.81    0.1195   0.0025
  5   0.00005  0.00000    -16.27     0.08    0.1604   0.0017
  6   0.00000  0.00000     13.56     2.11    0.0143   0.0050
  7   0.00001  0.00000    -11.62     0.27    0.0362   0.0021
  8   0.00000  0.00000     10.04     0.21    0.0163   0.0018
  9   0.00010  0.00000     -8.64     0.04    0.3354   0.0020
 10   0.00000  0.00000      1.42    13.04    0.0017   0.0013
 11   0.00000  0.00000      7.18     3.53    0.0041   0.0005
 12   0.00000  0.00000    -13.31     0.68    0.0070   0.0004
 13   0.00000  0.00000      0.61     5.30    0.0036   0.0009
 14   0.00000  0.00000      6.81     1.07    0.0055   0.0009
 15   0.00002  0.00000     -4.62     0.04    0.0709   0.0015
 16   0.00000  0.00000     -7.12     2.24    0.0027   0.0012


The magnetic center is at
X =   300.5 +-     0.3 microns
Y =    64.9 +-     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: 10-12-1995
Time: 07:29:24
Magnet Name: 098
Run Number: 17


                          FIELD HARMONICS

Magnet Current, Imag =  200.6441  +-  4.99914E-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.00018  0.00000    -98.45     0.18    0.4383   0.0011
  2   0.00055  0.00000    -51.32     0.06    1.3660   0.0016
  3   0.04048  0.00000     31.36     0.00  100.0000   0.0036
  4   0.00005  0.00000     -3.53     0.34    0.1218   0.0032
  5   0.00006  0.00000    -16.10     0.11    0.1580   0.0015
  6   0.00001  0.00000      9.45     3.49    0.0136   0.0012
  7   0.00001  0.00000    -11.47     0.30    0.0342   0.0012
  8   0.00001  0.00000     10.61     0.74    0.0190   0.0005
  9   0.00014  0.00000     -8.63     0.02    0.3378   0.0018
 10   0.00000  0.00000     -2.45     8.17    0.0023   0.0010
 11   0.00000  0.00000     -1.35    11.34    0.0021   0.0008
 12   0.00000  0.00000     -4.26    10.49    0.0024   0.0014
 13   0.00000  0.00000      3.82     6.58    0.0022   0.0009
 14   0.00000  0.00000      4.87     1.28    0.0048   0.0008
 15   0.00003  0.00000     -4.65     0.04    0.0721   0.0016
 16   0.00000  0.00000      0.64     6.61    0.0027   0.0010


The magnetic center is at
X =   299.1 +-     0.4 microns
Y =    67.1 +-     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          


           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)
