A system for identification of abnormalities related to illumination of a target and automatic compensation therefor, the system comprising: a lighthead configured to illuminate the target, the lighthead comprising a plurality of lighting modules (34, 35) configured to emit light therefrom, each of the lighting modules (34, 35) comprising a distance sensor configured to measure a distance from the lighting module (34, 35) to a surface toward which the lighting module (34, 35) is pointed; and a controller configured to identify one or more abnormalities of the measured distances, determine a true distance from the lighthead to the target based on the measured distances, predict an amount of illumination based on the true distance that would be supplied to the target without the identified abnormalities, and compensate for the identified abnormalities by respectively adjusting an amount of light emitted from the lighting modules (34, 35) to illuminate the target according to the predicted amount of illumination, wherein the abnormalities of the measured distances respectively indicate that the surfaces toward which the lighting modules (34, 35) related to the abnormalities are pointed are not surfaces of the target; wherein the true distance is a distance between a center of the lighthead and a surface to which the center of the lighthead is pointed, and wherein the surface to which the center of the lighthead is pointed is the target; wherein the determining of the true distance comprises respectively correcting the measured distances so that the corrected distances are centerline distances extending from a center of the lighthead to the surfaces toward which the lighting modules (34, 35) are pointed; wherein the abnormalities are identified based on a comparison of all of the corrected distances, and wherein one of the corrected distances is identified as an abnormality when a determination is made by the controller that, when compared with all of the corrected distances, the one of the corrected distances is not a distance to the target and light associated with the one of the corrected distances is not reaching the target. a lighthead configured to illuminate the target, the lighthead comprising a plurality of lighting modules (34, 35) configured to emit light therefrom, each of the lighting modules (34, 35) comprising a distance sensor configured to measure a distance from the lighting module (34, 35) to a surface toward which the lighting module (34, 35) is pointed; and a controller configured to identify one or more abnormalities of the measured distances, determine a true distance from the lighthead to the target based on the measured distances, predict an amount of illumination based on the true distance that would be supplied to the target without the identified abnormalities, and compensate for the identified abnormalities by respectively adjusting an amount of light emitted from the lighting modules (34, 35) to illuminate the target according to the predicted amount of illumination, wherein the abnormalities of the measured distances respectively indicate that the surfaces toward which the lighting modules (34, 35) related to the abnormalities are pointed are not surfaces of the target; wherein the true distance is a distance between a center of the lighthead and a surface to which the center of the lighthead is pointed, and wherein the surface to which the center of the lighthead is pointed is the target; wherein the determining of the true distance comprises respectively correcting the measured distances so that the corrected distances are centerline distances extending from a center of the lighthead to the surfaces toward which the lighting modules (34, 35) are pointed; wherein the abnormalities are identified based on a comparison of all of the corrected distances, and