Abstract:A new flat fiber grating sensor used in narrow space is designed for measuring dynamic tiny clearance under vibration environment. According to given application conditions, substrate encapsulation scheme and its main technical indicators of the grating sensor are designed, and the measurement range is from 0.5 mm to 0.8 mm with good calibration data. The experiment results show that the grating sensor can realize the tiny clearance measuring under vibration environment without damaging the original structure; and it can provide authentic data with the precision scale of μm, which is superior to traditional methods.