SLAC Magnetic Measurements
Date: 08-01-1995
Time: 06:08:24

Magnet Name (Serial #): 058
Bar Code Number: 083
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: 08-01-1995
Time: 06:38:47
Magnet Name: 058
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  25.62432  +-  5.074096E-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   -109.16     0.07    0.9170   0.0011
  2   0.00011  0.00000     27.49     0.00    2.1092   0.0027
  3   0.00526  0.00000    -29.88     0.00  100.0000   0.0438
  4   0.00001  0.00000     36.47     0.21    0.1302   0.0032
  5   0.00001  0.00000     19.66     0.07    0.1213   0.0010
  6   0.00000  0.00000    -24.85     1.44    0.0161   0.0014
  7   0.00000  0.00000     13.26     1.19    0.0307   0.0024
  8   0.00000  0.00000    -16.58     0.36    0.0271   0.0006
  9   0.00002  0.00000     10.15     0.09    0.3290   0.0042
 10   0.00000  0.00000      1.62     3.93    0.0046   0.0008
 11   0.00000  0.00000     -3.58    12.38    0.0042   0.0015
 12   0.00000  0.00000      2.64     6.39    0.0024   0.0014
 13   0.00000  0.00000     -2.00     9.31    0.0041   0.0018
 14   0.00000  0.00000     -8.95     0.38    0.0087   0.0016
 15   0.00000  0.00000      6.10     0.05    0.0742   0.0009
 16   0.00000  0.00000     -4.01     2.79    0.0029   0.0010


The magnetic center is at
X =   387.6 +-     0.5 microns
Y =   271.6 +-     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-01-1995
Time: 06:42:12
Magnet Name: 058
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  50.60837  +-  2.910457E-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   -122.29     0.21    0.3497   0.0008
  2   0.00022  0.00000     27.24     0.05    2.0985   0.0010
  3   0.01027  0.00000    -29.88     0.00  100.0000   0.0344
  4   0.00001  0.00000     37.31     0.06    0.1230   0.0013
  5   0.00001  0.00000     19.61     0.19    0.1292   0.0015
  6   0.00000  0.00000    -25.64     2.76    0.0151   0.0016
  7   0.00000  0.00000     13.38     0.35    0.0321   0.0020
  8   0.00000  0.00000    -16.60     0.16    0.0276   0.0025
  9   0.00003  0.00000     10.12     0.04    0.3291   0.0005
 10   0.00000  0.00000      1.92     5.46    0.0026   0.0012
 11   0.00000  0.00000      0.89     9.48    0.0020   0.0006
 12   0.00000  0.00000      3.11     9.60    0.0026   0.0009
 13   0.00000  0.00000      0.63     6.28    0.0027   0.0009
 14   0.00000  0.00000     -8.84     0.36    0.0108   0.0015
 15   0.00001  0.00000      6.14     0.13    0.0741   0.0006
 16   0.00000  0.00000     -7.86     1.50    0.0015   0.0007


The magnetic center is at
X =   383.3 +-     0.5 microns
Y =   273.7 +-     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: 08-01-1995
Time: 06:45:41
Magnet Name: 058
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  100.6024  +-  5.967319E-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    178.80     0.50    0.1317   0.0020
  2   0.00043  0.00000     27.09     0.01    2.0948   0.0010
  3   0.02040  0.00001    -29.88     0.00  100.0000   0.0393
  4   0.00003  0.00000     38.24     0.13    0.1235   0.0014
  5   0.00003  0.00000     19.49     0.12    0.1354   0.0009
  6   0.00001  0.00000    -26.34     0.54    0.0252   0.0010
  7   0.00001  0.00000     13.42     0.40    0.0329   0.0008
  8   0.00001  0.00000    -15.85     0.80    0.0278   0.0008
  9   0.00007  0.00000     10.11     0.03    0.3297   0.0014
 10   0.00000  0.00000      1.09     8.34    0.0021   0.0009
 11   0.00000  0.00000     -8.86     1.26    0.0026   0.0009
 12   0.00000  0.00000      0.41     0.62    0.0092   0.0008
 13   0.00000  0.00000      3.73     3.52    0.0034   0.0010
 14   0.00000  0.00000     -8.38     0.44    0.0100   0.0021
 15   0.00002  0.00000      6.18     0.03    0.0754   0.0013
 16   0.00000  0.00000     -3.00     2.12    0.0033   0.0016


The magnetic center is at
X =   381.2 +-     0.2 microns
Y =   275.1 +-     0.2 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-01-1995
Time: 06:52:24
Magnet Name: 058
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  150.5884  +-  8.142237E-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.09     0.22    0.1566   0.0011
  2   0.00064  0.00000     27.01     0.03    2.0991   0.0011
  3   0.03048  0.00001    -29.88     0.00  100.0000   0.0581
  4   0.00004  0.00000     38.03     0.16    0.1206   0.0032
  5   0.00004  0.00000     19.49     0.13    0.1395   0.0022
  6   0.00000  0.00000    -24.92     0.88    0.0149   0.0014
  7   0.00001  0.00000     13.18     0.19    0.0340   0.0011
  8   0.00001  0.00000    -16.24     0.25    0.0285   0.0005
  9   0.00010  0.00000     10.09     0.02    0.3304   0.0018
 10   0.00000  0.00000      2.54     5.91    0.0026   0.0012
 11   0.00000  0.00000     -2.07     7.53    0.0020   0.0003
 12   0.00000  0.00000      7.17    12.32    0.0041   0.0001
 13   0.00000  0.00000      1.40     5.94    0.0011   0.0012
 14   0.00000  0.00000     -8.22     0.82    0.0092   0.0003
 15   0.00002  0.00000      6.16     0.05    0.0703   0.0013
 16   0.00000  0.00000     -0.54     1.97    0.0017   0.0010


The magnetic center is at
X =   381.2 +-     0.4 microns
Y =   276.7 +-     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: 08-01-1995
Time: 06:59:06
Magnet Name: 058
Run Number: 1


                          FIELD HARMONICS

Magnet Current, Imag =  200.5934  +-  4.369006E-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    122.13     0.32    0.1834   0.0012
  2   0.00085  0.00000     26.93     0.01    2.1007   0.0007
  3   0.04048  0.00001    -29.88     0.00  100.0000   0.0282
  4   0.00005  0.00000     38.70     0.13    0.1170   0.0023
  5   0.00006  0.00000     19.48     0.02    0.1388   0.0008
  6   0.00001  0.00000    -25.55     0.85    0.0150   0.0014
  7   0.00001  0.00000     13.55     0.31    0.0340   0.0010
  8   0.00001  0.00000    -16.72     0.20    0.0270   0.0015
  9   0.00013  0.00000     10.12     0.02    0.3313   0.0018
 10   0.00000  0.00000     -7.22     8.95    0.0027   0.0012
 11   0.00000  0.00000      0.59     9.64    0.0022   0.0011
 12   0.00000  0.00000      2.74     3.86    0.0019   0.0004
 13   0.00000  0.00000      4.72     6.00    0.0015   0.0008
 14   0.00000  0.00000     -9.30     0.41    0.0095   0.0011
 15   0.00003  0.00000      6.22     0.02    0.0723   0.0015
 16   0.00000  0.00000     -4.42     6.23    0.0014   0.0009


The magnetic center is at
X =   380.7 +-     0.1 microns
Y =   278.1 +-     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)
