Robust Identification and control of scanning probe microscope