A computer aided design (CAD) using optimization methods for the ion optical system has been developed, by mixing the dynamic programming procedure and artificial intelligence technique. CADION ANALYZER has been designed as an expert system, written in Java expert system shell (JESS 6.1) and Visual Basic 6 (VB6) for optimizing and analyzing full calculation processes. By using this rule based engine, the optimized axial potential distributions for electrostatic fields under imposed constraints have been used in the optical column setup. Spot size measurements were calculated in nano scales, which have values closed to (3.0) nm applicable in nano technology applications.