SLAC Magnetic Measurements
Date: 09-01-1995
Time: 06:15:39

Magnet Name (Serial #): 090
Bar Code Number: 125
Project: PEP II High Energy Ring Sextupoles
Test Stand: IR8, S1, N
Measurement Coil: # 1
Operator: dan
Run Number: 2
Comment: power supply shut off

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: 09-01-1995
Time: 06:46:03
Magnet Name: 090
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  25.68637  +-  5.656551E-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.00006  0.00000   -105.81     0.10    1.1240   0.0009
  2   0.00004  0.00000      6.62     0.10    0.7684   0.0028
  3   0.00527  0.00000    -29.93     0.00  100.0000   0.0649
  4   0.00000  0.00000     43.16     0.45    0.0728   0.0025
  5   0.00001  0.00000     18.59     0.15    0.1445   0.0009
  6   0.00000  0.00000    -27.47     0.99    0.0081   0.0024
  7   0.00000  0.00000     14.03     0.23    0.0375   0.0014
  8   0.00000  0.00000     -9.80    18.14    0.0090   0.0028
  9   0.00002  0.00000     10.10     0.03    0.3303   0.0028
 10   0.00000  0.00000      2.60     8.34    0.0034   0.0031
 11   0.00000  0.00000      8.60     4.67    0.0080   0.0050
 12   0.00000  0.00000     -8.00     6.17    0.0050   0.0014
 13   0.00000  0.00000      2.75     7.24    0.0043   0.0032
 14   0.00000  0.00000      1.48     7.11    0.0049   0.0009
 15   0.00000  0.00000      6.25     0.17    0.0713   0.0057
 16   0.00000  0.00000      0.58     2.88    0.0032   0.0021


The magnetic center is at
X =    39.5 +-     0.6 microns
Y =   167.9 +-     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: 09-01-1995
Time: 06:49:28
Magnet Name: 090
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  50.66913  +-  2.143139E-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   -113.14     0.10    0.4702   0.0012
  2   0.00008  0.00000      7.36     0.09    0.8002   0.0010
  3   0.01028  0.00001    -29.93     0.00  100.0000   0.1405
  4   0.00001  0.00000     41.50     0.46    0.0801   0.0017
  5   0.00002  0.00000     18.50     0.13    0.1653   0.0014
  6   0.00000  0.00000    -11.38    22.95    0.0052   0.0018
  7   0.00000  0.00000     13.75     0.21    0.0410   0.0015
  8   0.00000  0.00000    -18.88     1.66    0.0101   0.0017
  9   0.00003  0.00000     10.11     0.03    0.3323   0.0022
 10   0.00000  0.00000     -1.88     4.42    0.0028   0.0018
 11   0.00000  0.00000      8.21     6.80    0.0026   0.0009
 12   0.00000  0.00000     -1.90     4.94    0.0020   0.0009
 13   0.00000  0.00000      5.36     3.85    0.0025   0.0006
 14   0.00000  0.00000     10.84     0.97    0.0040   0.0008
 15   0.00001  0.00000      6.08     0.06    0.0712   0.0016
 16   0.00000  0.00000      3.39     8.48    0.0024   0.0012


The magnetic center is at
X =    45.6 +-     0.6 microns
Y =   173.7 +-     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: 09-01-1995
Time: 06:52:57
Magnet Name: 090
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  100.6543  +-  9.323951E-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.00003  0.00000   -141.98     0.50    0.1497   0.0009
  2   0.00016  0.00000      7.91     0.02    0.8062   0.0026
  3   0.02038  0.00001    -29.93     0.00  100.0000   0.0429
  4   0.00002  0.00000     40.64     0.20    0.0886   0.0019
  5   0.00004  0.00000     18.46     0.08    0.1717   0.0013
  6   0.00000  0.00000    -29.17     0.27    0.0147   0.0009
  7   0.00001  0.00000     13.85     0.06    0.0403   0.0015
  8   0.00000  0.00000    -19.48     1.05    0.0098   0.0004
  9   0.00007  0.00000     10.10     0.03    0.3307   0.0025
 10   0.00000  0.00000     12.68     1.48    0.0036   0.0002
 11   0.00000  0.00000      3.57     3.72    0.0009   0.0006
 12   0.00000  0.00000      0.05     0.49    0.0084   0.0009
 13   0.00000  0.00000      4.26     2.75    0.0029   0.0010
 14   0.00000  0.00000     -5.94     7.75    0.0028   0.0010
 15   0.00001  0.00000      6.05     0.06    0.0728   0.0017
 16   0.00000  0.00000     -0.86     1.40    0.0029   0.0010


The magnetic center is at
X =    49.3 +-     0.2 microns
Y =   174.1 +-     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: 09-01-1995
Time: 06:59:41
Magnet Name: 090
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  150.6405  +-  2.688471E-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    155.89     0.82    0.1039   0.0017
  2   0.00025  0.00000      7.74     0.04    0.8104   0.0025
  3   0.03046  0.00002    -29.93     0.00  100.0000   0.0793
  4   0.00003  0.00000     40.98     0.11    0.0885   0.0021
  5   0.00005  0.00000     18.43     0.02    0.1758   0.0008
  6   0.00000  0.00000    -26.96     1.04    0.0058   0.0019
  7   0.00001  0.00000     13.62     0.17    0.0398   0.0015
  8   0.00000  0.00000    -18.28     1.87    0.0080   0.0013
  9   0.00010  0.00000     10.06     0.01    0.3312   0.0009
 10   0.00000  0.00000     -0.82     5.90    0.0016   0.0004
 11   0.00000  0.00000      1.37     4.48    0.0014   0.0008
 12   0.00000  0.00000     -0.35    14.14    0.0056   0.0007
 13   0.00000  0.00000     -2.01     6.17    0.0027   0.0016
 14   0.00000  0.00000     -5.75     8.95    0.0032   0.0012
 15   0.00002  0.00000      6.08     0.08    0.0684   0.0013
 16   0.00000  0.00000     -0.24     1.72    0.0027   0.0009


The magnetic center is at
X =    48.6 +-     0.3 microns
Y =   175.3 +-     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: 09-01-1995
Time: 07:06:25
Magnet Name: 090
Run Number: 2


                          FIELD HARMONICS

Magnet Current, Imag =  200.6321  +-  6.142871E-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    133.60     0.41    0.1231   0.0015
  2   0.00033  0.00000      7.58     0.06    0.8227   0.0016
  3   0.04044  0.00002    -29.93     0.00  100.0000   0.0591
  4   0.00004  0.00000     41.15     0.15    0.0969   0.0014
  5   0.00007  0.00000     18.34     0.10    0.1756   0.0004
  6   0.00000  0.00000    -13.05    24.11    0.0069   0.0006
  7   0.00002  0.00000     13.70     0.05    0.0411   0.0013
  8   0.00000  0.00000     -9.13    17.46    0.0091   0.0006
  9   0.00014  0.00000     10.07     0.05    0.3348   0.0018
 10   0.00000  0.00000      1.94    13.08    0.0034   0.0009
 11   0.00000  0.00000     -1.71     6.85    0.0019   0.0004
 12   0.00000  0.00000     -1.81     7.73    0.0010   0.0005
 13   0.00000  0.00000      3.51     2.54    0.0027   0.0024
 14   0.00000  0.00000     -3.88     8.03    0.0045   0.0010
 15   0.00003  0.00000      6.02     0.15    0.0704   0.0013
 16   0.00000  0.00000     -7.52     1.70    0.0020   0.0001


The magnetic center is at
X =    48.3 +-     0.4 microns
Y =   178.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          


           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)
