SLAC Magnetic Measurements
Date: 07-18-1995
Time: 08:58:49

Magnet Name (Serial #): 064
Bar Code Number: 117
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, N
Measurement Coil: # 1
Operator: bmd
Run Number: 2
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-18-1995
Time: 09:29:15
Magnet Name: 064
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  25.61222  +-  2.12383E-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.00004  0.00000   -108.31     0.31    0.8499   0.0040
  2   0.00005  0.00000     -2.73     0.06    0.9908   0.0039
  3   0.00525  0.00000    -29.90     0.00  100.0000   0.0456
  4   0.00001  0.00000     40.25     0.42    0.0964   0.0055
  5   0.00001  0.00000     18.64     0.34    0.1439   0.0025
  6   0.00000  0.00000    -25.64     0.81    0.0079   0.0012
  7   0.00000  0.00000     12.78     0.60    0.0347   0.0020
  8   0.00000  0.00000     21.53     0.63    0.0144   0.0016
  9   0.00002  0.00000     10.12     0.03    0.3305   0.0019
 10   0.00000  0.00000     -6.33     5.86    0.0071   0.0034
 11   0.00000  0.00000      4.02     7.97    0.0030   0.0020
 12   0.00000  0.00000      6.36     7.72    0.0086   0.0049
 13   0.00000  0.00000     -3.87     2.50    0.0015   0.0005
 14   0.00000  0.00000     -4.38     7.45    0.0054   0.0031
 15   0.00000  0.00000      6.13     0.08    0.0720   0.0019
 16   0.00000  0.00000     -4.33     3.58    0.0096   0.0042


The magnetic center is at
X =   -21.2 +-     0.5 microns
Y =   221.3 +-     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: 07-18-1995
Time: 09:32:39
Magnet Name: 064
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  50.59398  +-  2.571179E-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   -113.15     0.44    0.2967   0.0020
  2   0.00010  0.00000     -2.02     0.06    1.0013   0.0019
  3   0.01026  0.00000    -29.89     0.00  100.0000   0.0383
  4   0.00001  0.00000     39.69     0.22    0.1019   0.0032
  5   0.00002  0.00000     18.66     0.25    0.1518   0.0029
  6   0.00000  0.00000    -27.46     1.04    0.0058   0.0012
  7   0.00000  0.00000     12.95     0.34    0.0358   0.0020
  8   0.00000  0.00000     21.63     0.48    0.0111   0.0012
  9   0.00003  0.00000     10.13     0.05    0.3313   0.0010
 10   0.00000  0.00000     -2.00    11.16    0.0054   0.0029
 11   0.00000  0.00000      8.86     8.01    0.0026   0.0012
 12   0.00000  0.00000      5.12     8.74    0.0040   0.0025
 13   0.00000  0.00000     -2.04     5.92    0.0021   0.0015
 14   0.00000  0.00000      7.68     1.86    0.0040   0.0010
 15   0.00001  0.00000      6.10     0.02    0.0725   0.0014
 16   0.00000  0.00000      3.30     5.42    0.0067   0.0031


The magnetic center is at
X =   -15.8 +-     0.5 microns
Y =   224.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          

Date: 07-18-1995
Time: 09:36:09
Magnet Name: 064
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  100.5872  +-  3.253091E-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.00001  0.00000   -176.41     0.46    0.0413   0.0014
  2   0.00020  0.00000     -1.59     0.03    1.0007   0.0017
  3   0.02038  0.00001    -29.90     0.00  100.0000   0.0404
  4   0.00002  0.00000     39.48     0.07    0.1056   0.0008
  5   0.00003  0.00000     18.74     0.13    0.1553   0.0023
  6   0.00000  0.00000    -13.13    24.48    0.0154   0.0025
  7   0.00001  0.00000     13.03     0.41    0.0347   0.0016
  8   0.00000  0.00000     20.58     1.60    0.0108   0.0018
  9   0.00007  0.00000     10.13     0.03    0.3325   0.0011
 10   0.00000  0.00000     10.81     6.31    0.0050   0.0016
 11   0.00000  0.00000     11.92     3.03    0.0025   0.0009
 12   0.00000  0.00000      0.20     1.48    0.0068   0.0017
 13   0.00000  0.00000      3.54     8.37    0.0026   0.0008
 14   0.00000  0.00000     -0.88     9.48    0.0040   0.0019
 15   0.00001  0.00000      6.10     0.02    0.0730   0.0005
 16   0.00000  0.00000     -1.02     3.64    0.0033   0.0026


The magnetic center is at
X =   -12.5 +-     0.2 microns
Y =   224.2 +-     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-18-1995
Time: 09:42:52
Magnet Name: 064
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  150.5671  +-  4.091383E-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    102.63     1.48    0.1022   0.0008
  2   0.00030  0.00000     -1.62     0.04    0.9970   0.0058
  3   0.03045  0.00001    -29.90     0.00  100.0000   0.0319
  4   0.00003  0.00000     38.89     0.23    0.1046   0.0033
  5   0.00005  0.00000     18.66     0.18    0.1568   0.0034
  6   0.00000  0.00000      4.57    21.61    0.0048   0.0035
  7   0.00001  0.00000     13.18     1.04    0.0378   0.0039
  8   0.00000  0.00000      8.04    17.42    0.0127   0.0071
  9   0.00010  0.00000     10.16     0.10    0.3345   0.0064
 10   0.00000  0.00000     -1.28     4.72    0.0032   0.0023
 11   0.00000  0.00000      2.56     9.29    0.0042   0.0012
 12   0.00000  0.00000     -2.54    11.85    0.0093   0.0027
 13   0.00000  0.00000     -0.96     8.42    0.0041   0.0024
 14   0.00000  0.00000     10.51     1.49    0.0078   0.0012
 15   0.00002  0.00000      6.12     0.28    0.0704   0.0009
 16   0.00000  0.00000     -0.63     5.83    0.0046   0.0015


The magnetic center is at
X =   -12.7 +-     0.3 microns
Y =   223.4 +-     1.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-18-1995
Time: 09:49:34
Magnet Name: 064
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  200.5679  +-  2.479377E-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     94.89     1.05    0.1417   0.0012
  2   0.00040  0.00000     -1.45     0.06    0.9830   0.0032
  3   0.04046  0.00002    -29.90     0.00  100.0000   0.0745
  4   0.00004  0.00000     38.40     0.35    0.1032   0.0080
  5   0.00007  0.00000     18.44     0.05    0.1633   0.0033
  6   0.00000  0.00000    -14.53    20.23    0.0121   0.0077
  7   0.00002  0.00000     12.70     0.48    0.0415   0.0052
  8   0.00001  0.00000     -1.50    20.41    0.0207   0.0089
  9   0.00014  0.00000     10.15     0.05    0.3342   0.0035
 10   0.00000  0.00000      1.72    10.62    0.0035   0.0017
 11   0.00000  0.00000     -9.21    11.77    0.0032   0.0010
 12   0.00000  0.00000      1.64    11.85    0.0045   0.0014
 13   0.00000  0.00000     -6.08     8.39    0.0055   0.0031
 14   0.00000  0.00000     -4.99     9.63    0.0052   0.0024
 15   0.00003  0.00000      5.97     0.16    0.0695   0.0055
 16   0.00000  0.00000      3.40     8.27    0.0076   0.0019


The magnetic center is at
X =   -11.1 +-     0.4 microns
Y =   220.3 +-     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          


           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)
