FBG-D fiber Bragg grating displacement sensor uses the inherent displacement sensitivity of the fiber Bragg grating to test displacement changes. The fiber Bragg grating is packaged in a special way, which increases the sensitivity of the sensor to displacement. It can be used to monitor the tension and compression displacement, to compensate the temperature by double grating package, to monitor the construction cracks of buildings, bridges, dams, internal tension joints of concrete, and the temperature change.