US11994429B2ActiveUtilityA1

Method for calibrating optical sensor, optical sensor and related electronic device

Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO LTDPriority: Mar 22, 2021Filed: Jul 26, 2021Granted: May 28, 2024
Est. expiryMar 22, 2041(~14.6 yrs left)· nominal 20-yr term from priority
Inventors:Chaoxi Chen
G01J 3/30G01J 1/4204G01J 5/025G01J 5/60G01J 2003/283G01J 5/80G01J 1/00G01J 3/28
64
PatentIndex Score
0
Cited by
5
References
20
Claims

Abstract

The present disclosure relates to a method for calibrating an optical sensor, an optical sensor and a related electronic device. The method includes: acquiring a plurality of spectral detection values of ambient light collected by the optical sensor; acquiring a plurality of first parameter detection values of the ambient light and the corresponding plurality of second parameter detection values according to the plurality of spectral detection values, a type of the first parameter detection values being different from a type of the second parameter detection values; determining at least one effective detection value from the plurality of first parameter detection values according to the plurality of second parameter detection values; and calibrating the optical sensor according to the at least one effective detection value.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A method for calibrating an optical sensor, comprising:
 acquiring a plurality of spectral detection values of ambient light collected by the optical sensor; 
 acquiring a plurality of first parameter detection values of the ambient light and a plurality of second parameter detection values of the ambient light according to the plurality of spectral detection values, a type of the first parameter detection values being different from a type of the second parameter detection values; 
 determining at least one effective detection value from the plurality of first parameter detection values according to the plurality of second parameter detection values; and 
 calibrating the optical sensor according to the at least one effective detection value. 
 
     
     
       2. The method of  claim 1 , wherein determining the at least one effective detection value from the plurality of first parameter detection values according to the plurality of second parameter detection values comprises:
 when any second parameter detection value satisfies a preset interval, determining the first parameter detection value corresponding to the second parameter detection value as the effective detection value. 
 
     
     
       3. The method of  claim 2 , further comprising:
 determining whether any first parameter detection value and a corresponding second parameter detection value satisfy a function relationship; 
 when determining to satisfy the function relationship, determining the first parameter detection value corresponding to the second parameter detection value as the effective detection value. 
 
     
     
       4. The method of  claim 1 , wherein, the first parameter detection value is one of an illumination intensity detection value, a color temperature detection value, a stroboscopic detection value, and a spectral detection value, and the second parameter detection value is one of an illumination intensity detection value, a color temperature detection value, a stroboscopic detection value, and a spectral detection value. 
     
     
       5. The method of  claim 2 , further comprising:
 acquiring a numerical fluctuation value of any second parameter detection value within a preset first time range; 
 when the numerical fluctuation value of the second parameter detection value is less than or equal to a preset first threshold, determining the first parameter detection value corresponding to the second parameter detection value as the effective detection value. 
 
     
     
       6. The method of  claim 3 , wherein, the function relationship is obtained by:
 acquiring a standard value of any first parameter detection value; 
 obtaining a function relationship between the first parameter detection value and the standard value according to the standard value. 
 
     
     
       7. The method of  claim 6 , further comprising:
 when the second parameter detection value of the ambient light less than a preset second threshold, collecting and detecting one or more values of an illumination intensity value, a color temperature value and a stroboscopic value of the ambient light through an illuminometer, and replacing the standard value according to the one or more values. 
 
     
     
       8. The method of  claim 1 , further comprising:
 determining whether a current illumination intensity detection value of the ambient light is stable, wherein, when illumination intensity detection values are stabilized within a third threshold during a preset second time range, or collected illumination intensity detection values are linearly changed, determining that the current illumination intensity detection value is stable. 
 
     
     
       9. The method of  claim 1 , wherein,
 the corresponding relationship of the parameters is: 
 when the first parameter detection value is a color temperature detection value, the second parameter detection value is an illumination intensity detection value; 
 or, 
 when the first parameter detection value is an illumination intensity detection value, the second parameter detection value is a spectral detection value. 
 
     
     
       10. An optical sensor comprising a processor, wherein,
 optical parameters of the optical sensor are calibrated by the processor when a method for calibrating an optical sensor is performed by the processor, and the method comprises: 
 acquiring a plurality of spectral detection values of ambient light collected by the optical sensor; 
 acquiring a plurality of first parameter detection values of the ambient light and a plurality of second parameter detection values of the ambient light according to the plurality of spectral detection values, a type of the first parameter detection values being different from a type of the second parameter detection values; 
 determining at least one effective detection value from the plurality of first parameter detection values according to the plurality of second parameter detection values; and 
 calibrating the optical sensor according to the at least one effective detection value. 
 
     
     
       11. The optical sensor of  claim 10 , wherein determining the at least one effective detection value from the plurality of first parameter detection values according to the plurality of second parameter detection values comprises:
 when any second parameter detection value satisfies a preset interval, determining the first parameter detection value corresponding to the second parameter detection value as the effective detection value. 
 
     
     
       12. The optical sensor of  claim 11 , wherein the method further comprises:
 determining whether any first parameter detection value and a corresponding second parameter detection value satisfy a function relationship; 
 when determining to satisfy the function relationship, determining the first parameter detection value corresponding to the second parameter detection value as the effective detection value. 
 
     
     
       13. The optical sensor of  claim 10 , wherein, the first parameter detection value is one of an illumination intensity detection value, a color temperature detection value, a stroboscopic detection value, and a spectral detection value, and the second parameter detection value is one of an illumination intensity detection value, a color temperature detection value, a stroboscopic detection value, and a spectral detection value. 
     
     
       14. The optical sensor of  claim 11 , wherein the method further comprises:
 acquiring a numerical fluctuation value of any second parameter detection value within a preset first time range; 
 when the numerical fluctuation value of the second parameter detection value is less than or equal to a preset first threshold, determining the first parameter detection value corresponding to the second parameter detection value as the effective detection value. 
 
     
     
       15. The optical sensor of  claim 12 , wherein, the function relationship is obtained by:
 acquiring a standard value of any first parameter detection value; 
 obtaining a function relationship between the first parameter detection value and the standard value according to the standard value. 
 
     
     
       16. The optical sensor of  claim 15 , wherein, the method further comprises:
 when the second parameter detection value of the ambient light less than a preset second threshold, collecting and detecting one or more values of an illumination intensity value, a color temperature value and a stroboscopic value of the ambient light through an illuminometer, and replacing the standard value according to the one or more values. 
 
     
     
       17. The optical sensor of  claim 10 , wherein, the method further comprises:
 determining whether a current illumination intensity detection value of the ambient light is stable, wherein, when illumination intensity detection values are stabilized within a third threshold during a preset second time range, or collected illumination intensity detection values are linearly changed, determining that the current illumination intensity detection value is stable. 
 
     
     
       18. The optical sensor of  claim 10 , wherein,
 the corresponding relationship of the parameters is: 
 when the first parameter detection value is a color temperature detection value, the second parameter detection value is an illumination intensity detection value; 
 or, 
 when the first parameter detection value is an illumination intensity detection value, the second parameter detection value is a spectral detection value. 
 
     
     
       19. An electronic device, comprising an optical sensor and a processor, wherein optical parameters of the optical sensor are calibrated by the processor when according to a method for calibrating an optical sensor is performed by the processor, and the method comprises:
 acquiring a plurality of spectral detection values of ambient light collected by the optical sensor; 
 acquiring a plurality of first parameter detection values of the ambient light and a plurality of second parameter detection values of the ambient light according to the plurality of spectral detection values, a type of the first parameter detection values being different from a type of the second parameter detection values; 
 determining at least one effective detection value from the plurality of first parameter detection values according to the plurality of second parameter detection values; and 
 calibrating the optical sensor according to the at least one effective detection value. 
 
     
     
       20. The electronic device of  claim 19 , wherein determining the at least one effective detection value from the plurality of first parameter detection values according to the plurality of second parameter detection values comprises:
 when any second parameter detection value satisfies a preset interval, determining the first parameter detection value corresponding to the second parameter detection value as the effective detection value.

Join the waitlist — get patent alerts

Track US11994429B2 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.