{'fraction_non_alphanumeric': 0.021132713440405747, 'fraction_numerical': 0.0016906170752324597, 'mean_word_length': 5.434782608695652, '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}}
Optimizing design of an optical encoder based on generalized grating imaging

The interpolation error of an optical encoder is largely determined by the imperfections in the electrical signals, such as amplitude error, phase-shift error, DC error and higher harmonic distortion. In this paper, an optimized optical encoder based on generalized grating imaging is presented. We first describe the basic principle and configuration of the optical encoder. To achieve four electrical signals with equal amplitudes, equal DC contents and accurate 90° electrically phase-shift, a photodiodes array is adopted as the photo-detector. The photodiodes array offers the advantage of single-field scanning. Then, to solve the remaining problem of higher harmonic distortion, a slit-width-modulated index grating is proposed to suppress the dominant third order and fifth order harmonics simultaneously, and the cell’s width of the photodiodes array is optimized to further reduce the fifth order harmonic. Experiments have been carried out to verify the theoretical results. The feasibility and effectiveness of the proposed optimizing methods have been confirmed from the experimental results.