Atomic force microscope (AFM) with dual probes that operate together can measure both side walls excellently at the same time, which virtually eliminates the prevalent effect of probe width that contributes a large component of uncertainty in measurement results and finally obtains the critical dimension (CD)(e.g. the linewidth) through data synthesis. In calibration process, the dual probes must contact each other in advance, which realizes the alignment in the three dimensions, to establish a zero reference point and ensure the accuracy of measurement. Because nowadays the optical resolution of advanced lens have exceeded micrometer range, and the size of probes is within micro level, it is possible to acquire dual probes images in both horizontal and vertical directions, through which the movement of the probes can be controlled in time. In order to further enhance the alignment precision, sub-pixel edge detection method based on Zernike orthogonal moment is used to obtain relative position between these two probes, which helps the tips alignment attains sub-micron range. Piezoelectric nanopositioning stages calibrated by laser interferometer are used to implement fine movement of the probes to verify the accuracy of the experimental results. To simplify the system, novel self-sensing and self-actuating probe based on a quartz tuning fork combined with a micromachined cantilever is used for dynamic mode AFM. In this case, an external optical detection system is not needed, so the system is simple and small.