SLAC Magnetic Measurements
Date: 07-19-1995
Time: 10:48:44

Magnet Name (Serial #): 065
Bar Code Number: 121
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, W
Measurement Coil: # 1
Operator: bmd
Run Number: 1
Comment: 

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: 07-19-1995
Time: 11:19:39
Magnet Name: 065
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  25.59486  +-  8.105205E-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.00004  0.00000   -114.99     0.22    0.7702   0.0006
  2   0.00008  0.00000     31.69     0.04    1.5334   0.0031
  3   0.00525  0.00000    -29.89     0.00  100.0000   0.0247
  4   0.00001  0.00000     38.12     0.51    0.1010   0.0034
  5   0.00001  0.00000     18.89     0.19    0.1231   0.0030
  6   0.00000  0.00000    -27.51     0.59    0.0097   0.0018
  7   0.00000  0.00000     14.07     0.47    0.0359   0.0016
  8   0.00000  0.00000    -15.03     1.01    0.0163   0.0033
  9   0.00002  0.00000     10.23     0.04    0.3335   0.0019
 10   0.00000  0.00000      8.26     7.53    0.0103   0.0030
 11   0.00000  0.00000     12.94     1.34    0.0042   0.0007
 12   0.00000  0.00000     -1.91    11.12    0.0079   0.0017
 13   0.00000  0.00000      5.82     2.70    0.0026   0.0012
 14   0.00000  0.00000     -5.14     9.81    0.0082   0.0041
 15   0.00000  0.00000      6.09     0.03    0.0718   0.0018
 16   0.00000  0.00000      4.27     5.73    0.0102   0.0043


The magnetic center is at
X =   307.6 +-     0.7 microns
Y =   154.2 +-     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: 07-19-1995
Time: 11:23:04
Magnet Name: 065
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  50.58042  +-  3.191776E-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   -136.62     0.17    0.2489   0.0004
  2   0.00016  0.00000     31.27     0.01    1.5755   0.0028
  3   0.01026  0.00000    -29.89     0.00  100.0000   0.0585
  4   0.00001  0.00000     37.86     0.45    0.1187   0.0026
  5   0.00001  0.00000     18.85     0.07    0.1358   0.0006
  6   0.00000  0.00000    -27.56     1.47    0.0103   0.0009
  7   0.00000  0.00000     13.76     0.17    0.0390   0.0012
  8   0.00000  0.00000    -14.95     0.28    0.0138   0.0020
  9   0.00003  0.00000     10.19     0.02    0.3326   0.0016
 10   0.00000  0.00000      5.07     2.33    0.0059   0.0042
 11   0.00000  0.00000      6.29    12.88    0.0027   0.0008
 12   0.00000  0.00000      5.44     9.35    0.0065   0.0029
 13   0.00000  0.00000      6.42     0.93    0.0044   0.0007
 14   0.00000  0.00000     -6.06     9.83    0.0062   0.0015
 15   0.00001  0.00000      6.10     0.03    0.0730   0.0006
 16   0.00000  0.00000      4.90     3.49    0.0086   0.0016


The magnetic center is at
X =   313.7 +-     0.6 microns
Y =   163.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: 07-19-1995
Time: 11:26:33
Magnet Name: 065
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  100.5697  +-  7.28085E-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    135.62     0.18    0.1517   0.0005
  2   0.00032  0.00000     31.07     0.04    1.5872   0.0012
  3   0.02037  0.00001    -29.89     0.00  100.0000   0.0484
  4   0.00003  0.00000     38.70     0.18    0.1285   0.0011
  5   0.00003  0.00000     18.98     0.09    0.1404   0.0024
  6   0.00000  0.00000    -27.95     0.45    0.0209   0.0010
  7   0.00001  0.00000     14.10     0.19    0.0408   0.0013
  8   0.00000  0.00000    -14.68     0.55    0.0163   0.0005
  9   0.00007  0.00000     10.23     0.02    0.3348   0.0008
 10   0.00000  0.00000     -0.48    13.56    0.0078   0.0018
 11   0.00000  0.00000      7.07    13.39    0.0030   0.0011
 12   0.00000  0.00000      0.23     3.29    0.0059   0.0031
 13   0.00000  0.00000      7.05     1.50    0.0042   0.0011
 14   0.00000  0.00000     -8.09     0.46    0.0053   0.0013
 15   0.00001  0.00000      6.15     0.08    0.0734   0.0010
 16   0.00000  0.00000      0.16     5.26    0.0059   0.0015


The magnetic center is at
X =   314.9 +-     0.3 microns
Y =   166.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: 07-19-1995
Time: 11:33:16
Magnet Name: 065
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  150.5651  +-  7.417141E-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    110.68     0.48    0.2270   0.0023
  2   0.00048  0.00000     31.14     0.04    1.5855   0.0017
  3   0.03044  0.00001    -29.89     0.00  100.0000   0.0520
  4   0.00004  0.00000     38.50     0.08    0.1267   0.0026
  5   0.00004  0.00000     18.78     0.15    0.1455   0.0019
  6   0.00000  0.00000    -25.11     0.81    0.0101   0.0017
  7   0.00001  0.00000     13.92     0.26    0.0397   0.0014
  8   0.00000  0.00000    -13.88     0.27    0.0151   0.0013
  9   0.00010  0.00000     10.21     0.01    0.3326   0.0008
 10   0.00000  0.00000      0.24    10.79    0.0041   0.0017
 11   0.00000  0.00000      7.84    10.08    0.0014   0.0008
 12   0.00000  0.00000     -6.64    11.97    0.0086   0.0012
 13   0.00000  0.00000      7.20     1.30    0.0028   0.0011
 14   0.00000  0.00000     -9.67     1.55    0.0064   0.0013
 15   0.00002  0.00000      6.17     0.06    0.0696   0.0001
 16   0.00000  0.00000      4.24     4.34    0.0035   0.0013


The magnetic center is at
X =   315.0 +-     0.4 microns
Y =   165.5 +-     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: 07-19-1995
Time: 11:39:59
Magnet Name: 065
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  200.5659  +-  3.209627E-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    103.90     0.16    0.2647   0.0017
  2   0.00064  0.00000     31.47     0.03    1.5786   0.0020
  3   0.04040  0.00001    -29.89     0.00  100.0000   0.0391
  4   0.00005  0.00000     37.68     0.26    0.1208   0.0025
  5   0.00006  0.00000     18.87     0.11    0.1448   0.0015
  6   0.00000  0.00000    -26.22     1.87    0.0113   0.0015
  7   0.00002  0.00000     14.00     0.44    0.0403   0.0016
  8   0.00001  0.00000    -14.14     0.72    0.0149   0.0017
  9   0.00014  0.00000     10.22     0.03    0.3346   0.0008
 10   0.00000  0.00000      3.30    12.40    0.0054   0.0007
 11   0.00000  0.00000      4.79    11.87    0.0025   0.0006
 12   0.00000  0.00000     -6.66    10.67    0.0052   0.0013
 13   0.00000  0.00000      8.47     3.40    0.0030   0.0013
 14   0.00000  0.00000    -10.21     1.60    0.0079   0.0004
 15   0.00003  0.00000      6.12     0.05    0.0718   0.0006
 16   0.00000  0.00000      2.22     8.19    0.0051   0.0024


The magnetic center is at
X =   315.5 +-     0.4 microns
Y =   161.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          
           ^          
           |          
           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)
