The invention relates to an
optical axis and mounting
reference surface parallelism test device. The device comprises an optical collimation
system, a CCD
image sensor, an
image acquisition card and a computer, wherein a focal plane of the optical collimation
system is provided with an upper conversion plate,
laser spots are converted by the upper conversion plate into visible light spots, the visible light spots after conversion correspond to the original
laser spots in one-to-one correspondence mode, parallelism test of a detected
system is carried out through
processing on the light spots, and calibration is further carried out. The invention further relates to a method. The method comprises steps that a),
light spot image processing is carried out; b), a rectangular location zone of the light spots is determined; c), a
light spot mass center is solved; d), an electric cross division center is queried; e), offset of the
light spot mass center is solved; f), the offset amount is calculated; g), a magnifying power is calculated; and h), an offset included angle is acquired, and calibration is carried out. According to the device and the method, parallelism test and calibration of an
optical axis of a
laser illuminator are realized, and advantages of more convenient detection and high precision are realized compared with a detection method in the prior art.