Abstract:
A deceleration apparatus capable of decelerating a short spot beam or a tall. ribbon beam is disclosed. In either case, effects tending to degrade the shape of the beam profile are controlled. Caps to shield the ion beam from external potentials are provided. Electrodes whose position and potentials are adjustable are provided, on opposite sides of the beam, to ensure that the shape of the decelerating and deflecting electric fields does not significantly deviate from the optimum shape, even in the presence of the significant space-charge of high current low-energy beams of heavy ions.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application claims the benefit of U.S. Provisional Application No. 61/405,878 (Att. Docket AD8471PR), filed on Oct. 22, 2010 and entitled DECELERATION CHAMBER FOR RIBBON AND SPOT BEAMS, the entire contents of which are hereby incorporated by reference. 
     
    
     BACKGROUND OF THE INVENTION 
       [0002]    1. Field of the Invention 
         [0003]    The invention is concerned generally with a deceleration apparatus capable of filtering out neutral particles, and more particularly, a deceleration apparatus capable of producing either a short spot beam or a tall ribbon beam with good beam angle control and smooth profiles. 
         [0004]    2. Description of Related Art 
         [0005]    Ion implantation is a process used to introduce into a target substrate atoms or molecules, generally referred to as dopants, to make materials with useful properties. Of particular interest, ion implantation is a common process used in making modern integrated circuits. Recently, interest has focused on generating ribbon beams of over 300 mm in size containing milliampere currents of ions at energies as low as 200 eV. 
         [0006]    The highest beam currents are obtained by decelerating the ion beam immediately prior to the target; however, this practice has several known disadvantages. One disadvantage is that the deceleration tends to modify the trajectories, magnifying any angular errors and making control of uniformity in a ribbon beam more difficult. Another disadvantage is that a portion of the ions is neutralized by charge-exchange processes with residual gas atoms and molecules and, as a result, is not decelerated. These ions penetrate into the silicon much further than is intended, and this deep penetration of some of the dopant ions interferes with the intended process; furthermore, since neutralization depends on system pressure within the vacuum system, it is difficult to maintain constant conditions from day to day, and the level of contamination is not sufficiently constant to be tolerated. 
         [0007]    Many recent innovations to ribbon-beam implanting systems are discussed or disclosed in U.S. Pat. No. 7,902,527, which is incorporated herein by reference. Key content of this patent is summarized below. 
         [0008]    Some implanters use a lens to halt the divergence of the ion beam on reaching the requisite major dimensional size, and to collimate it, i.e. render it parallel. A suitable lens may use magnetic or electric fields, may generate a quadrupole field, and must have a beam passage of high aspect ratio to conform generally to the ribbon shape of the ion beam. 
         [0009]    In certain circumstances such as when using high-current low energy beams it may not be possible to reliably deliver a ribbon beam that is sufficiently uniform, so the &#39;527 patent discloses a two-mode implantation system. This comprises two multipole lenses after the analyzing magnet. In a first mode, the currents in the coils of one multipole lens can be controlled responsive to a measurement of the ion beam profile to control the current density in this beam profile. The ion beam is allowed to continue as a ribbon-shaped beam whose major dimension exceeds a dimension of the workpiece. The workpiece is then translated through this ion beam along a single path, one or more times, to implant a desired uniform dose of ions into its surface. In a second mode, the currents in the coils of a first multipole lens are excited so as to generate a quadrupole magnetic field which causes the ribbon ion beam to converge in its major dimension, thereby generating at a downstream location a beam spot which is smaller in both dimensions than either dimension of the workpiece—referred to hereinafter as a ‘spot beam’. The workpiece is then translated in a reciprocating path in two dimensions through the ion beam, so as to implant a uniform dose of ions into its surface by implanting a succession of partially overlapping stripes. This is referred to as two-dimensional scanning. 
         [0010]    It is generally desirable to minimize the number of passes required in order to achieve a specified dose uniformity. Commonly a standard deviation of 1% or less of the overall dose is an acceptable uniformity. The uniformity achievable depends upon the shape of the ion beam, specifically in its projection in the direction of the striping, or the ‘slow scan direction’. The profile of the beam needs to be a smooth ‘bell curve’. If it contains spikes or valleys in the profile, these will cause an increase in non-uniformity, which can be offset by a large increase in the number of stripes. However, increasing the number of beam passes will decrease the throughput, so is less economically viable. 
         [0011]    The second mode is likely to be advantageous when using high-current, low-energy beams (for example greater than 1 mA at energies below 3 keV), under which conditions space-charge and other effects make positive control of the uniformity of the current in a beam more difficult. The first mode requires slower motions and is likely to deliver higher processing throughput at energies where satisfactory control of the ion beam profile can be achieved. The currents in the multipole lens in either mode may be adjusted to fine-tune the beam current density profile of the beam, even though at low energy this control is insufficient to ensure a uniform implant in one pass with a ribbon beam. In the second mode, this may be valuable to generate a bell-curve profile. 
         [0012]    The &#39;527 patent further discloses a second lens after the first multipole lens, whose function is to collimate the ion beam. This is particularly important for the first operating mode, i.e. the ribbon-beam case, where systematic variation in the implant angle across the face of the workpiece would otherwise occur. It is also of value to reduce the range of angular variation in the ion beam in the second mode. 
         [0013]    The &#39;527 patent further discloses optional means of deceleration or acceleration of the ion beam using a bent ion beam path, to deliver high beam currents at low energies while filtering out contaminants with the wrong energy, for use in ion implantation in either the ribbon-beam or 2D scan beam modes. The beam is bent through an angle that differs by a small amount from standard conditions, then the ion beam is decelerated by means of a set of electrodes that superimpose two opposed successive sideways components of electric field on the deceleration field, so that the ion beam is deflected in an s-shaped bend, the deflections each amounting to an angle of at least 10 degrees, and providing a lateral displacement of several times the width of the ion beam, returning it to its original path. By providing beam stops on either side of the beam, the only ions transmitted are those with the correct charge and energy, so contaminants with the wrong energy or charge can be removed. Such contaminants include neutral atoms formed from beam ions by charge exchange with the residual gas, and since the cross-sections for some charge-exchange reactions peak at beam energies below 1 keV, this becomes very important. This deceleration means has been described as a ‘chicane’ deceleration scheme. 
       BACKGROUND TO THE INVENTION 
       [0014]    When decelerating a ribbon beam, it is very important that no component of electric field appear in the direction of the major transverse axis of the ribbon beam. Existing systems use electrodes with planar symmetry, i.e. a shape which could be drawn on a plane in which the s-shaped trajectory of an ion should lie, and which is then extruded along the direction of the major dimension of the cross section of the ion beam. Unfortunately it has been found that such transverse field components can still appear, for a variety of reasons which include: 
         [0000]    a) The ribbon-shaped beam may be limited in size by passing it through a rectangular aperture. If this aperture is too close to the strong fields in the deceleration system, it modifies the shape of the fields near the beam extremities, causing unwanted beam deflection.
 
b) The electrode shapes are conceived as extrusions, but they are finite in extent, and the fields will be perturbed at their ends. Typically the electrodes must stop at a point within a metallic vacuum chamber at a defined electrical potential, such as ground potential. This creates strong local electric fields which may penetrate some distance inside the region the beam may occupy, disturbing the electric field at the beam edges.
 
c) The effects of the beam space-charge modify the potential distribution, and it would be desirable to confine these effects to the generation of fields in the direction of the minor beam dimension, to cause them to vary linearly with position across the beam profile, or to eliminate them altogether. Otherwise these fields tend to cause very non-linear defocusing at the edges of the ion beam, leading to a lowering of ribbon beam uniformity, and a loss of otherwise usable beam current. For a spot beam, the effects will be stronger and therefore more harmful. It would be desirable to maintain or enhance the smoothness of the projection of the beam current density so as to deliver a beam spot with a ‘bell-curve’ profile in the same direction as the major dimension of the ribbon beam.
 
         [0015]    The present invention is an improvement to earlier equipment and methods used to decelerate ions through a ‘chicane’ deceleration system, or indeed other similar deceleration or acceleration systems, mitigating the effects which can adversely affect the transport of an ion beam, either spot-shaped or ribbon-shaped, through these systems. It addresses the need to provide a uniform, high current ribbon beam, or alternatively, a spot beam with a smoothly varying current-density profile. 
       SUMMARY OF THE INVENTION 
       [0016]    The present invention involves an assembly of prism-shaped electrodes between which an ion beam is passed, undergoing deflection and deceleration as a result of potentials applied to the electrodes. A number of factors can distort the shape of the equipotentials and the electric fields. 
         [0017]    One aspect of the present invention is to provide conducting electrode caps mounted to and connected to at least some of the prism-shaped electrodes, which substantially close the gap at the ends of the electrodes, leaving only a sufficient gap safely to withstand the potential difference between the electrodes, but substantially shielding the beam from the chamber potential. 
         [0018]    Another aspect of the present invention consists of widening the gaps between the electrode caps described above, and providing a further pair of electrodes, one each in the gap at the ends of the prism-shaped electrodes and between the caps, and applying an intermediate potential, thereby greatly reducing the magnitude and extent of non-uniformity of the electric field caused by the cap electrodes themselves. 
         [0019]    Another aspect of the present invention is to control the intermediate potential applied to said further pair of electrodes, responsive to the level of space-charge in the beam, so as to mitigate the tendency of space-charge blowup to occur along the direction of the axis of the prism-shaped electrodes, and to provide some control of the current density of the beam. The current density can be measured by well-known techniques such as a traveling Faraday cup. 
         [0020]    Another aspect of the present invention is to provide a means of moving said further pair of electrodes closer to or further from the ion beam passing between them, to allow control of space-charge blowup and of the beam size, applicable to ion beams of different sizes. 
         [0021]    Another aspect of the invention is an improvement to a deceleration apparatus for deflecting an ion beam and decelerating it from a first energy to a second energy. The apparatus will not decelerate neutral atoms, nor will it deflect them, and it will deflect ions with an incorrect energy through a significantly different angle, thus allowing unwanted ions and neutral atoms to be intercepted and removed from the beam. The faces of the electrodes which are close to the ion beam are of prismatic form, extended in the direction which is orthogonal to the beam travel direction, and also to the direction in which the beam is deflected. The ions may be deflected twice, in opposite directions. 
         [0022]    The improvement consists of providing additional symmetrical shaped electrodes, in locations beyond the limits of the ion beam and on opposite sides of the beam mid-plane in which ions are deflected. Controlled potentials are applied to these electrodes. The electrodes are movable in the direction directed toward the beam axis, and may be moved to selected positions a desired distance from the edges of the beam. These electrodes affect the shape of the electric fields, and by adjusting the potentials and positions on these electrodes, they may be effective to mitigate any disturbance to the shape of the electric fields due to the presence of grounded chamber walls or other conductive items near the deceleration system, or from space-charge forces caused by the beam itself. Thereby the uniformity of a ribbon beam being decelerated by be preserved or improved. Alternatively, the smoothness of the current-density profile of a spot beam may be preserved or improved. 
         [0023]    Another aspect of the invention is an improvement to an ion implanter comprising a source of accelerated ions, a magnetic mass analyzer, one or more multipole magnetic lenses, an ion beam deceleration apparatus located downstream from said mass analyzer, and a means of mechanically scanning a workpiece through the resulting ion beam, either in a single direction or in a 2-dimensional raster pattern. The multipole lenses may be used to form either a ribbon-shaped beam of substantial uniform current density along its major dimension, which is orthogonal to said single direction in which the workpiece is scanned, or a smaller spot beam with a bell-shaped profile in the same direction. The deceleration apparatus comprises prism-shaped electrodes at different controlled potentials, which create transverse electric fields to deflect the beam along an s-shaped path while decelerating it, and causing the issuing desired beam to be centered on an intended axis, along which it travels a short distance before impinging on the scanned workpiece. The current density profile, and optionally the angular distribution of the ions, are measured by means of a traveling Faraday cup, or alternatively by an array of Faraday cups, or by equivalent means. 
         [0024]    The improvement comprises providing at least one pair of movable electrodes symmetrically disposed about the beam, to which a controllable potential is applied, and of controlling the position and the potential of the electrodes to enhance the beam shape: in the case of a ribbon beam, to minimize the non-uniformity, and in the case of a spot beam, to enhance the conformance to a smooth bell-shape. In most instances the improvement is obtained by minimizing the generation of electric field components aligned with the major transverse dimension of the ion beam. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0025]      FIG. 1  illustrates a cross section through the midplane of a prior art implanter system utilizing a chicane deceleration system, to which the present invention may be applied. 
           [0026]      FIG. 2   a  is a section through the midplane of a prior art chicane deceleration system. 
           [0027]      FIG. 2   b  is a side view of a prior art chicane deceleration system showing ion trajectories of a ribbon beam, and showing equipotential lines. 
           [0028]      FIG. 3  shows a partially cutaway perspective view of a chicane deceleration system incorporating improvements according to the present invention. 
           [0029]      FIG. 4  shows a section through a low-current ribbon ion beam passing between electrodes between which a deflecting potential is applied, with the beam perturbed by the proximity to the ends of the electrodes and to a grounded chamber wall. 
           [0030]      FIG. 5  shows a similar arrangement to  FIG. 4 , but caps are added to the electrode ends to shield the beam from the external wall potential. 
           [0031]      FIG. 6  shows a similar arrangement to  FIG. 5 , but with an additional pair of electrodes at a median potential placed between the caps, to improve the uniformity of the deflecting field near the beam edges. 
           [0032]      FIG. 7  shows a cross section at a point downstream from  FIG. 6 , where the beam is passing between a first pair of electrodes at the same potential, while being decelerated, and an additional pair of electrodes is provided in the middle of the gap at each end of the first pair of electrodes, at a voltage positive with respect to the first electrodes. In this figure, the ion beam is at a higher current, and contributes sufficient space-charge to significantly perturb the electric field. 
           [0033]      FIG. 8  shows a perspective view of a possible embodiment of the structure of  FIG. 7 . 
           [0034]      FIG. 9  shows a section similar to  FIG. 7  in which a smaller high current beam is used, and the additional electrodes are adjusted in position to be close to the beam. 
           [0035]      FIG. 10  shows a partially cutaway side view of the present apparatus, with a fairly high current beam being decelerated from 10 keV to 1.5 keV. 
           [0036]      FIG. 11  shows a side view of the present invention with the potentials on the electrodes optimized to substantially compensate the space-charge effects shown in  FIG. 4 . 
           [0037]      FIG. 12   a  shows a desired uniform ribbon ion beam current density profile, suitable for implanting with a 1-dimensional mechanical scan of the workpiece through the ion beam. 
           [0038]      FIG. 12   b  shows a desired smooth bell-shaped spot ion beam profile, suitable for implanting with a 2D raster scan of the workpiece. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0039]    Although disclosed embodiments use the terminology “deceleration” and the apparatus is named as “deceleration apparatus”, the invention can also be used in acceleration situations. The invention concerns apparatus which filters the neutral particles and other contaminants away from the ion beam while accelerating or decelerating the beam. 
         [0040]    In this proposed approach, the ion beam is decelerated downstream from the mass analyzer, and downstream from a multipole magnet assembly capable of collimating and further modifying the ion beam (such as controlling the beam shape, size, or uniformity). Concurrent with deceleration, the ion beam is bent in an s-shaped path to filter out the undesired neutral particles, even the undesired charged particles with improper charge-to-mass ratio(s). 
         [0041]    It will be convenient to define a coordinate frame in which to describe the invention. Let the z-axis be the direction of travel of a central reference trajectory in the ion beam. This axis may be curvilinear, following the beam path, and curvilinear axes have special properties which will be mentioned when appropriate. The x-and y-axes are transverse to the beam direction. The x-axis lies in the direction of the minor dimension of the ribbon beam, and the y-axis is the direction of the major dimension, as shown in  FIG. 3 . 
         [0042]      FIG. 2   a  illustrates midplane cross section, in the z-x plane, of a prior art deceleration apparatus capable of filtering out neutral particles downstream of a mass analyzer. It comprises a straight-through path  501  which can be utilized when deceleration is not required, and an s-shaped path  502  utilized for deceleration. Equipotential lines in the figure illustrate how the deflection and deceleration are combined. The electrodes shown in section are extruded in the direction orthogonal to the page. The beam is ribbon shaped and has a height of approximately 340 mm, suitable for implanting 300 mm wafers with some overscan. 
         [0043]      FIG. 2   b  illustrates a side view of the same apparatus. This view is at times looking in the x-direction of the beam as it leaves the apparatus, and shows the equipotentials in or near the y-z surface. Because the beam is bent, the x-direction is not a uniquely defined direction. Note that the electrodes extend only a short way beyond the beam edges in the y-direction. The electrodes are mounted in vacuum in a 2-part chamber comprising a first section  651  at a first potential (in this instance −3800V) and a second section  652  at a second potential, for convenience 0V. These are linked by an insulating bushing  653 . Since the electrodes extend only a finite distance beyond the beam edges, and the chamber walls are moderately close to the electrode ends, there is some disturbance to the potential distribution at the ends of the electrodes, and this adversely affects the direction of ion trajectories near the top and bottom of the beam. Note that equipotential lines in the figure are curved near the top and bottom, and this demonstrates that electric field components are present which tend to deflect the ions towards or away from the axis, which is highly undesirable, since it disturbs the uniformity of the beam and alters its size.  FIG. 4  is a cross section view through the beam, and while this view cannot show the defocusing component of the field, it clearly shows the causes of field distortion at the electrode ends. Note the proximity of ion beam  103  to the electrode ends. 
         [0044]    If the beam is of sufficiently low current, the effects of space-charge are negligible compared with the applied electric fields. Under these conditions, the distortion of the electric field caused by the finite electrode length and proximity of chamber wall potentials can be mitigated by designing suitable terminating electrodes. In accordance with this invention,  FIG. 5  shows a set of electrodes terminated by caps and supplementary electrodes. The potential distribution between the electrodes near the caps, and thus the fields, more closely approaches that at the symmetry plane. 
         [0045]    However, this is not sufficient to transmit uniform ribbon beams at higher currents, where space-charge forces are more significant. Poisson&#39;s equation is 
         [0000]    
       
         
           
             
               ? 
             
             = 
             
               
                 
                   
                     - 
                     ρ 
                   
                 
               
               
                 
                   
                     
                       ? 
                     
                     , 
                   
                 
               
             
           
         
       
       
         
           
             
               
                 ? 
               
                
               
                 indicates text missing or illegible when filed 
               
             
              
             
                 
             
           
         
       
     
         [0000]    and in Cartesian coordinates this can be written 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         
                           
                             ∂ 
                             
                               ∂ 
                               x 
                             
                           
                            
                           
                             E 
                             x 
                           
                         
                         + 
                         
                           
                             ∂ 
                             
                               ∂ 
                               y 
                             
                           
                            
                           
                             E 
                             y 
                           
                         
                         + 
                         
                           
                             ∂ 
                             
                               ∂ 
                               z 
                             
                           
                            
                           
                             E 
                             z 
                           
                         
                       
                       = 
                       
                         
                           - 
                           ρ 
                         
                         
                           ? 
                         
                       
                     
                      
                     
                       
 
                     
                      
                     
                       
                         ? 
                       
                        
                       
                         indicates text missing or illegible when filed 
                       
                     
                   
                    
                   
                       
                   
                 
               
               
                 
                   ( 
                   1 
                   ) 
                 
               
             
           
         
       
     
         [0000]    From this it can be seen that a uniform current density ρ can give rise to linearly varying electric fields, and a possible solution would be: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       
                         
                           E 
                           x 
                         
                         = 
                         
                           
                             
                               
                                 - 
                                 ρ 
                               
                                
                               
                                   
                               
                                
                               x 
                             
                             
                               ? 
                             
                           
                           + 
                           const 
                         
                       
                        
                       
                         
 
                       
                        
                       
                         
                           E 
                           y 
                         
                         = 
                         0 
                       
                     
                      
                     
                       
 
                     
                      
                     
                       
                         E 
                         z 
                       
                       = 
                       const 
                     
                      
                     
                       
 
                     
                      
                     
                       
                         ? 
                       
                        
                       
                         indicates text missing or illegible when filed 
                       
                     
                   
                    
                   
                       
                   
                 
               
               
                 
                   ( 
                   2 
                   ) 
                 
               
             
           
         
       
     
         [0046]    This is the most desirable solution. E z  represents the deceleration field, Ex represents the space-charge defocusing force added to the deflecting force applied by the voltages on the electrodes, and E y  is zero. Note that the space-charge force is partially offset in the x-direction by a geometric focusing effect arising from the curvilinear z-axis, plus a further focusing effect caused by the applied field modulating the energy of off-axis ions; these two focusing forces do not appear as an electric field component. For further explanation see Banford, The Transport of Charge Particle Beams, SPON, 1966. 
         [0047]    Thus solutions to Poisson&#39;s equation like equation 2 exist for this system, in which Ey is zero throughout the beam, or nearly so, and the present invention provides a means to realize these. The potential at the center of an ion beam with significant space-charge ρ is positive compared with that of a low-current beam. Therefore the equipotentials within the beam in the chicane deceleration system illustrated in  FIG. 2   b  are shifted to the left, within the beam, by the presence of space-charge. The invention provides a means of similarly shifting those parts of the equipotentials outside the beam but adjacent to it, so as to remove or at least greatly reduce the curvature of the equipotentials at the edge of the beam, so as to satisfy equation (2). This is achieved by moving electrodes  614   a  and  614   b  to a position close to the edge of the ion beam and modifying its potential appropriately positive. The solution to position and potential is not exact, and is optimized empirically by measuring the uniformity of the ion beam at a downstream location by means of a traveling Faraday cup or equivalent (not shown).  FIG. 11  shows the beneficial effect on these equipotentials, while  FIG. 7  shows a cross section illustrating how this is accomplished. 
         [0048]    It will be readily apparent that further small changes to the potential on the electrodes  614   a  and  b  will cause to outermost trajectories to change from slightly convergent to slightly divergent. Depending on the aspect ratio of the ribbon beam, this focusing/defocusing effect may be very local, or may extend significantly into the ion beam. 
         [0049]    When the multipole lens  402  ( FIG. 1 ) is used to focus the beam and generate a spot beam of greatly reduced height, the role of electrodes  614   a  and  614   b  is similar. They must be moved to a new position, as shown in  FIG. 9 , in order to be close enough to the ion beam, and since focusing the beam increases the space-charge density, the required potentials will be more positive. 
         [0050]    In a preferred embodiment of the invention, illustrated in  FIG. 3 , all deflecting and/or decelerating electrodes in the deceleration assembly extend further in the y-direction than the maximum extent of the beam. The maximum height of the beam is targeted to be 340 mm, to allow a comfortable overscan margin for implanting a uniform dose into 300 mm diameter silicon wafers. Thus a ‘beam zone’ is bounded by the path between the various electrodes (as in  FIG. 2 ), and by a y-dimension which may be +/−170 mm in the case of a 340 mm ribbon beam, or a significantly smaller (for example +/−80 mm) in the case of a spot beam. The term ‘beam zone’ is used to define the zone in which the ion beam is intended to be confined, depending on circumstances. Thus the height of the electrodes needs to be at least 400 mm, and preferably about 500 mm or more. Cap electrodes are attached and connected to the ends of these electrodes, for example cap  612   a  is mounted on electrode  912  at its top end, and  612   b  (not shown) is similarly connected to its bottom end. These electrodes extend toward the surface x=0 (see  FIG. 4  for definition), closing in the gap at top and bottom. This has the effect of electrostatically screening the interior zone from external potentials, attenuating their influence. However it also modifies the shape of the transverse electric field close to the cap electrodes, which is undesirable. The middle electrodes  910   r  are positioned near the point of inflection of the beam path, and are at the same potential, and consequently their cap electrodes  610   a  are conveniently joined. Furthermore, the potential on electrode  610   a  is selected to be approximately midway between the potentials on electrodes  912  and  911   b . (Since  911   b  is concealed in  FIG. 3 , see  FIG. 6  for a cross sectional view. In  FIG. 3  it is below cap electrode  611   a .) It is therefore beneficial to give  610   a  and  610   b  a sculpted shape extending towards chamber section  651 , since this causes the electric field close to the caps to better approximate the field near the midplane.  FIG. 6  and  FIG. 7  are cross sections in which a slice through electrode  610   a  appears, and  FIG. 8  shows a preferred embodiment of this electrode.  FIG. 9  is a cross section in which the middle of electrode  610   a  is cut away, and part of movable electrode  614   a  occupies its place. 
         [0051]    In general, the shapes of the cap electrodes are optimized using codes such as Cobham&#39;s OPERA, which solve Laplace&#39;s and Poisson&#39;s equations in 3 dimension, with the goal of rendering the equipotential lines vertical and straight within the beam zone (since this eliminates any unwanted E y  electric field component) and additionally keeps the strength of E x  as uniform as possible inside the beam zone. Laplace&#39;s equation is used in the limit of low beam currents, Poisson&#39;s equation when considering high current beams with significant space-charge. The detailed three-dimensional shapes determine the relative effect of the electrode potentials in the beam zone. 
         [0052]    Electrodes  614   a  and  614   b  play a similar role to  610   a  and  b,  controlling both the strength of E x  near the top and bottom of the beam zone, and modifying the shape of the equipotentials to keep them as straight as possible. 
         [0053]    Now consider the effect of space-charge in the beam. As discussed above, its first effect is to push the center of the equipotential surfaces to the left in the figures, and this can be clearly seen in  FIG. 10 , for a high current beam. The equipotentials become curved, and the curvature will be greatest where the space-charge is highest, which generally will be where the beam energy is lowest. If a positive potential is now applied to electrodes  614   a  and  614   b , the effect is to shift the equipotentials near these electrodes to the left, as shown in  FIG. 11 , which has the effect of reducing, or in some instances reversing, the curvature of the equipotentials. The effect on the beam can be seen: its divergence is reduced. In  FIG. 10 , a substantial fraction of the beam diverges at angles with magnitudes between 10 and 20 degrees; In  FIG. 11 , the divergence is reduced so that for most of the beam it is less than 1 degree, although a small section at the edge of the beam exceeds this limit.  FIG. 7  illustrates this in cross section through the beam. 
         [0054]    Clearly if the beam is now changed from a ribbon beam to a spot beam of about ⅓ the height, this approach must be modified. Electrodes  614   a  and  b  cannot fulfill the same role unless they are moved closer to the beam. To accomplish this, in this preferred embodiment, these electrodes are mounted on a controllable servomechanism to allow them to be moved closer to the ion beam, as shown in  FIG. 9 . In other embodiments additional electrodes are made movable, such as  610   a  and  610   b.    
         [0055]    Although specific embodiments have been illustrated and described, it will be appreciated by those skilled in the art that the present invention may be applied to a variety of situations in which charged particle beams are accelerated or decelerated. Thus although, for example, this invention was conceived as an enhancement to a deceleration system operating with an s-shaped beam path, many modifications to the beam path may be conceived, and which are intended to fall within the scope of the invention. In particular, the apparatus may be used in any orientation. The scope of the present invention is intended to be limited solely by the appended claims.