Most applications of high-resolutions solution phase NMR require magnetic fields of very high homogeneity to obtain maximum spectral detail and sensitivity. A considerable amount of time is spent by operators of NMR systems adjusting the magneticfield homogeneity of the NMR magnet. Commercial automatic """"""""shimming"""""""" algorithms are available to automate this process, but they are not very robust. The purpose of the proposed research is to develop and demonstrate a new robust algorithm for automatically adjusting the magnetic field homogeneity of NMR magnets. Robust automatic shimming algorithm will greatly simplify the use of NMR spectrometers for applications in biomedical and biomolecular research. In addition, such an algorithm will improve the performance of fully automated NMR systems, and have wide applicability in many areas of NMR research. The development and testing o a robust automatic shimming algorithm is the primary objective of Phase I. Upon the successful demonstration of the proposed algorithm, it will be implemented to control the automatic shimming system of a commercial NMR spectrometer in Phase II. The Phase II research will be conducted in collaboration with a university or industrial laboratory. Phase III commercialization will be undertaken in collaboration with an NMR vendor.