Active interaction force identification for atomic force microscope applications