SLAC Magnetic Measurements
Date: 08-08-1995
Time: 08:28:11

Magnet Name (Serial #): 024
Bar Code Number: 130
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, N
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: 08-08-1995
Time: 08:58:35
Magnet Name: 024
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  25.60311  +-  1.089405E-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.00005  0.00000   -106.76     0.50    0.9109   0.0020
  2   0.00004  0.00000     -0.02     0.18    0.7752   0.0024
  3   0.00525  0.00000    -29.93     0.00  100.0000   0.0256
  4   0.00001  0.00000     42.46     1.38    0.1072   0.0095
  5   0.00001  0.00000     18.81     0.17    0.1225   0.0014
  6   0.00000  0.00000      2.11    25.07    0.0188   0.0050
  7   0.00000  0.00000     13.15     0.38    0.0378   0.0038
  8   0.00000  0.00000     12.06    16.05    0.0127   0.0021
  9   0.00002  0.00000     10.10     0.11    0.3347   0.0021
 10   0.00000  0.00000      5.03     2.63    0.0050   0.0017
 11   0.00000  0.00000     10.75     4.34    0.0056   0.0028
 12   0.00000  0.00000      4.46     6.85    0.0034   0.0008
 13   0.00000  0.00000     -3.42     5.32    0.0047   0.0017
 14   0.00000  0.00000      2.35     8.55    0.0052   0.0014
 15   0.00000  0.00000      6.07     0.05    0.0740   0.0020
 16   0.00000  0.00000     -0.88     5.65    0.0061   0.0003


The magnetic center is at
X =    -0.1 +-     1.1 microns
Y =   174.0 +-     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: 08-08-1995
Time: 09:01:59
Magnet Name: 024
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  50.58527  +-  1.294903E-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.00003  0.00000   -119.41     0.11    0.3040   0.0011
  2   0.00008  0.00000      1.23     0.04    0.7679   0.0020
  3   0.01027  0.00000    -29.93     0.00  100.0000   0.0309
  4   0.00001  0.00000     40.21     0.26    0.1047   0.0070
  5   0.00001  0.00000     18.93     0.22    0.1360   0.0004
  6   0.00000  0.00000     28.13     0.85    0.0133   0.0049
  7   0.00000  0.00000     13.15     0.27    0.0410   0.0017
  8   0.00000  0.00000    -10.25    18.23    0.0112   0.0029
  9   0.00003  0.00000     10.09     0.04    0.3361   0.0032
 10   0.00000  0.00000     -2.68    11.02    0.0032   0.0008
 11   0.00000  0.00000      4.43    12.13    0.0036   0.0015
 12   0.00000  0.00000      8.37     5.10    0.0034   0.0008
 13   0.00000  0.00000      1.44     8.33    0.0033   0.0022
 14   0.00000  0.00000     -1.50     9.25    0.0034   0.0020
 15   0.00001  0.00000      6.18     0.04    0.0728   0.0007
 16   0.00000  0.00000      3.14     7.22    0.0039   0.0023


The magnetic center is at
X =     7.4 +-     0.3 microns
Y =   172.2 +-     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: 08-08-1995
Time: 09:05:28
Magnet Name: 024
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  100.5786  +-  2.326424E-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    150.33     1.24    0.1076   0.0024
  2   0.00016  0.00000      1.71     0.02    0.7758   0.0025
  3   0.02040  0.00001    -29.93     0.00  100.0000   0.0899
  4   0.00002  0.00000     40.11     0.20    0.1056   0.0019
  5   0.00003  0.00000     18.60     0.09    0.1429   0.0015
  6   0.00000  0.00000      1.15    28.42    0.0208   0.0020
  7   0.00001  0.00000     13.12     0.14    0.0395   0.0005
  8   0.00000  0.00000     -9.88    18.64    0.0104   0.0009
  9   0.00007  0.00000     10.11     0.07    0.3338   0.0028
 10   0.00000  0.00000     11.56     1.77    0.0027   0.0008
 11   0.00000  0.00000      2.32    10.29    0.0031   0.0005
 12   0.00000  0.00000     -0.36     0.24    0.0069   0.0023
 13   0.00000  0.00000      7.71     4.53    0.0043   0.0021
 14   0.00000  0.00000      1.70     5.45    0.0016   0.0007
 15   0.00002  0.00000      6.14     0.05    0.0736   0.0013
 16   0.00000  0.00000     -1.12     3.59    0.0041   0.0018


The magnetic center is at
X =    10.4 +-     0.1 microns
Y =   173.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          
           ^          
           |          
           S          
        N     N       
                --> x 
        S     S       
           N          

Date: 08-08-1995
Time: 09:12:10
Magnet Name: 024
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  150.5526  +-  7.71145E-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    114.75     0.42    0.1816   0.0004
  2   0.00024  0.00000      1.77     0.05    0.7743   0.0016
  3   0.03048  0.00001    -29.93     0.00  100.0000   0.0379
  4   0.00003  0.00000     39.72     0.44    0.1087   0.0030
  5   0.00004  0.00000     18.68     0.14    0.1457   0.0004
  6   0.00000  0.00000     -0.32    28.55    0.0080   0.0025
  7   0.00001  0.00000     13.15     0.32    0.0413   0.0011
  8   0.00000  0.00000     -9.81    18.33    0.0091   0.0008
  9   0.00010  0.00000     10.09     0.03    0.3347   0.0007
 10   0.00000  0.00000      7.94     2.42    0.0040   0.0011
 11   0.00000  0.00000     11.66     2.28    0.0015   0.0009
 12   0.00000  0.00000     -0.13    14.61    0.0047   0.0005
 13   0.00000  0.00000      1.13     8.41    0.0020   0.0012
 14   0.00000  0.00000     -2.68     9.21    0.0023   0.0013
 15   0.00002  0.00000      6.09     0.04    0.0717   0.0006
 16   0.00000  0.00000      1.95     5.31    0.0023   0.0018


The magnetic center is at
X =    10.7 +-     0.3 microns
Y =   173.4 +-     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: 08-08-1995
Time: 09:18:53
Magnet Name: 024
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  200.5632  +-  3.429283E-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    108.91     0.45    0.2062   0.0007
  2   0.00031  0.00000      1.92     0.11    0.7748   0.0029
  3   0.04048  0.00001    -29.93     0.00  100.0000   0.0227
  4   0.00005  0.00000     39.83     0.40    0.1155   0.0028
  5   0.00006  0.00000     18.68     0.12    0.1380   0.0024
  6   0.00001  0.00000      0.35    28.49    0.0129   0.0047
  7   0.00002  0.00000     13.54     0.59    0.0425   0.0033
  8   0.00000  0.00000    -21.03     0.44    0.0091   0.0004
  9   0.00014  0.00000     10.10     0.03    0.3345   0.0025
 10   0.00000  0.00000      5.01     4.74    0.0032   0.0016
 11   0.00000  0.00000      5.17    12.48    0.0026   0.0012
 12   0.00000  0.00000      5.90     7.42    0.0035   0.0016
 13   0.00000  0.00000     -5.29    10.51    0.0048   0.0015
 14   0.00000  0.00000     -1.41     9.24    0.0032   0.0010
 15   0.00003  0.00000      6.12     0.06    0.0720   0.0012
 16   0.00000  0.00000      1.79     8.11    0.0028   0.0008


The magnetic center is at
X =    11.7 +-     0.7 microns
Y =   173.5 +-     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          
           ^          
           |          
           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)
