The invention provides an LED
light source control method, device and equipment and a storage medium, and the method comprises the steps: collecting the temperature data of an LED
light source module, carrying out the sliding window filtering
processing, obtaining a temperature change curve, and calculating a temperature compensation
control signal through combining a working current and a temperature-
light intensity characteristic curve; dividing the detection period into a plurality of time slices, and performing frequency and
amplitude modulation to obtain a
composite pulse sequence; calculating surface shadow area distribution according to the three-dimensional contour data of the to-be-measured object, dividing the LED
light source module into a main light source group and a supplementary light source group, and generating a
time sequence interleaving control signal; controlling the two groups of light sources to alternately illuminate and collecting
light intensity distribution data in the detection process; and performing deviation analysis on the
light intensity distribution data to generate a compensation
signal, and feeding back and updating a temperature compensation
control signal. According to the scheme, through prediction compensation and an alternating illumination mechanism, the temperature drift influence of the LED light source is reduced, the
response delay of
feedback control is reduced, the stability of light intensity is improved, and the accuracy of a detection result is ensured.