The invention relates to the technical field of part measurement, and discloses a mechanical part
light source detection device which comprises a fixed table, a support and a
camera module, the support is fixedly arranged on the fixed table, the
camera module is assembled at the top end of the support, a mounting plate is coaxially and fixedly assembled on the
camera module, and an annular lamp strip is coaxially and fixedly mounted on the mounting plate. A light gathering cover is arranged below the lamp strip, a sealed liquid cavity filled with light-transmitting liquid is formed in the light gathering cover, air cavities are formed in the upper portion and the lower portion of the liquid cavity, flexible and transparent diaphragms are arranged between the air cavities and the liquid cavity, and a plurality of air pressure pipes for controlling air pressure in the air cavities are installed on the air cavities. The
irradiation range of the
light source of the lamp strip is changed by adjusting the
pressure difference between the
air cavity and the liquid cavity, when the
light source is insufficient, the pressure of the
air cavity is increased to form a biconcave lens, light rays are diverged, and the
irradiation range is expanded; when the light source is too large or insufficient in brightness, the pressure of the
air cavity is reduced to form a biconvex lens, light is focused, and the illumination intensity and resolution are enhanced.