An illumination control circuit allows a user to set a desired brightness level and maintains the desired brightness level over temperature and life of a light source. The illumination control circuit uses a dual feedback loop with both optical and thermal feedbacks. The optical feedback loop controls power to the light source during normal operations. The thermal feedback loop overrides the optical feedback loop when the temperature of the light source becomes excessive.