SLAC Magnetic Measurements
Date: 08-31-1995
Time: 07:22:58

Magnet Name (Serial #): 151
Bar Code Number: 131
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: 08-31-1995
Time: 07:53:20
Magnet Name: 151
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  25.66043  +-  5.266459E-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.00005  0.00000   -104.23     0.07    0.9358   0.0012
  2   0.00011  0.00000     38.41     0.06    2.0406   0.0009
  3   0.00527  0.00000    -29.94     0.00  100.0000   0.0327
  4   0.00001  0.00000     34.18     1.19    0.1060   0.0078
  5   0.00001  0.00000     19.32     0.27    0.0984   0.0048
  6   0.00000  0.00000     -3.43    19.80    0.0122   0.0084
  7   0.00000  0.00000     12.89     0.72    0.0277   0.0012
  8   0.00000  0.00000    -12.55     1.01    0.0236   0.0032
  9   0.00002  0.00000     10.12     0.06    0.3301   0.0026
 10   0.00000  0.00000      5.20    12.27    0.0021   0.0013
 11   0.00000  0.00000      5.48    10.57    0.0048   0.0017
 12   0.00000  0.00000      4.89     8.41    0.0026   0.0006
 13   0.00000  0.00000     -1.92     5.75    0.0044   0.0018
 14   0.00000  0.00000     -5.94     1.36    0.0096   0.0025
 15   0.00000  0.00000      6.06     0.08    0.0709   0.0009
 16   0.00000  0.00000      3.56     5.74    0.0059   0.0028


The magnetic center is at
X =   445.9 +-     0.3 microns
Y =   104.4 +-     0.9 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-31-1995
Time: 07:56:45
Magnet Name: 151
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  50.64427  +-  1.164522E-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   -117.01     0.15    0.2901   0.0008
  2   0.00021  0.00000     38.04     0.04    2.0118   0.0027
  3   0.01028  0.00000    -29.93     0.00  100.0000   0.0396
  4   0.00001  0.00000     37.25     0.59    0.1096   0.0051
  5   0.00001  0.00000     19.30     0.18    0.1163   0.0009
  6   0.00000  0.00000    -20.12     2.40    0.0109   0.0056
  7   0.00000  0.00000     12.98     0.53    0.0310   0.0017
  8   0.00000  0.00000    -12.70     0.35    0.0234   0.0011
  9   0.00003  0.00000     10.05     0.10    0.3292   0.0020
 10   0.00000  0.00000     -0.14     6.73    0.0035   0.0020
 11   0.00000  0.00000      0.33     4.90    0.0013   0.0005
 12   0.00000  0.00000      2.66     9.76    0.0026   0.0009
 13   0.00000  0.00000      4.75     3.11    0.0033   0.0008
 14   0.00000  0.00000     -6.84     0.31    0.0089   0.0018
 15   0.00001  0.00000      6.14     0.03    0.0719   0.0020
 16   0.00000  0.00000     -0.19     3.54    0.0015   0.0008


The magnetic center is at
X =   438.2 +-     0.6 microns
Y =   108.7 +-     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          

Date: 08-31-1995
Time: 08:00:14
Magnet Name: 151
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  100.633  +-  4.998996E-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    131.60     0.52    0.1168   0.0008
  2   0.00041  0.00000     38.11     0.02    1.9961   0.0031
  3   0.02042  0.00001    -29.94     0.00  100.0000   0.0357
  4   0.00002  0.00000     37.64     0.56    0.1081   0.0044
  5   0.00003  0.00000     19.01     0.05    0.1246   0.0011
  6   0.00000  0.00000    -25.85     1.56    0.0183   0.0054
  7   0.00001  0.00000     12.86     0.50    0.0312   0.0011
  8   0.00001  0.00000    -12.99     0.48    0.0260   0.0006
  9   0.00007  0.00000     10.07     0.04    0.3287   0.0012
 10   0.00000  0.00000     10.23     2.00    0.0024   0.0004
 11   0.00000  0.00000     -0.03    11.36    0.0022   0.0003
 12   0.00000  0.00000      0.43     0.81    0.0066   0.0007
 13   0.00000  0.00000      5.46     2.98    0.0030   0.0020
 14   0.00000  0.00000     -7.26     0.90    0.0090   0.0019
 15   0.00001  0.00000      5.98     0.04    0.0734   0.0011
 16   0.00000  0.00000     -2.21     4.07    0.0026   0.0016


The magnetic center is at
X =   435.0 +-     0.7 microns
Y =   106.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: 08-31-1995
Time: 08:06:58
Magnet Name: 151
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  150.6118  +-  3.618151E-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    104.96     0.96    0.2211   0.0003
  2   0.00060  0.00000     38.49     0.03    1.9800   0.0005
  3   0.03052  0.00001    -29.94     0.00  100.0000   0.0233
  4   0.00003  0.00000     37.29     0.45    0.1005   0.0043
  5   0.00004  0.00000     19.01     0.13    0.1280   0.0013
  6   0.00000  0.00000    -18.79     3.55    0.0103   0.0021
  7   0.00001  0.00000     12.49     0.19    0.0288   0.0005
  8   0.00001  0.00000    -12.97     0.50    0.0249   0.0005
  9   0.00010  0.00000     10.07     0.06    0.3309   0.0018
 10   0.00000  0.00000      3.11    10.64    0.0028   0.0011
 11   0.00000  0.00000      0.87    10.15    0.0035   0.0020
 12   0.00000  0.00000     -0.21    14.34    0.0062   0.0012
 13   0.00000  0.00000      2.37     3.03    0.0030   0.0023
 14   0.00000  0.00000     -7.09     0.28    0.0101   0.0020
 15   0.00002  0.00000      6.07     0.10    0.0683   0.0006
 16   0.00000  0.00000     -1.22     6.52    0.0022   0.0015


The magnetic center is at
X =   432.9 +-     0.2 microns
Y =   100.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: 08-31-1995
Time: 08:13:41
Magnet Name: 151
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  200.6129  +-  2.909702E-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.00011  0.00000    100.01     0.29    0.2625   0.0005
  2   0.00080  0.00000     38.74     0.01    1.9663   0.0011
  3   0.04051  0.00001    -29.94     0.00  100.0000   0.0395
  4   0.00004  0.00000     37.08     0.79    0.0983   0.0040
  5   0.00005  0.00000     19.08     0.13    0.1256   0.0007
  6   0.00000  0.00000    -11.98    21.01    0.0095   0.0049
  7   0.00001  0.00000     13.34     0.53    0.0303   0.0012
  8   0.00001  0.00000    -13.17     0.55    0.0230   0.0010
  9   0.00013  0.00000     10.06     0.07    0.3310   0.0040
 10   0.00000  0.00000      4.81     9.71    0.0033   0.0006
 11   0.00000  0.00000      1.60    12.11    0.0028   0.0009
 12   0.00000  0.00000     -7.91    11.43    0.0027   0.0005
 13   0.00000  0.00000     -1.88    10.02    0.0025   0.0007
 14   0.00000  0.00000     -7.94     0.71    0.0077   0.0013
 15   0.00003  0.00000      6.11     0.05    0.0703   0.0014
 16   0.00000  0.00000      5.12     2.08    0.0029   0.0013


The magnetic center is at
X =   430.8 +-     0.2 microns
Y =    95.6 +-     0.1 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)
