The invention relates to a speed measuring device and method based on a
spatial light modulator, and the device comprises a single-mode
laser, a beam-expanding collimation module, the
spatial light modulator, a 4F
system, a projection convex lens, a receiving convex lens, and a photoelectric
detector. The beam expanding and collimating module is used for receiving a
laser beam output by the single-mode
laser and emitting the laser beam to the
spatial light modulator after beam expanding and collimating; the spatial light modulator diffracts incident light and generates first-order diffracted light with alternately dark and bright stripes; the 4F
system receives the first-level
diffraction light, filters the first-level
diffraction light and outputs the filtered first-level
diffraction light to The projection convex lens vertically irradiates the filtered first-order diffraction light to the surface of an object to be measured, and the stripe change direction of
equidistant light and shade alternated stripes in the first-order diffraction light is consistent with the
motion direction of the object to be measured; the photoelectric
detector receives part of
scattered light carrying the speed information of the to-be-measured
object based on the receiving convex lens and converts the
scattered light into an
electric signal so as to calculate the speed of the to-be-measured object.