{'fraction_non_alphanumeric': 0.01662049861495845, 'fraction_numerical': 0.0, 'mean_word_length': 5.022222222222222, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Adaptive Scan for Atomic Force Microscopy Based on Online Optimization: Theory and Experiment

A major challenge in atomic force microscopy is to reduce the scan duration while retaining the image quality. Conventionally, the scan rate is restricted to a sufficiently small value in order to ensure a desirable image quality as well as a safe tip–sample contact force. This usually results in a conservative scan rate for samples that have a large variation in aspect ratio and/or for scan patterns that have a varying linear velocity. In this paper, an adaptive scan scheme is proposed to alleviate this problem. A scan line-based performance metric balancing both imaging speed and accuracy is proposed, and the scan rate is adapted such that the metric is optimized online in the presence of aspect ratio and/or linear velocity variations. The online optimization is achieved using an extremum-seeking approach, and a semiglobal practical asymptotic stability result is shown for the overall system. Finally, the proposed scheme is demonstrated via both simulation and experiment.