SLAC Magnetic Measurements
Date: 07-07-1995
Time: 09:09:15

Magnet Name (Serial #): 133
Bar Code Number: 177
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, W
Measurement Coil: # 1
Operator: pdr
Run Number: 1
Comment: Standard Measurement

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-07-1995
Time: 09:39:36
Magnet Name: 133
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  25.60386  +-  2.728994E-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   -106.37     0.42    1.1283   0.0042
  2   0.00008  0.00000    -59.64     0.16    1.4613   0.0022
  3   0.00526  0.00000     30.13     0.00  100.0000   0.0299
  4   0.00001  0.00000     -4.58     0.85    0.1098   0.0131
  5   0.00001  0.00000    -17.19     0.64    0.1164   0.0151
  6   0.00000  0.00000     -2.46    15.24    0.0144   0.0026
  7   0.00000  0.00000    -14.22     2.08    0.0336   0.0079
  8   0.00000  0.00000      7.68     3.17    0.0159   0.0063
  9   0.00002  0.00000     -9.85     0.10    0.3318   0.0100
 10   0.00000  0.00000     -2.97    12.81    0.0094   0.0051
 11   0.00000  0.00000      4.18     6.37    0.0104   0.0026
 12   0.00000  0.00000     -0.14     8.53    0.0123   0.0032
 13   0.00000  0.00000      4.01     4.71    0.0117   0.0048
 14   0.00000  0.00000      2.17     7.56    0.0092   0.0040
 15   0.00000  0.00000     -5.74     0.38    0.0689   0.0052
 16   0.00000  0.00000      1.35     5.23    0.0094   0.0037


The magnetic center is at
X =   286.1 +-     1.0 microns
Y =   160.3 +-     1.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: 07-07-1995
Time: 09:43:08
Magnet Name: 133
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  50.58838  +-  5.83346E-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   -103.89     0.51    0.7419   0.0018
  2   0.00015  0.00000    -59.31     0.09    1.4683   0.0011
  3   0.01028  0.00000     30.13     0.00  100.0000   0.0117
  4   0.00001  0.00000     -5.40     0.50    0.1077   0.0034
  5   0.00001  0.00000    -17.29     0.77    0.1194   0.0040
  6   0.00000  0.00000      5.25     5.04    0.0090   0.0020
  7   0.00000  0.00000    -13.04     1.03    0.0337   0.0035
  8   0.00000  0.00000      6.28     1.20    0.0201   0.0037
  9   0.00003  0.00000     -9.80     0.08    0.3307   0.0020
 10   0.00000  0.00000      3.60     8.11    0.0037   0.0012
 11   0.00000  0.00000     -1.37     3.45    0.0067   0.0037
 12   0.00000  0.00000     -2.73     3.31    0.0077   0.0023
 13   0.00000  0.00000     -0.84     6.86    0.0069   0.0032
 14   0.00000  0.00000      4.22     3.98    0.0073   0.0031
 15   0.00001  0.00000     -5.65     0.28    0.0752   0.0050
 16   0.00000  0.00000      2.46     7.06    0.0075   0.0029


The magnetic center is at
X =   289.3 +-     0.5 microns
Y =   157.8 +-     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          
           ^          
           |          
           N          
        S     S       
                --> x 
        N     N       
           S          

Date: 07-07-1995
Time: 09:46:44
Magnet Name: 133
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  100.5779  +-  2.30355E-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   -101.44     0.34    0.5467   0.0021
  2   0.00030  0.00000    -59.17     0.03    1.4741   0.0010
  3   0.02041  0.00001     30.13     0.00  100.0000   0.0399
  4   0.00002  0.00000     -6.20     0.23    0.1181   0.0023
  5   0.00003  0.00000    -16.99     0.29    0.1306   0.0024
  6   0.00000  0.00000     22.82     6.24    0.0042   0.0025
  7   0.00001  0.00000    -12.74     0.88    0.0335   0.0042
  8   0.00000  0.00000      6.52     0.82    0.0156   0.0039
  9   0.00007  0.00000     -9.88     0.09    0.3304   0.0034
 10   0.00000  0.00000     -6.75    11.88    0.0053   0.0012
 11   0.00000  0.00000     -7.38     8.90    0.0054   0.0031
 12   0.00000  0.00000     -1.85     1.34    0.0094   0.0024
 13   0.00000  0.00000     -1.12     7.16    0.0063   0.0022
 14   0.00000  0.00000      2.40     1.64    0.0107   0.0017
 15   0.00002  0.00000     -5.73     0.10    0.0737   0.0017
 16   0.00000  0.00000      2.22     3.64    0.0055   0.0015


The magnetic center is at
X =   291.2 +-     0.3 microns
Y =   157.0 +-     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: 07-07-1995
Time: 09:53:41
Magnet Name: 133
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  150.5629  +-  3.127363E-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.00015  0.00000   -100.40     0.41    0.4927   0.0013
  2   0.00045  0.00000    -59.15     0.05    1.4731   0.0011
  3   0.03050  0.00001     30.13     0.00  100.0000   0.0563
  4   0.00004  0.00000     -5.73     0.37    0.1210   0.0020
  5   0.00004  0.00000    -16.97     0.15    0.1308   0.0031
  6   0.00000  0.00000      5.21     7.12    0.0060   0.0010
  7   0.00001  0.00000    -14.02     0.56    0.0290   0.0022
  8   0.00000  0.00000      6.31     2.42    0.0119   0.0048
  9   0.00010  0.00000     -9.89     0.03    0.3279   0.0032
 10   0.00000  0.00000     -9.05     5.28    0.0062   0.0047
 11   0.00000  0.00000      2.18     9.60    0.0031   0.0009
 12   0.00000  0.00000      2.70    10.26    0.0067   0.0035
 13   0.00000  0.00000      1.22    10.56    0.0035   0.0010
 14   0.00000  0.00000      3.75     1.61    0.0092   0.0011
 15   0.00002  0.00000     -5.74     0.09    0.0676   0.0023
 16   0.00000  0.00000     -1.67     6.49    0.0051   0.0020


The magnetic center is at
X =   291.0 +-     0.3 microns
Y =   156.7 +-     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: 07-07-1995
Time: 10:00:37
Magnet Name: 133
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  200.5567  +-  2.575087E-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    -99.83     0.26    0.4502   0.0031
  2   0.00060  0.00000    -59.21     0.08    1.4753   0.0025
  3   0.04049  0.00001     30.13     0.00  100.0000   0.0264
  4   0.00005  0.00000     -5.80     0.60    0.1253   0.0033
  5   0.00005  0.00000    -16.92     0.36    0.1309   0.0018
  6   0.00000  0.00000      7.79     2.65    0.0081   0.0009
  7   0.00001  0.00000    -13.83     0.95    0.0301   0.0016
  8   0.00001  0.00000      6.22     0.89    0.0176   0.0061
  9   0.00013  0.00000     -9.90     0.08    0.3322   0.0011
 10   0.00000  0.00000    -10.81     7.45    0.0078   0.0030
 11   0.00000  0.00000     -0.28     9.77    0.0052   0.0018
 12   0.00000  0.00000     -6.76     6.24    0.0051   0.0027
 13   0.00000  0.00000     -8.42     5.43    0.0088   0.0024
 14   0.00000  0.00000      5.80     3.91    0.0053   0.0016
 15   0.00003  0.00000     -5.75     0.10    0.0714   0.0020
 16   0.00000  0.00000     -3.92     6.18    0.0035   0.0017


The magnetic center is at
X =   291.2 +-     0.7 microns
Y =   157.5 +-     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          
           ^          
           |          
           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)
