A Displacement Sensor is a device that measures the distance between the sensor and an object by detecting the amount of displacement through a variety of elements and converting it into a distance. Depending on what element is used, there are several types of sensors, such as optical displacement sensors, linear proximity sensors, and ultrasonic displacement sensors.