The heating and confinement of electrons in an electron-cyclotron-reso
nance ion source (ECRIS) plasma is described: the single particle moti
on in a magnetic beach is presented, showing the role of the rf wave m
agnetic field in the electron losses. This effect can be approximately
modeled by a Fokker-Planck quasilinear equation in velocity space. Th
is modeling is discussed and numerical results are presented. The beha
vior of the wave close to resonance is analyzed, taking into account t
he thermal motion of the electrons. The role of the different design p
arameters (including rf frequency) is shown and the major ingredients
for the design of an efficient ECRIS for multiply charged ions product
ion are summarized. (C) 1998 American Institute of Physics.