The invention relates to a device and method for detecting the
refractive index of an
optical flat based on a displacement sensor, belonging to the technical field of optical measurement. When he existing automatic V-
prism refractometer is adopted for detection, two vertical planes are needed to be processed on a measured piece, and the structure of the detection device is complicated. The detection device provided by the invention comprises a
light source, an
optical imaging system and a CCD (
Charge Coupled Device)
image sensor which are optically, coaxially and sequentially ranked, wherein the
optical imaging system is positioned in a
cam cylinder and is in slide pin connection with the displacement sensor; a motor drives the
cam cylinder to rotate and controls a
processing circuit to be respectively electrically connected with the motor and the displacement sensor and connected with the
serial port of an upper computer; and the CCD
image sensor is also electrically connected with the upper computer. The detection method provided by the invention comprises the following steps:
processing a material to be detected into the measured piece of the
optical flat; clearly imaging the infinite distance through the
optical imaging system; clearly imaging a close
object point A and obtaining the displacement
delta S1' of the main surface H of the optical imaging system; adding the measured piece of the
optical flat and clearly imaging the refractive image A' of the measured piece of the optical flat in the close
object point A to obtain the displacement
delta S2'; and computing the
refractive index n of the material to be detected according to the displacement
delta S1' and the displacement delta S2'.