CPC G01J 1/4204 (2013.01) [G01J 1/4228 (2013.01); G09G 3/20 (2013.01); G09G 2360/144 (2013.01); G09G 2360/16 (2013.01)] | 18 Claims |
1. A method for detecting ambient light, comprising:
S1: obtaining brightness information of the ambient light;
S2: determining a brightness interval of the ambient light according to the brightness information of the ambient light; and
S3: determining a reference sensor basing on a preset correspondences between a plurality of ambient light sensors and different brightness intervals, and outputting a brightness signal of a current ambient light according to a preset conversion relationship of output signals of the reference sensor to the brightness signal of a current ambient light;
wherein sizes of photosensitive areas of the ambient light sensors are inversely proportional to values of the corresponding brightness intervals,
in step S3, the preset conversion relationship is defined as:
S is the output brightness signal of the current ambient light, n is a number of the ambient light sensors, ki is a gain coefficient of an i-th ambient light sensor, and Si is an output signal of the i-th ambient light sensor.
|