CN105651381A - Light sensor calibration method and device - Google Patents

Light sensor calibration method and device Download PDF

Info

Publication number
CN105651381A
CN105651381A CN201510989943.6A CN201510989943A CN105651381A CN 105651381 A CN105651381 A CN 105651381A CN 201510989943 A CN201510989943 A CN 201510989943A CN 105651381 A CN105651381 A CN 105651381A
Authority
CN
China
Prior art keywords
illumination
measurement
light sensor
measured
difference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510989943.6A
Other languages
Chinese (zh)
Other versions
CN105651381B (en
Inventor
王中帅
马宁
杨依珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510989943.6A priority Critical patent/CN105651381B/en
Publication of CN105651381A publication Critical patent/CN105651381A/en
Application granted granted Critical
Publication of CN105651381B publication Critical patent/CN105651381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/10Photometry, e.g. photographic exposure meter by comparison with reference light or electric value provisionally void

Abstract

The invention provides a light sensor calibration method and device, and belongs to the technical field of terminals. The method comprises the steps that the light sensor of a terminal under calibration is applied to detect at least two preset light environments so that at least two measured illumination is obtained, and the at least two preset light environments have the same preset illumination and different color temperature; whether the illumination difference between the at least two measured illumination meets standard conditions is detected; and if the illumination difference between the at least two measured illumination meets the standard conditions, the calibration coefficient is obtained according to the preset illumination and the at least two measured illumination, and the calibration coefficient is used for calibrating the light sensor of the terminal under calibration. According to the technical scheme, measurement of illumination through the light sensor is enabled to be more accurate.

Description

Light sensor calibration steps and device
Technical field
It relates to field of terminal technology, particularly relate to a kind of light sensor calibration steps and device.
Background technology
Development along with science and technology, mobile terminal is increasingly common in the life of people, user is also more and more higher to the performance requirement of mobile terminal, wherein, the flying power of mobile terminal and screen definition are the performance indications that user is comparatively concerned about, in order to improve the two performance indications, meet user's demand to mobile terminal performance, currently, generally individually in mobile terminal it is provided with light sensor, it can be used to detect the illumination of light in mobile terminal local environment, so that the light illumination that mobile terminal detects according to light sensor regulates the brightness of screen and flickering of keyboard light, that is to say, comparatively dim environment reduces screen intensity, open keyboard light, and in comparatively bright environment, improve screen intensity, closing keyboard lamp, thus one side saves energy, ensure screen definition on the other hand.
In actual applications, light sensor may be checked colors temp. sensitive, that is to say, in different-colour environment, the measured value of equal illumination light be would be likely to occur larger difference by light sensor, this results in light sensor, and the accuracy of measurement of light illumination is not high, in addition, the measurement accuracy of light illumination is additionally subjected to the impact of light sensor assembling, material etc. by light sensor, therefore, need a kind of method calibrating light sensor at present badly, to improve the light sensor accuracy of measurement to light illumination.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of light sensor calibration steps and device.
First aspect according to disclosure embodiment, it is provided that a kind of light sensor calibration steps, including:
At least two is preset photoenvironment and is detected by the light sensor using terminal to be calibrated, obtains at least two and measures illumination, and described at least two is preset photoenvironment and had same default illumination, different-colour;
Whether the differences of illumination intensities detected between described at least two measurement illumination meets calibration condition;
If the differences of illumination intensities that described at least two is measured between illumination meets described calibration condition, then measure illumination according to described default illumination with described at least two, obtaining calibration factor, described calibration factor is for being calibrated the light sensor of described terminal to be calibrated.
In the first possible embodiment of first aspect, the default photoenvironment of at least two is carried out detection and includes by the light sensor of described use terminal to be calibrated:
Described terminal to be calibrated being successively positioned at least two light box, and utilize the light sensor of described terminal to be calibrated that light illumination in described at least two light box is measured, described at least two light box has same default illumination, different-colour.
In the embodiment that the second of first aspect is possible, described terminal to be calibrated is positioned over the same position in described at least two light box.
In the third possible embodiment of first aspect, detect described at least two and measure the differences of illumination intensities between illumination and whether meet calibration condition and include:
Described at least two is measured each two measurement illumination in illumination and is retrieved as one group of measurement illumination;
Obtain often group and measure the difference value measuring illumination in illumination;
Measure in illumination according to described often group and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities that described at least two is measured between illumination meets calibration condition.
In the 4th kind of possible embodiment of first aspect, measure in illumination according to described often group and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities between described at least two measurement illumination meets calibration condition includes:
When often organizing the difference value measuring illumination in measurement illumination and being respectively less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When often organizing the difference value of arbitrary group of the difference value measuring illumination in measurement illumination less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When measure the difference value of illumination less than the number of the measurements illumination group of the first predetermined threshold value more than the second predetermined threshold value time, it is determined that the differences of illumination intensities between described at least two measurement illumination meets calibration condition.
In the 5th kind of possible embodiment of first aspect, acquisition often group is measured the difference value measuring illumination in illumination and is included:
Utilizing difference value computing formula to calculate described often group and measure the difference value measuring illumination in illumination, described difference value computing formula is:
��=| E-A |/A*100%
Wherein, �� is the difference value of described measurement illumination, E=D*C, C=A/B, and A is described default illumination, and B and D is two measurement brightness values that described often group measures that illumination includes.
In the 6th kind of possible embodiment of first aspect, measure illumination according to described default illumination with described at least two, obtain calibration factor and include:
The ratio of described default illumination Yu specified measurement illumination is retrieved as described calibration factor, and described specified measurement illumination is any one measurement illumination that described at least two is measured in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination minimum in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination maximum in illumination; Or,
Described specified measurement illumination is the meansigma methods that described at least two measures illumination.
In the 7th kind of possible embodiment of first aspect, described method also includes:
If the differences of illumination intensities that described at least two is measured between illumination does not meet described calibration condition, then obtaining the fault type of the light sensor of described terminal to be calibrated, described fault type includes described light sensor material fault, described light sensor assembles at least one in fault.
Second aspect according to disclosure embodiment, it is provided that a kind of light sensor calibrating installation, including:
Measurement module, detects for using the light sensor of terminal to be calibrated that at least two is preset photoenvironment, obtains at least two and measure illumination, and described at least two is preset photoenvironment and had same default illumination, different-colour;
Detection module, whether the differences of illumination intensities that the described at least two obtained for detecting described measurement module is measured between illumination meets calibration condition;
Acquisition module, if the differences of illumination intensities measured between illumination for described at least two meets described calibration condition, then measuring illumination according to described default illumination with described at least two, obtain calibration factor, described calibration factor is for being calibrated the light sensor of described terminal to be calibrated.
In the first possible embodiment of second aspect, described measurement module is used for:
Light illumination at least two light box is measured by the light sensor utilizing described terminal to be calibrated, and described at least two light box has same default illumination, different-colour.
In the embodiment that the second of second aspect is possible, described terminal to be calibrated is positioned over the same position in described at least two light box.
In the third possible embodiment of second aspect, described detection module is used for:
Described at least two is measured each two measurement illumination in illumination and is retrieved as one group of measurement illumination;
Obtain often group and measure the difference value measuring illumination in illumination;
Measure in illumination according to described often group and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities that described at least two is measured between illumination meets calibration condition.
In the 4th kind of possible embodiment of second aspect, described detection module is used for:
When often organizing the difference value measuring illumination in measurement illumination and being respectively less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When often organizing the difference value of arbitrary group of the difference value measuring illumination in measurement illumination less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When measure the difference value of illumination less than the number of the measurements illumination group of the first predetermined threshold value more than the second predetermined threshold value time, it is determined that the differences of illumination intensities between described at least two measurement illumination meets calibration condition.
In the 5th kind of possible embodiment of second aspect, described detection module is used for:
Utilizing difference value computing formula to calculate described often group and measure the difference value measuring illumination in illumination, described difference value computing formula is:
��=| E-A |/A*100%
Wherein, �� is the difference value of described measurement illumination, E=D*C, C=A/B, and A is described default illumination, and B and D is two measurement brightness values that described often group measures that illumination includes.
In the 6th kind of possible embodiment of second aspect, described acquisition module is used for:
The ratio of described default illumination Yu specified measurement illumination is retrieved as described calibration factor, and described specified measurement illumination is any one measurement illumination that described at least two is measured in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination minimum in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination maximum in illumination; Or,
Described specified measurement illumination is the meansigma methods that described at least two measures illumination.
In the 7th kind of possible embodiment of second aspect, described device also includes:
Fault acquisition module, if the differences of illumination intensities measured between illumination for described at least two does not meet described calibration condition, then obtaining the fault type of the light sensor of described terminal to be calibrated, described fault type includes described light sensor material fault, described light sensor assembles at least one in fault.
The third aspect according to disclosure embodiment, it is provided that a kind of light sensor calibrating installation, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
At least two is preset photoenvironment and is detected by the light sensor using terminal to be calibrated, obtains at least two and measures illumination, and described at least two is preset photoenvironment and had same default illumination, different-colour;
Whether the differences of illumination intensities detected between described at least two measurement illumination meets calibration condition;
If the differences of illumination intensities that described at least two is measured between illumination meets described calibration condition, then measure illumination according to described default illumination with described at least two, obtaining calibration factor, described calibration factor is for being calibrated the light sensor of described terminal to be calibrated.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
By detecting whether light sensor in the terminal to be calibrated difference at different-colour but between the multiple light illumination recorded under at least two environment of equal illumination meets calibration condition, if meeting, then illustrate that light sensor is insensitive to colour temperature, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is less, in this case calibration factor can then be obtained, and in the process of follow-up measurement illumination, utilize this calibration factor that light sensor is calibrated, if not meeting, then illustrate that light sensor is checked colors temp. sensitive, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is bigger, then can detect and obtain the fault type of light sensor in subsequent step, thus eliminating the light sensor sensitivity to colour temperature, also make light sensor that the measurement of illumination is more accurate.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of a kind of light sensor calibration steps according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of light sensor calibration steps according to an exemplary embodiment.
The schematic diagram that at least two photoenvironment is detected by the Fig. 3 a kind of light sensor according to an exemplary embodiment.
The block diagram of the Fig. 4 a kind of light sensor calibrating installation 400 according to an exemplary embodiment.
Fig. 5 is the block diagram of a kind of light sensor calibrating installation 500 according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of terminal 600 according to an exemplary embodiment.
Detailed description of the invention
For making the purpose of the disclosure, technical scheme and advantage clearly, below in conjunction with accompanying drawing, disclosure embodiment is described in further detail.
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings. When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure. On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
Fig. 1 is the flow chart of a kind of light sensor calibration steps according to an exemplary embodiment, as it is shown in figure 1, this light sensor calibration steps comprises the following steps.
In step 110, using the light sensor of terminal to be calibrated that at least two is preset photoenvironment and detect, obtain at least two and measure illumination, this at least two is preset photoenvironment and is had same default illumination, different-colour.
In the step 120, whether the differences of illumination intensities that terminal to be calibrated detects between this at least two measurement illumination meets calibration condition.
In step 130, if the differences of illumination intensities that this at least two is measured between illumination meets this calibration condition, then terminal to be calibrated measures illumination according to this default illumination with this at least two, obtains calibration factor, and this calibration factor is for being calibrated the light sensor of this terminal to be calibrated.
In sum, the calibration steps of the light sensor that the present embodiment provides, by detecting whether light sensor in the terminal to be calibrated difference at different-colour but between the multiple light illumination recorded under at least two environment of equal illumination meets calibration condition, if meeting, then illustrate that light sensor is insensitive to colour temperature, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is less, in this case calibration factor can then be obtained, and in the process of follow-up measurement illumination, utilize this calibration factor that light sensor is calibrated, if not meeting, then illustrate that light sensor is checked colors temp. sensitive, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is bigger, then can detect and obtain the fault type of light sensor in subsequent step, thus eliminating the light sensor sensitivity to colour temperature, also make light sensor that the measurement of illumination is more accurate.
In the embodiment that the first is possible, the default photoenvironment of at least two is carried out detection and includes by the light sensor of this use terminal to be calibrated:
This terminal to be calibrated being successively positioned at least two light box, and utilize the light sensor of this terminal to be calibrated that light illumination in this at least two light box is measured, this at least two light box has same default illumination, different-colour.
In the embodiment that the second is possible, this terminal to be calibrated is positioned over the same position in this at least two light box.
In the embodiment that the third is possible, detect this at least two and measure the differences of illumination intensities between illumination and whether meet calibration condition and include:
This at least two is measured each two measurement illumination in illumination and is retrieved as one group of measurement illumination;
Obtain often group and measure the difference value measuring illumination in illumination;
Often organize in measurement illumination according to this and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
In the 4th kind of possible embodiment, often organize in measurement illumination according to this and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities between this at least two measurement illumination meets calibration condition includes:
When often organizing the difference value measuring illumination in measurement illumination and being respectively less than the first predetermined threshold value, it is determined that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition; Or,
When often organizing the difference value of arbitrary group of the difference value measuring illumination in measurement illumination less than the first predetermined threshold value, it is determined that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition; Or,
When measure the difference value of illumination less than the number of the measurements illumination group of the first predetermined threshold value more than the second predetermined threshold value time, it is determined that the differences of illumination intensities between this at least two measurement illumination meets calibration condition.
In the 5th kind of possible embodiment, acquisition often group is measured the difference value measuring illumination in illumination and is included:
Utilizing difference value computing formula to calculate this and often organize the difference value measuring illumination in measurement illumination, this difference value computing formula is:
��=| E-A |/A*100%
Wherein, �� is the difference value of this measurement illumination, E=D*C, C=A/B, and A is this default illumination, and B and D is that this often organizes two measurement brightness values that measurement illumination includes.
In the 6th kind of possible embodiment, measure illumination according to this default illumination with this at least two, obtain calibration factor and include:
The ratio of this default illumination Yu specified measurement illumination is retrieved as this calibration factor, and this specified measurement illumination is any one measurement illumination that this at least two is measured in illumination; Or,
This specified measurement illumination is that this at least two measures measurement illumination minimum in illumination; Or,
This specified measurement illumination is that this at least two measures measurement illumination maximum in illumination; Or,
This specified measurement illumination is the meansigma methods that this at least two measures illumination.
In the 7th kind of possible embodiment, the calibration steps of above-mentioned light sensor also includes:
If the differences of illumination intensities that this at least two is measured between illumination does not meet this calibration condition, then obtaining the fault type of the light sensor of this terminal to be calibrated, this fault type includes this light sensor material fault, this light sensor assembles at least one in fault.
Above-mentioned all optional technical schemes, it is possible to adopting and arbitrarily combine the alternative embodiment forming the disclosure, this is no longer going to repeat them.
Fig. 2 is the flow chart of a kind of light sensor calibration steps according to an exemplary embodiment, as in figure 2 it is shown, this light sensor calibration steps comprises the following steps.
In step 210, terminal to be calibrated is successively positioned at least two light box, and utilize the light sensor of this terminal to be calibrated that light illumination in this at least two light box is measured, and obtaining at least two and measure illumination, this at least two light box has same default illumination, different-colour.
Present disclose provides a kind of method that light sensor treated in calibrating terminal is calibrated, briefly, it it is exactly the calibration factor obtaining above-mentioned light sensor, and utilize this calibration factor that the output valve of above-mentioned light sensor is calibrated, wherein, calibration factor can be obtained compared with the illumination that above-mentioned light sensor is measured by the actual illumination of light, therefore, the disclosure is necessary to utilize above-mentioned light sensor to measure to obtain measuring illumination to the light of known illumination, in addition, again owing to the light sensor in terminal to be calibrated may be checked colors temp. sensitive, that is to say, in different-colour environment, the measured value of equal illumination light be would be likely to occur bigger gap, such as, larger difference is there is by light sensor in the measured value of same illumination light in the environment that red color light component is more and in the environment that blue light ingredient is more, but, in practical application, the measured value requiring light sensor can not have greatly changed along with colour temperature change, therefore, whether the disclosure also needs to detect above-mentioned light sensor and checks colors temp. sensitive, if it is not checked colors, temp. sensitive is just necessary to be calibrated the acquisition of coefficient, so, in order to reach object above, the disclosure can perform the technical process of step 210, by step 210, the disclosure obtains the above-mentioned light sensor measurement illumination to known illumination light on the one hand, obtain on the other hand measurement illumination that same illumination light records by above-mentioned light sensor in different-colour environment to judge whether light sensor checks colors temp. sensitive, the detailed process of step 210 is as shown in Figure 3.
It is to be noted, above-mentioned at least two light box is can according to setting the equipment providing certain illumination and certain color temperature light, wherein, illumination is the abbreviation of intensity of illumination, and it is the energy of visible ray accepted on unit area, and unit is lux (Lx), and colour temperature is for representing the color of light, unit is Kelvin (K), and when color and the black matrix radiant light form and aspect at a certain temperature of light while, the temperature of black matrix is the colour temperature of this light.
In an embodiment of the disclosure, owing in light box, diverse location illumination there are differences, therefore to ensure that above-mentioned terminal to be calibrated location illumination in each light box is identical, it is necessary to this terminal to be calibrated to be positioned over the same position of above-mentioned at least two light box.
Additionally, in order to avoid in light box, the difference existed between light box illumination set in advance is caused error to the calculating of calibration factor by diverse location illumination and technical staff, normal luminance measurement can be used to measure this terminal to be calibrated illumination on present position in each light box, that is to say, normal luminance measurement can be utilized to measure above-mentioned default illumination, it is of course also possible to directly using light box illumination set in advance for technical staff as above-mentioned default illumination, this disclosure is not specifically limited.
Measure in the process of light illumination utilizing light sensor, to each light box, light sensor can only be measured once, obtain a measured value, this measured value is the measurement illumination that current light box is corresponding, certainly, in order to improve accuracy, eliminate incidental error, to each light box, above-mentioned light sensor can take multiple measurements, obtain multiple measured value, terminal to be calibrated can calculate the meansigma methods of the plurality of measured value, and using this meansigma methods as measurement illumination corresponding to current light box, the acquisition mode that above-mentioned at least two is measured illumination by the disclosure is not specifically limited.
In a step 220, this at least two is measured each two measurement illumination in illumination and is retrieved as one group of measurement illumination by terminal to be calibrated.
Step 220 and following step 230 to 240 are whether the differences of illumination intensities detected between this at least two measurement illumination meets calibration condition, that is to say in detection terminal to be calibrated, whether light sensor checks colors temp. sensitive, the temp. sensitive if it is not checked colors, then meet calibration condition, the temp. sensitive if it is checked colors, then do not meet calibration condition, whether the differences of illumination intensities measured between illumination to detect this at least two meets calibration condition, need to calculate each two in this at least two measurement illumination and measure the difference value between illumination, for this, the disclosure needs to perform the technical process of step 220.
By the technical process of step 210, the disclosure obtains at least two and measures illumination, in a step 220, the disclosure needs that this at least two is measured each two measurement illumination in illumination and is retrieved as one group, such as, if step 210 only obtaining two measure illumination, respectively A, B, A and B then can be retrieved as one group in a step 220 and measure illumination, if step 210 obtaining 4 measure illumination, respectively C, D, E, F, then in a step 220 can by C and D, C and E, C and F, D and E, D and F, E and F is retrieved as 6 groups and measures illumination, from the example above, if the measurement illumination obtained in step 210 is n, the number of the measurement illumination group then obtained in step 220 isWherein C is combinatorial operation symbol, and subscript n is the number of the measurement illumination obtained in step 210, is above designated as 2, that is to say that often group measures the measurement illumination number comprised in illumination.
In step 230, terminal to be calibrated obtains often group and measures the difference value measuring illumination in illumination.
It should be noted that, what above-mentioned difference value represented is that often group measures the gap size measuring illumination in illumination, this difference value can calculate acquisition by the multiple computing mode such as subtraction, division arithmetic, and above-mentioned difference value is obtained the disclosure particular content and computational methods all do not limit.
Specifically, this difference value can calculate according to difference value computing formula and obtain, and this difference value computing formula can be:
��=| E-A |/A*100%
Wherein, E=D*C, C=A/B, A is for presetting illumination, and B and D is that this often organizes two measurement brightness values that measurement illumination includes, and �� is difference value, and " * " is multiplication operator, and "/" is division arithmetic symbol, | | for asking signed magnitude arithmetic(al) to accord with.
Such as, if one group is measured and measures brightness value respectively 80Lx and 82Lx in illumination, default illumination is 75Lx, then through calculated difference value be 3%.
Certainly, in addition, also having other to obtain often group and measure the mode measuring differences of illumination intensities value in illumination in the scope of disclosure step 230, the disclosure is exhaustive no longer one by one at this.
In step 240, terminal to be calibrated is often organized in measurement illumination according to this and is measured the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
It should be noted that, step 240 is often organized in measurement illumination according to this and measures the numerical relation between the difference value of illumination and the first predetermined threshold value, determine that this at least two is measured the differences of illumination intensities between illumination and whether met the mode of calibration condition and can have a variety of, corresponding to different determination modes, above-mentioned first predetermined threshold value is also had nothing in common with each other, above-mentioned first predetermined threshold value, to determining whether that the mode meeting calibration condition is not specifically limited, is also not specifically limited by the disclosure.
In order to enable those skilled in the art to realize the technical scheme of the disclosure according to the content of present disclosure specification, present disclose provides following three kinds of methods determining whether to meet calibration condition.
The first, when often organizing the difference value measuring illumination in measurement illumination and being respectively less than the first predetermined threshold value, it is determined that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
Such as, if step 220 obtaining three groups measure illumination, wherein often group measures the measurement illumination respectively 80Lx and 82Lx, 80Lx and 84Lx and 82Lx and the 84Lx that comprise in illumination, according to above-mentioned difference value computing formula, calculate above-mentioned three groups and measure in illumination the difference value respectively 3%, 4.7% and 2.3% measuring illumination, if the first predetermined threshold value is 10%, the difference value that then above-mentioned often group measures illumination is respectively less than the first predetermined threshold value, that is to say that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
The second, when often organizing the difference value of arbitrary group of the difference value measuring illumination in measurement illumination less than the first predetermined threshold value, it is determined that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
Such as, if step 220 obtaining three groups measure illumination, wherein often group measures the measurement illumination respectively 80Lx and 82Lx, 80Lx and 100Lx and 82Lx and the 100Lx that comprise in illumination, according to above-mentioned difference value computing formula, calculate above-mentioned three groups and measure in illumination the difference value respectively 3%, 20% and 18% measuring illumination, if the first predetermined threshold value is 10%, then wherein there is one group of difference value measuring illumination less than the first predetermined threshold value, that is to say that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
The third, when measure the difference value of illumination less than the number of the measurements illumination group of the first predetermined threshold value more than the second predetermined threshold value time, it is determined that the differences of illumination intensities between this at least two measurement illumination meets calibration condition.
Such as, if step 220 obtaining six groups measure illumination, wherein often group measures measurement illumination respectively 80Lx and the 86Lx comprised in illumination, 80Lx and 95Lx, 86Lx and 95Lx, 80Lx and 82Lx, 86Lx and 82Lx and 82Lx and 95Lx, according to above-mentioned difference value computing formula, calculate above-mentioned six groups and measure in illumination the difference value respectively 6.9% measuring illumination, 15.7%, 9.4%, 3%, 4.6% and 13.6%, if the first predetermined threshold value is 10%, then there are 4 groups of difference value measuring illumination less than the first predetermined threshold value, if the second predetermined threshold value is 2, then measure the difference value of the illumination number less than the measurement illumination group of the first predetermined threshold value more than the second predetermined threshold value, that is to say that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
In step 250, if the differences of illumination intensities that this at least two is measured between illumination meets this calibration condition, then the ratio of this default illumination Yu specified measurement illumination is retrieved as this calibration factor by terminal to be calibrated, and this calibration factor is for being calibrated the light sensor of this terminal to be calibrated.
If the differences of illumination intensities that this at least two is measured between illumination meets this calibration condition, then illustrate in terminal to be calibrated that light sensor is not checked colors temp. sensitive, in this case, the calibration factor of this light sensor can be obtained, this calibration factor is the ratio presetting illumination with specified measurement illumination, this specified measurement illumination is measured illumination according to above-mentioned at least two and is determined, and, the defining method of this specified measurement illumination can have a variety of, the disclosure only illustrates following four by way of example at this, under the premise without departing from disclosure scope, the technical scheme of the disclosure should also be as containing other methods determining specified measurement illumination.
The first, this specified measurement illumination is any one measurement illumination that this at least two is measured in illumination.
Such as, it can be 80Lx, 86Lx and 95Lx that this at least two measures illumination, then choosing any of which measurement brightness value is specified measurement illumination, and e.g., 80Lx can be used as specified measurement illumination, if presetting illumination is 75Lx, then calibration factor ��=0.93.
The second, this specified measurement illumination is that this at least two measures measurement illumination minimum in illumination.
Such as, it can be 80Lx, 86Lx and 95Lx that this at least two measures illumination, then choosing wherein minimum measurement brightness value is specified measurement illumination, that is to say, 80Lx is as specified measurement illumination, if presetting illumination is 75Lx, then calibration factor ��=0.93.
The third, this specified measurement illumination is that this at least two measures measurement illumination maximum in illumination.
Such as, it can be 80Lx, 86Lx and 95Lx that this at least two measures illumination, then choosing maximum of which measurement brightness value is specified measurement illumination, that is to say, 95Lx is as specified measurement illumination, if presetting illumination is 75Lx, then calibration factor ��=0.79.
4th kind, this specified measurement illumination is the meansigma methods that this at least two measures illumination.
Such as, it can be 80Lx, 86Lx and 95Lx that this at least two measures illumination, then its meansigma methods is 87Lx, that is to say, 87Lx is as specified measurement illumination, if presetting illumination is 75Lx, then calibration factor ��=0.86.
In an embodiment of the disclosure, if the differences of illumination intensities that this at least two is measured between illumination does not meet this calibration condition, then illustrate that light sensor is checked colors temp. sensitive, then terminal to be calibrated needs to obtain the fault type of this light sensor, so that according to this fault type, corresponding processing method is adopted to eliminate the light sensor sensitivity to colour temperature, above-mentioned fault type can include assembling screen ink light transmittance on fault, material fault, light sensor and be forbidden, and the particular content of above-mentioned fault type is not limited by the disclosure.
It should be noted that, in actual application, terminal to be calibrated is likely to obtain calibration factor, then terminal to be calibrated has only to directly obtain this calibration factor from this locality, and utilize the output valve of this calibration factor calibration light sensor, in such a case, it is possible to directly perform step 260.
In step 260, the measurement brightness value that light sensor is exported by terminal to be calibrated is multiplied with this calibration factor, is calibrated light illumination.
Obviously, calibration factor is the ratio between the actual illumination of light and the illumination of light sensor measurement, therefore, in order to be calibrated light illumination, that is to say and obtain actual illumination, can be multiplied with calibration factor with the measurement brightness value of light sensor output, that is to say, it is possible to the illumination measured with light sensor is multiplied with calibration factor.
Such as the example above, calibration factor ��=0.93, the measurement brightness value of light sensor output can be 80Lx, then calibrating illumination by calculating is 75Lx.
In sum, the calibration steps of the light sensor that the present embodiment provides, by detecting whether light sensor in the terminal to be calibrated difference at different-colour but between the multiple light illumination recorded under at least two environment of equal illumination meets calibration condition, if meeting, then illustrate that light sensor is insensitive to colour temperature, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is less, in this case calibration factor can then be obtained, and in the process of follow-up measurement illumination, utilize this calibration factor that light sensor is calibrated, if not meeting, then illustrate that light sensor is checked colors temp. sensitive, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is bigger, then can detect and obtain the fault type of light sensor in subsequent step, thus eliminating the light sensor sensitivity to colour temperature, also make light sensor that the measurement of illumination is more accurate.
Fig. 4 is the block diagram of a kind of light sensor calibrating installation 400 according to an exemplary embodiment. With reference to Fig. 4, this device includes measurement module 410, detection module 420 and acquisition module 430.
This measurement module 410, detects for using the light sensor of terminal to be calibrated that at least two is preset photoenvironment, obtains at least two and measure illumination, and this at least two is preset photoenvironment and had same default illumination, different-colour.
In an embodiment of the disclosure, this measurement module 410 is used for: utilizing the light sensor of this terminal to be calibrated that light illumination at least two light box is measured, this at least two light box has same default illumination, different-colour.
Wherein, this terminal to be calibrated is positioned over the same position in this at least two light box.
This detection module 420, whether the differences of illumination intensities that this at least two obtained for detecting this measurement module 410 is measured between illumination meets calibration condition.
In an embodiment of the disclosure, this detection module 420 is used for: this at least two is measured each two measurement illumination in illumination and is retrieved as one group of measurement illumination; Obtain often group and measure the difference value measuring illumination in illumination; Often organize in measurement illumination according to this and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities that this at least two is measured between illumination meets calibration condition.
In an embodiment of the disclosure, this detection module 420 is used for: when often organizing the difference value measuring illumination in measurement illumination and being respectively less than the first predetermined threshold value, it is determined that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition; Or, when often organizing the difference value of arbitrary group of the difference value measuring illumination in measurement illumination less than the first predetermined threshold value, it is determined that the differences of illumination intensities that this at least two is measured between illumination meets calibration condition; Or, when measure the difference value of illumination less than the number of the measurements illumination group of the first predetermined threshold value more than the second predetermined threshold value time, it is determined that the differences of illumination intensities between this at least two measurement illumination meets calibration condition.
In an embodiment of the disclosure, this detection module 420 is used for: utilizing difference value computing formula to calculate this and often organize the difference value measuring illumination in measurement illumination, this difference value computing formula is:
��=| E-A |/A*100%
Wherein, �� is the difference value of this measurement illumination, E=D*C, C=A/B, and A is this default illumination, and B and D is that this often organizes two measurement brightness values that measurement illumination includes.
This acquisition module 430, if the differences of illumination intensities measured between illumination for this at least two meets this calibration condition, then measuring illumination according to this default illumination with this at least two, obtain calibration factor, this calibration factor is for being calibrated the light sensor of this terminal to be calibrated.
In an embodiment of the disclosure, this acquisition module 430 is used for: the ratio of this default illumination Yu specified measurement illumination is retrieved as this calibration factor, and this specified measurement illumination is any one measurement illumination that this at least two is measured in illumination; Or, this specified measurement illumination is that this at least two measures measurement illumination minimum in illumination; Or, this specified measurement illumination is that this at least two measures measurement illumination maximum in illumination; Or, this specified measurement illumination is the meansigma methods that this at least two measures illumination.
Referring to Fig. 5, in another embodiment of the disclosure, additionally providing another kind of light sensor calibrating installation 500, this device, based on the example structure of above-mentioned Fig. 4, also includes fault acquisition module 440.
This fault acquisition module 440, if the differences of illumination intensities measured between illumination for this at least two does not meet this calibration condition, then obtaining the fault type of the light sensor of this terminal to be calibrated, this fault type includes this light sensor material fault, this light sensor assembles at least one in fault.
In sum, the light sensor calibrating installation that the present embodiment provides, by detecting whether light sensor in the terminal to be calibrated difference at different-colour but between the multiple light illumination recorded under at least two environment of equal illumination meets calibration condition, if meeting, then illustrate that light sensor is insensitive to colour temperature, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is less, in this case calibration factor can then be obtained, and in the process of follow-up measurement illumination, utilize this calibration factor that light sensor is calibrated, if not meeting, then illustrate that light sensor is checked colors temp. sensitive, that is to say, the impact that above-mentioned light sensor is measured by colour temperature is bigger, then can detect and obtain the fault type of light sensor in subsequent step, thus eliminating the light sensor sensitivity to colour temperature, also make light sensor that the measurement of illumination is more accurate.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate has been described in detail in about the embodiment of the method, and explanation will be not set forth in detail herein.
Fig. 6 is the block diagram of a kind of terminal 600 according to an exemplary embodiment. This terminal 600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, personal digital assistant etc.
With reference to Fig. 6, terminal 600 can include following one or more assembly: processes assembly 602, memorizer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, and communications component 616.
Process assembly 602 and generally control the integrated operation of terminal 600, such as with display, call, data communication, the operation that camera operation and record operation are associated. Process assembly 602 and can include one or more processor 620 to perform instruction, to complete all or part of step of above-mentioned method. Additionally, process assembly 602 can include one or more module, it is simple to what process between assembly 602 and other assemblies is mutual. Such as, process assembly 602 and can include multi-media module, with facilitate multimedia groupware 608 and process between assembly 602 mutual.
Memorizer 604 is configured to store various types of data to support the operation in terminal 600. The example of these data includes any application program for operation in terminal 600 or the instruction of method, contact data, telephone book data, message, picture, video etc. Memorizer 604 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 606 is terminal 600 provide electric power. Power supply module 606 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for terminal 600, the assembly that electric power is associated.
Multimedia groupware 608 includes the screen providing an output interface between described terminal 600 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel. Described touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 608 includes a front-facing camera and/or post-positioned pick-up head. When terminal 600 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to output and/or input audio signal. Such as, audio-frequency assembly 610 includes a mike (MIC), and when terminal 600 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal.The audio signal received can be further stored at memorizer 604 or send via communications component 616. In certain embodiments, audio-frequency assembly 610 also includes a speaker, is used for exporting audio signal.
I/O interface 612 provides interface for processing between assembly 602 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc. These buttons may include but be not limited to: home button, volume button, startup button and locking press button.
Sensor cluster 614 includes one or more sensor, for providing the state estimation of various aspects for terminal 600. Such as, what sensor cluster 614 can detect terminal 600 opens/closed mode, the relative localization of assembly, such as described assembly is display and the keypad of terminal 600, sensor cluster 614 can also detect terminal 600 or the position change of 600 1 assemblies of terminal, the presence or absence that user contacts with terminal 600, the variations in temperature of terminal 600 orientation or acceleration/deceleration and terminal 600. Sensor cluster 614 can include proximity transducer, is configured to when not having any physical contact object near detection. Sensor cluster 614 can also include light sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor cluster 614 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to facilitate between terminal 600 and other equipment the communication of wired or wireless mode. Terminal 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In one exemplary embodiment, communication component 616 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel. In one exemplary embodiment, described communication component 616 also includes near-field communication (NFC) module, to promote junction service. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 600 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, is used for performing said method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 604 of instruction, above-mentioned instruction can have been performed said method by the processor 620 of terminal 600. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, mobile terminal is made to be able to carry out following method: to use the light sensor of terminal to be calibrated that at least two is preset photoenvironment and detect, obtain at least two and measure illumination, this at least two is preset photoenvironment and is had same default illumination, different-colour, whether the differences of illumination intensities detected between this at least two measurement illumination meets calibration condition, if the differences of illumination intensities that this at least two is measured between illumination meets this calibration condition, then measure illumination according to this default illumination with this at least two, obtain calibration factor, this calibration factor is for being calibrated the light sensor of this terminal to be calibrated.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other embodiment of the disclosure.The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means. Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim above.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope. The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a light sensor calibration steps, it is characterised in that described method includes:
At least two is preset photoenvironment and is detected by the light sensor using terminal to be calibrated, obtains at least two and measures illumination, and described at least two is preset photoenvironment and had same default illumination, different-colour;
Whether the differences of illumination intensities detected between described at least two measurement illumination meets calibration condition;
If the differences of illumination intensities that described at least two is measured between illumination meets described calibration condition, then measure illumination according to described default illumination with described at least two, obtaining calibration factor, described calibration factor is for being calibrated the light sensor of described terminal to be calibrated.
2. method according to claim 1, it is characterised in that the default photoenvironment of at least two is carried out detection and includes by the light sensor of described use terminal to be calibrated:
Described terminal to be calibrated being successively positioned at least two light box, and utilize the light sensor of described terminal to be calibrated that light illumination in described at least two light box is measured, described at least two light box has same default illumination, different-colour.
3. method according to claim 2, it is characterised in that described terminal to be calibrated is positioned over the same position in described at least two light box.
4. method according to claim 1, it is characterised in that detect described at least two and measure the differences of illumination intensities between illumination and whether meet calibration condition and include:
Described at least two is measured each two measurement illumination in illumination and is retrieved as one group of measurement illumination;
Obtain often group and measure the difference value measuring illumination in illumination;
Measure in illumination according to described often group and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities that described at least two is measured between illumination meets calibration condition.
5. method according to claim 4, it is characterized in that, measure in illumination according to described often group and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities between described at least two measurement illumination meets calibration condition includes:
When often organizing the difference value measuring illumination in measurement illumination and being respectively less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When often organizing the difference value of arbitrary group of the difference value measuring illumination in measurement illumination less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When measure the difference value of illumination less than the number of the measurements illumination group of the first predetermined threshold value more than the second predetermined threshold value time, it is determined that the differences of illumination intensities between described at least two measurement illumination meets calibration condition.
6. method according to claim 4, it is characterised in that acquisition often group is measured the difference value measuring illumination in illumination and included:
Utilizing difference value computing formula to calculate described often group and measure the difference value measuring illumination in illumination, described difference value computing formula is:
��=| E-A |/A*100%
Wherein, �� is the difference value of described measurement illumination, E=D*C, C=A/B, and A is described default illumination, and B and D is two measurement brightness values that described often group measures that illumination includes.
7. method according to claim 1, it is characterised in that measure illumination with described at least two according to described default illumination, obtains calibration factor and includes:
The ratio of described default illumination Yu specified measurement illumination is retrieved as described calibration factor, and described specified measurement illumination is any one measurement illumination that described at least two is measured in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination minimum in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination maximum in illumination; Or,
Described specified measurement illumination is the meansigma methods that described at least two measures illumination.
8. method according to claim 1, it is characterised in that described method also includes:
If the differences of illumination intensities that described at least two is measured between illumination does not meet described calibration condition, then obtaining the fault type of the light sensor of described terminal to be calibrated, described fault type includes described light sensor material fault, described light sensor assembles at least one in fault.
9. a light sensor calibrating installation, it is characterised in that described device includes:
Measurement module, detects for using the light sensor of terminal to be calibrated that at least two is preset photoenvironment, obtains at least two and measure illumination, and described at least two is preset photoenvironment and had same default illumination, different-colour;
Detection module, whether the differences of illumination intensities that the described at least two obtained for detecting described measurement module is measured between illumination meets calibration condition;
Acquisition module, if the differences of illumination intensities measured between illumination for described at least two meets described calibration condition, then measuring illumination according to described default illumination with described at least two, obtain calibration factor, described calibration factor is for being calibrated the light sensor of described terminal to be calibrated.
10. device according to claim 9, it is characterised in that described measurement module is used for:
Light illumination at least two light box is measured by the light sensor utilizing described terminal to be calibrated, and described at least two light box has same default illumination, different-colour.
11. device according to claim 9, it is characterised in that described terminal to be calibrated is positioned over the same position in described at least two light box.
12. device according to claim 9, it is characterised in that described detection module is used for:
Described at least two is measured each two measurement illumination in illumination and is retrieved as one group of measurement illumination;
Obtain often group and measure the difference value measuring illumination in illumination;
Measure in illumination according to described often group and measure the numerical relation between the difference value of illumination and the first predetermined threshold value, it is determined that whether the differences of illumination intensities that described at least two is measured between illumination meets calibration condition.
13. device according to claim 12, it is characterised in that described detection module is used for:
When often organizing the difference value measuring illumination in measurement illumination and being respectively less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When often organizing the difference value of arbitrary group of the difference value measuring illumination in measurement illumination less than the first predetermined threshold value, it is determined that the differences of illumination intensities that described at least two is measured between illumination meets calibration condition; Or,
When measure the difference value of illumination less than the number of the measurements illumination group of the first predetermined threshold value more than the second predetermined threshold value time, it is determined that the differences of illumination intensities between described at least two measurement illumination meets calibration condition.
14. device according to claim 12, it is characterised in that described detection module is used for:
Utilizing difference value computing formula to calculate described often group and measure the difference value measuring illumination in illumination, described difference value computing formula is:
��=| E-A |/A*100%
Wherein, �� is the difference value of described measurement illumination, E=D*C, C=A/B, and A is described default illumination, and B and D is two measurement brightness values that described often group measures that illumination includes.
15. device according to claim 9, it is characterised in that described acquisition module is used for:
The ratio of described default illumination Yu specified measurement illumination is retrieved as described calibration factor, and described specified measurement illumination is any one measurement illumination that described at least two is measured in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination minimum in illumination; Or,
Described specified measurement illumination is that described at least two measures measurement illumination maximum in illumination; Or,
Described specified measurement illumination is the meansigma methods that described at least two measures illumination.
16. device according to claim 9, it is characterised in that described device also includes:
Fault acquisition module, if the differences of illumination intensities measured between illumination for described at least two does not meet described calibration condition, then obtaining the fault type of the light sensor of described terminal to be calibrated, described fault type includes described light sensor material fault, described light sensor assembles at least one in fault.
17. a light sensor calibrating installation, it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
At least two is preset photoenvironment and is detected by the light sensor using terminal to be calibrated, obtains at least two and measures illumination, and described at least two is preset photoenvironment and had same default illumination, different-colour;
Whether the differences of illumination intensities detected between described at least two measurement illumination meets calibration condition;
If the differences of illumination intensities that described at least two is measured between illumination meets described calibration condition, then measure illumination according to described default illumination with described at least two, obtaining calibration factor, described calibration factor is for being calibrated the light sensor of described terminal to be calibrated.
CN201510989943.6A 2015-12-24 2015-12-24 light sensor calibration method and device Active CN105651381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510989943.6A CN105651381B (en) 2015-12-24 2015-12-24 light sensor calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510989943.6A CN105651381B (en) 2015-12-24 2015-12-24 light sensor calibration method and device

Publications (2)

Publication Number Publication Date
CN105651381A true CN105651381A (en) 2016-06-08
CN105651381B CN105651381B (en) 2018-02-23

Family

ID=56476864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510989943.6A Active CN105651381B (en) 2015-12-24 2015-12-24 light sensor calibration method and device

Country Status (1)

Country Link
CN (1) CN105651381B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106568468A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Automatic test calibration system based on light sensor and method thereof
CN107367327A (en) * 2017-07-18 2017-11-21 广东欧珀移动通信有限公司 Calibration method, device, mobile terminal and the readable storage medium storing program for executing of optical sensor
CN108154865A (en) * 2017-12-05 2018-06-12 北京小米移动软件有限公司 Adjust the method and device of screen color temp
CN108600736A (en) * 2018-03-01 2018-09-28 广东欧珀移动通信有限公司 Terminal light sensation calibration method, device, terminal and storage medium
CN110796996A (en) * 2018-08-02 2020-02-14 Oppo(重庆)智能科技有限公司 Color temperature calibration method and device for mobile terminal, electronic equipment and storage medium
CN110821563A (en) * 2019-10-29 2020-02-21 天地(常州)自动化股份有限公司 Identification method and device
CN110876180A (en) * 2018-08-31 2020-03-10 Oppo广东移动通信有限公司 Power consumption processing method and device, electronic equipment and computer readable medium
CN113091890A (en) * 2021-03-22 2021-07-09 北京小米移动软件有限公司 Calibration method of optical sensor, optical sensor and electronic device with optical sensor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3940753A (en) * 1973-09-25 1976-02-24 Cerberus Ag Detection of presence or absence of flames
US4352017A (en) * 1980-09-22 1982-09-28 Rca Corporation Apparatus for determining the quality of a semiconductor surface
CN102265707A (en) * 2011-04-29 2011-11-30 华为终端有限公司 Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN102322946A (en) * 2011-07-22 2012-01-18 惠州Tcl移动通信有限公司 Calibration method and system for optical sensor of mobile phone
CN102466515A (en) * 2010-11-11 2012-05-23 比亚迪股份有限公司 Method and system for calibrating optical sensor of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3940753A (en) * 1973-09-25 1976-02-24 Cerberus Ag Detection of presence or absence of flames
US4352017A (en) * 1980-09-22 1982-09-28 Rca Corporation Apparatus for determining the quality of a semiconductor surface
CN102466515A (en) * 2010-11-11 2012-05-23 比亚迪股份有限公司 Method and system for calibrating optical sensor of mobile terminal
CN102265707A (en) * 2011-04-29 2011-11-30 华为终端有限公司 Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN102322946A (en) * 2011-07-22 2012-01-18 惠州Tcl移动通信有限公司 Calibration method and system for optical sensor of mobile phone

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106568468B (en) * 2016-10-31 2019-02-12 努比亚技术有限公司 Automatic test calibration system and method based on light sensor
CN106568468A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Automatic test calibration system based on light sensor and method thereof
CN107367327A (en) * 2017-07-18 2017-11-21 广东欧珀移动通信有限公司 Calibration method, device, mobile terminal and the readable storage medium storing program for executing of optical sensor
CN108154865A (en) * 2017-12-05 2018-06-12 北京小米移动软件有限公司 Adjust the method and device of screen color temp
CN108600736B (en) * 2018-03-01 2020-04-17 Oppo广东移动通信有限公司 Terminal light sensation calibration method and device, terminal and storage medium
CN108600736A (en) * 2018-03-01 2018-09-28 广东欧珀移动通信有限公司 Terminal light sensation calibration method, device, terminal and storage medium
CN110796996B (en) * 2018-08-02 2021-03-16 Oppo(重庆)智能科技有限公司 Color temperature calibration method and device for mobile terminal, electronic equipment and storage medium
CN110796996A (en) * 2018-08-02 2020-02-14 Oppo(重庆)智能科技有限公司 Color temperature calibration method and device for mobile terminal, electronic equipment and storage medium
CN110876180A (en) * 2018-08-31 2020-03-10 Oppo广东移动通信有限公司 Power consumption processing method and device, electronic equipment and computer readable medium
CN110876180B (en) * 2018-08-31 2023-08-29 Oppo广东移动通信有限公司 Power consumption processing method and device, electronic equipment and computer readable medium
CN110821563A (en) * 2019-10-29 2020-02-21 天地(常州)自动化股份有限公司 Identification method and device
CN113091890A (en) * 2021-03-22 2021-07-09 北京小米移动软件有限公司 Calibration method of optical sensor, optical sensor and electronic device with optical sensor
EP4063807A1 (en) * 2021-03-22 2022-09-28 Beijing Xiaomi Mobile Software Co., Ltd. Method for calibrating optical sensor, optical sensor and related electronic device

Also Published As

Publication number Publication date
CN105651381B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN105651381A (en) Light sensor calibration method and device
EP3396658B1 (en) Method and apparatus for adjusting screen color and storage medium
CN112449026B (en) Ambient light compensation method, device, terminal and storage medium
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN108716950A (en) Environmental light brightness acquisition methods and device
CN105469003B (en) screen protection method and device
CN106325521A (en) Method and device for testing virtual reality head-wearing display device software
CN106373156A (en) Method and apparatus for determining spatial parameter by image and terminal device
CN105100764A (en) Photographing method and device
CN111380610B (en) Ambient light detection method and apparatus, electronic device, and storage medium
CN106339695A (en) Face similarity detection method, device and terminal
CN112116888B (en) Screen calibration method, calibration device and storage medium
CN104980662A (en) Method for adjusting imaging style in shooting process, device thereof and imaging device
CN104038882A (en) Loudspeaker debugging model calibration method and loudspeaker debugging method and device
CN106408567A (en) Imaging quality detection method and apparatus of camera
CN105513067A (en) Image definition detection method and device
CN107677377B (en) Method and device for determining color temperature
CN109461409A (en) Screen display method and device
CN106253996A (en) Sensitivity decay testing method and device
CN105787322A (en) Fingerprint identification method and apparatus as well as mobile terminal
CN107845094A (en) Pictograph detection method, device and computer-readable recording medium
CN107808626B (en) Method and device for adjusting color temperature of display screen and computer readable storage medium
CN112146758A (en) Ambient light detection device
CN104010129A (en) Image processing method, device and terminal
CN204214891U (en) Test circuit board and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant