CN112146757B - Ambient light detection device - Google Patents
Ambient light detection device Download PDFInfo
- Publication number
- CN112146757B CN112146757B CN201910568369.5A CN201910568369A CN112146757B CN 112146757 B CN112146757 B CN 112146757B CN 201910568369 A CN201910568369 A CN 201910568369A CN 112146757 B CN112146757 B CN 112146757B
- Authority
- CN
- China
- Prior art keywords
- ambient light
- display screen
- splitting prism
- response value
- circular polarizer
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 22
- 230000004298 light response Effects 0.000 claims abstract description 100
- 230000005540 biological transmission Effects 0.000 claims abstract description 9
- 238000000411 transmission spectrum Methods 0.000 claims description 83
- 230000003595 spectral effect Effects 0.000 claims description 32
- 238000001228 spectrum Methods 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 21
- 239000011159 matrix material Substances 0.000 claims description 12
- 230000003287 optical effect Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 230000010287 polarization Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 239000011521 glass Substances 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012888 cubic function Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012887 quadratic function Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J3/00—Spectrometry; Spectrophotometry; Monochromators; Measuring colours
- G01J3/46—Measurement of colour; Colour measuring devices, e.g. colorimeters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/02—Details
- G01J1/04—Optical or mechanical part supplementary adjustable parts
- G01J1/0407—Optical elements not provided otherwise, e.g. manifolds, windows, holograms, gratings
Landscapes
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- General Physics & Mathematics (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
The present disclosure relates to an ambient light detection device. The device comprises: the first circular polaroid is positioned above the display screen and covers the display screen, the beam-splitting prism is positioned below the display screen, and the second circular polaroid is positioned below the display screen and positioned on the transmission path of the beam-splitting prism; the first multichannel color sensor is positioned on a reflection path of the beam splitting prism and is used for receiving first target light reflected by the beam splitting prism, and collecting data of the first target light to obtain a first ambient light response value; the second multichannel color sensor is positioned below the second circular polaroid and is used for collecting data of the received second target light to obtain a second ambient light response value; the processor is used for determining parameters of the ambient light according to the acquired first ambient light response value and the second ambient light response value. The device provided by the disclosure carries out target light detection through the two multichannel sensors, and the determined parameters of the ambient light have high accuracy, high stability and high speed.
Description
Technical Field
The disclosure relates to the field of optical technology, and in particular, to an ambient light detection device.
Background
In the related art, parameters such as ambient light color and the like can be detected by a conventional color sensor, wherein the conventional color sensor generally has an RGB color sensor or an XYZ color sensor. With the development trend of consumer electronic products, the screen occupation ratio is larger and larger, and the sensor and the camera start to develop under-screen technology. However, in the related art, the accuracy of parameters such as the color of the ambient light obtained by measurement is low, and the measurement requirement cannot be satisfied.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an ambient light detection device.
According to a first aspect of embodiments of the present disclosure, there is provided an ambient light detection device applied to a terminal including a display screen, the device including: a first circular polarizer, a first multi-channel color sensor, a second circular polarizer, a second multi-channel color sensor, a splitting prism and a processor,
the first circular polaroid is positioned above the display screen and covers the display screen, the beam-splitting prism is positioned below the display screen, and the second circular polaroid is positioned below the display screen and is positioned on the transmission path of the beam-splitting prism;
the first multi-channel color sensor is located on a reflection path of the beam splitting prism, and is configured to receive first target light reflected by the beam splitting prism, and perform data acquisition on the first target light to obtain a first ambient light response value, where the first target light includes: at least one of the ambient light reflected by the first circular polaroid, the display screen, the beam splitting prism and the screen light emitted by the display screen and reflected by the beam splitting prism sequentially;
the second multi-channel color sensor is positioned below the second circular polarizer and is used for collecting data of received second target light to obtain a second ambient light response value, and the second target light comprises at least one of ambient light which sequentially passes through the first circular polarizer, the display screen, the light splitting prism, the second circular polarizer and screen light which is emitted by the display screen and sequentially passes through the light splitting prism;
the processor is connected with the first multi-channel color sensor and the second multi-channel color sensor and is used for determining parameters of the ambient light according to the acquired first ambient light response value and the acquired second ambient light response value.
For the above device, in one possible implementation, the first circular polarizer and the second circular polarizer are rotated in opposite directions.
For the above apparatus, in one possible implementation, the processor is further configured to:
controlling the first multi-channel color sensor and the second multi-channel color sensor to respectively acquire a plurality of groups of first initial ambient light response values and a plurality of groups of second initial ambient light response values;
calibrating the first multichannel color sensor according to the multiple groups of first initial ambient light response values, the transmission spectrum of the display screen, the reflection spectrum of the light splitting prism and a first calibration function which is determined in advance;
and calibrating the second multichannel color sensor according to the plurality of groups of second initial ambient light response values, the transmission spectrum of the first circular polarizer, the transmission spectrum of the display screen, the transmission spectrum of the beam-splitting prism, the transmission spectrum of the second circular polarizer and a predetermined second calibration function.
For the above device, in one possible implementation, the first calibration function and/or the second calibration function comprises a calibration matrix that is a product of a tri-stimulus matrix and an inverse of a spectral effect matrix.
For the above apparatus, in one possible implementation manner, determining the parameter of the ambient light according to the acquired first ambient light response value and the second ambient light response value includes:
and determining spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, transmission spectrums of the first circular polaroid, the second circular polaroid and the display screen, reflection spectrums and transmission spectrums of the beam splitting prisms.
For the above device, in one possible implementation manner, the second target light includes ambient light that sequentially passes through the first circular polarizer, the display screen, the light splitting prism, and the second circular polarizer, and screen light that is emitted by the display screen and sequentially passes through the light splitting prism, and the second circular polarizer,
wherein determining spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, and transmission spectrums of the first circular polarizer, the second circular polarizer, and the display screen, reflection spectrums and transmission spectrums of the beam-splitting prism, includes:
the spectral information of the ambient light is calculated by equation 1,
wherein A is 0 ALS1 is the spectral information of the first multi-channel color sensor determined according to the first ambient light response value, ALS2 is the spectral information of the second multi-channel color sensor determined according to the second ambient light response value, T L1 T is the reflection spectrum of the beam-splitting prism L2 T for a combined transmission spectrum determined from the transmission spectrum of the beam-splitting prism and the transmission spectrum of the second circular polarizer A1 T is a combined transmission spectrum determined according to the transmission spectrum of the first circular polaroid, the transmission spectrum of the display screen and the reflection spectrum of the light splitting prism A2 And a combined transmission spectrum determined according to the transmission spectrum of the first circular polarizer, the transmission spectrum of the display screen, the transmission spectrum of the splitting prism and the transmission spectrum of the second circular polarizer.
For the above device, in one possible implementation manner, the second target light includes screen light emitted by the display screen and transmitted through the splitting prism sequentially and passing through the second circular polarizer,
wherein determining spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, and transmission spectrums of the first circular polarizer, the second circular polarizer, and the display screen, reflection spectrums and transmission spectrums of the beam-splitting prism, includes:
the spectral information of the ambient light is calculated by equation 2,
wherein A is 0 ALS1 is the spectral information of the first multi-channel color sensor determined according to the first ambient light response value, ALS2 is the spectral information of the second multi-channel color sensor determined according to the second ambient light response value, T L1 T is the reflection spectrum of the beam-splitting prism L2 T for a combined transmission spectrum determined from the transmission spectrum of the beam-splitting prism and the transmission spectrum of the second circular polarizer A1 And the combined transmission spectrum is determined according to the transmission spectrum of the first circular polarizer, the transmission spectrum of the display screen and the reflection spectrum of the light splitting prism.
For the above-mentioned device, in one possible implementation, the parameter of the ambient light further comprises a color temperature,
wherein determining the parameter of the ambient light according to the acquired first ambient light response value and the second ambient light response value comprises:
determining spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, transmission spectrums of the first circular polarizer, the second circular polarizer and the display screen, reflection spectrums and transmission spectrums of the beam-splitting prism;
and determining the color temperature of the ambient light according to the spectrum information of the ambient light.
For the above device, in one possible implementation, the color channels of the ambient light include an X color channel, a Y color channel, and a Z color channel, the parameters of the ambient light further include illuminance,
wherein determining the parameter of the ambient light according to the acquired first ambient light response value and the second ambient light response value comprises:
and determining the illuminance of the Y color channel in the ambient light, and marking the illuminance of the Y color channel as the illuminance of the ambient light.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: the target light detection is carried out by the two multichannel sensors, so that the accuracy, the stability and the speed of the parameters of the ambient light determined by the device are high. In addition, the common light path scheme is formed by introducing the beam splitting prism, light received by the two multichannel sensors is obtained by splitting the same beam of light, the problem that errors are large in certain scenes because the light received by the two sensors are not identical is solved, and the accuracy of ambient light detection is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram showing a structure of an ambient light detection device according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating an operation principle of an ambient light detection device according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating an apparatus 800 for applying an ambient light detection apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a schematic diagram showing a structure of an ambient light detection device according to an exemplary embodiment. As shown in FIG. 1, the device can be used in terminals with display screens, such as mobile phones and computers. The device comprises: a first circular polarizer 11, a first multi-channel color sensor 12, a second circular polarizer 13, a second multi-channel color sensor 14, a dichroic prism 15, and a processor (not shown). In order to facilitate the explanation of the positional relationship of the components, the components are separated by a relatively large distance in the figure, and in fact, adjacent components in the first circular polarizer, the second circular polarizer, the display screen and the beam splitter prism are combined together.
The first circular polarizer 11 is positioned above the display screen 21 and covers the display screen 21, the light splitting prism 15 is positioned below the display screen 21, and the second circular polarizer 13 is positioned below the display screen 21 and is positioned on the transmission path of the light splitting prism 15;
the first multi-channel color sensor 12 is located on a reflection path of the beam splitter prism 15, and is configured to receive a first target light reflected by the beam splitter prism 15, and perform data acquisition on the first target light to obtain a first ambient light response value, where the first target light includes: at least one of the ambient light reflected by the first circular polarizer 11, the display screen 12, the splitting prism 15, and the screen light emitted by the display screen 21 and reflected by the splitting prism 15 is sequentially passed.
The second multi-channel color sensor 14 is located below the second circular polarizer 13, and is configured to perform data acquisition on the received second target light to obtain a second ambient light response value. The second target light includes at least one of the ambient light transmitted through the first circular polarizer 11, the display screen, the prism 15, and the second circular polarizer 13 in this order, and the screen light emitted from the display screen and transmitted through the prism 15, and the second circular polarizer 13 in this order.
The processor is connected to the first multi-channel color sensor 12 and the second multi-channel color sensor 14 for determining parameters of the ambient light according to the acquired first ambient light response value and second ambient light response value.
In this embodiment, the display screen may be an OLED display screen or the like, which is not limited in this disclosure. A glass cover plate may also be disposed over the first circular polarizer to protect the display screen of the terminal. The 50:50 light splitting can be realized by the light splitting prism, so that the accuracy and the stability of detection are further ensured.
In this embodiment, the first multi-channel color sensor and the second multi-channel color sensor may be sensors having four channels of RGBC, three channels of RGB, or three channels of XYZ, and different sensors may be used for both, which is not limited in this disclosure.
In this embodiment, since the target light collected by the first multi-channel color sensor and the second multi-channel color sensor share the optical path, it is ensured that the light received by the first multi-channel color sensor and the second multi-channel color sensor is obtained by splitting the same beam of light through the splitting prism. 50:50 light splitting (caused by own precision, installation and other reasons) cannot be realized by the light splitting prism, the accuracy of ambient light detection can be ensured through calibration, and the adverse effects of weak or large differences of ambient light corresponding to the first multichannel color sensor and the second multichannel color sensor on detection are removed.
In this embodiment, the second circular polarizer may be separately disposed under the display screen, or may be integrated into the second multi-channel color sensor, which is not limited by the present disclosure. Alternatively, the splitting prism, the second circular polarizer, the first multi-channel color sensor, and the second multi-channel color sensor may be integrated together as a unified device, which is not limited by the present disclosure.
The ambient light detection device provided by the embodiment of the disclosure is applied to a terminal, the terminal comprises a display screen, and the device comprises: the device comprises a first circular polarizer, a first multi-channel color sensor, a second circular polarizer, a second multi-channel color sensor, a splitting prism and a processor. The first circular polaroid is positioned above the display screen and covers the display screen, the beam-splitting prism is positioned below the display screen, and the second circular polaroid is positioned below the display screen and positioned on the transmission path of the beam-splitting prism; the first multichannel color sensor is located on a reflection path of the beam splitting prism, and is used for receiving first target light reflected by the beam splitting prism, collecting data of the first target light, obtaining a first ambient light response value, wherein the first target light comprises: at least one of the ambient light reflected by the first circular polarizer, the display screen and the beam splitting prism and the screen light emitted by the display screen and reflected by the beam splitting prism are sequentially transmitted; the second multichannel color sensor is positioned below the second circular polaroid and is used for collecting data of received second target light to obtain a second ambient light response value, and the second target light comprises at least one of ambient light which sequentially passes through the first circular polaroid, the display screen, the beam-splitting prism for transmission and the second circular polaroid, and screen light which is emitted by the display screen and sequentially passes through the beam-splitting prism for transmission and the second circular polaroid; the processor is connected with the first multi-channel color sensor and the second multi-channel color sensor and is used for determining parameters of the ambient light according to the acquired first ambient light response value and the acquired second ambient light response value. The target light detection is carried out by the two multichannel sensors, so that the accuracy, the stability and the speed of the parameters of the ambient light determined by the device are high.
Fig. 2 is a schematic diagram illustrating an operation principle of an ambient light detection device according to an exemplary embodiment. In one possible implementation, as shown in fig. 2, the first circular polarizer 11 may include a first linear polarizer and a first quarter-wave plate, and the second circular polarizer 13 may include a second quarter-wave plate and a second linear polarizer.
The polarization direction of the first linear polarizer forms 45 degrees with the optical axis of the first quarter glass slide to ensure that external light becomes linearly polarized light after passing through the first linear polarizer and then becomes circularly polarized light after passing through the first quarter glass slide;
the first quarter slide and the second quarter slide do not need to consider the problem of optical axis correspondence, because the circularly polarized light can be changed into linear polarized light after passing through one quarter slide, and the optical axis only affects the polarization direction of the changed linear polarized light;
the circularly polarized light will become linearly polarized after passing through the second quarter-slide, where it is necessary to ensure that the second linear polarizer is perpendicular to the polarization direction of this linearly polarized light, and since the polarization direction of this linearly polarized light is determined by the optical axis of the second quarter-slide, the polarization direction of the second linear polarizer needs to be 45 ° to the optical axis of the second quarter-slide (where 45 ° is opposite to the above-mentioned 45 ° ensuring that one is +45° and one is-45 °, i.e. the two circular polarizers are rotated in opposite directions, since the fit of the two circular polarizers is opposite—the first circular polarizer is on the linear polarizer and the second circular polarizer is on the quarter-slide).
Optionally, the first linear polarizer and the second linear polarizer have the same polarization direction, and the optical axes of the first quarter-wave plate and the second quarter-wave plate are in the same direction.
In this implementation manner, the directions of the optical axes of the first quarter wave plate and the second quarter wave plate are the same, so that when the linearly polarized light with the same polarization direction is incident on the first quarter wave plate and the second quarter wave plate, the directions of rotation of the two circularly polarized lights emitted from the first quarter wave plate and the second quarter wave plate are the same, for example, the directions of rotation are both right-handed.
In this implementation, as shown in fig. 2, when the ambient light A0 passes through the first linear polarizer, it becomes linearly polarized light, and the linearly polarized light passes through the first 1/4 wave plate (i.e., the first quarter wave plate) to become right-handed circularly polarized light (or left-handed circularly polarized light, which is illustrated here as right-handed circularly polarized light); after being reflected on the display screen, the right circularly polarized light becomes left circularly polarized light in the opposite direction; the left circularly polarized light passes through the first 1/4 wave plate and becomes linear polarized light perpendicular to the polarization direction of the first linear polarizer, and cannot pass through the first linear polarizer. Therefore, the reflection effect of the display screen on the ambient light can be reduced, and the readability of the display screen under the ambient light is improved.
In this implementation, as shown in fig. 2, the ambient light A0 becomes linearly polarized light after passing through the first linear polarizer, and the linearly polarized light becomes right circularly polarized light (or left circularly polarized light, which is described here as right circularly polarized light) after passing through the first 1/4 wave plate, and the direction of the right circularly polarized light is unchanged after passing through the display screen, and enters the beam splitter prism. The light splitting prism reflects the right circularly polarized light to reach the first multichannel color sensor, and the ambient light reflected by the first circular polarizer, the display screen and the light splitting prism is ambient light A1. And the screen light emitted by the display screen can also enter the first multi-channel color sensor through the transmission of the display screen and the reflection of the beam splitter prism, and the screen light entering the first multi-channel color sensor through the transmission of the display screen and the reflection of the beam splitter prism is the screen light L1. The first target light includes at least one of ambient light A1 and screen light L1.
In this implementation manner, as shown in fig. 2, screen light emitted by the display screen is transmitted through the display screen, the light splitting prism transmits the screen light into the second 1/4 wave plate (i.e., the second quarter wave plate), the second linear polarizer reaches the second multi-channel color sensor, and the screen light transmitted through the display screen, the light splitting prism transmits the screen light into the second multi-channel color sensor through the second 1/4 wave plate and the second linear polarizer, namely, the screen light L2 is the screen light.
In this implementation, as shown in fig. 2, since the polarization directions of the first and second linear polarizers are the same, the directions in which the optical axis planes of the first and second 1/4 wave plates are located are the same. The ambient light A0 becomes linearly polarized light after passing through the first linear polarizing plate, the linearly polarized light becomes right-handed circularly polarized light after passing through the first 1/4 wave plate, and the direction of the right-handed circularly polarized light is unchanged after passing through the display screen and being transmitted through the beam splitter prism. The light passes through the second 1/4 wave plate to become linearly polarized light, but the vibration direction of the linearly polarized light is orthogonal (i.e. perpendicular) to the polarization direction of the second linear polarizer, and the linearly polarized light is not transmitted to the second multichannel color sensor by the second linear polarizer. However, due to factors such as the processing technology, the first circular polarizer, the beam splitter prism, the second circular polarizer, and the display screen material, a small portion of the ambient light (i.e., ambient light A2 shown in fig. 2) can reach the second multi-channel color sensor. Accordingly, the second target light includes at least one of the screen light L2 and the ambient light A2.
In one possible implementation, the processor may determine if the second multichannel color sensor has acquired the second ambient light response value with the display screen off (no screen light) before the device detects ambient light. If the second multi-channel color sensor is capable of acquiring the second ambient light response value when the display screen is closed, it can be determined that a small portion of the ambient light A2 can reach the second multi-channel color sensor. If the second multi-channel color sensor cannot collect the second ambient light response value under the condition that the display screen is closed, it can be determined that no ambient light can reach the second multi-channel color sensor. In this way, a determination of a parameter of the ambient light may be made based on whether a small portion of the ambient light is able to reach the second multi-channel color sensor.
In one possible implementation, the processor may also be configured to:
controlling the first multi-channel color sensor 12 and the second multi-channel color sensor 14 to acquire a plurality of sets of first initial ambient light response values and a plurality of sets of second initial ambient light response values, respectively;
calibrating the first multi-channel color sensor 12 according to a plurality of groups of first initial ambient light response values, a transmission spectrum of the display screen, a reflection spectrum of the beam-splitting prism 15 and a first calibration function determined in advance;
the second multi-channel color sensor 14 is calibrated based on a plurality of sets of second initial ambient light response values, the transmission spectrum of the first circular polarizer 11, the transmission spectrum of the display screen, the transmission spectrum of the splitting prism 15, the transmission spectrum of the second circular polarizer 13, and a predetermined second calibration function.
In this implementation manner, the calibration performed on the first multi-channel color sensor may calibrate the first initial ambient light response value according to the transmission spectrum of the display screen, the reflection spectrum of the light splitting prism, and a predetermined first calibration function, so as to determine a relatively accurate calibrated first initial ambient light response value, and further determine, according to a difference between the first initial ambient light response value and the calibrated first initial ambient light response value, a calibration adjustment required to be performed on the first multi-channel color sensor, so that the first multi-channel color sensor may obtain the relatively accurate first ambient light response value according to the received first target light in a subsequent use process. The calibration of the second multi-channel color sensor can be performed according to the transmission spectrum of the first circular polarizer, the transmission spectrum of the display screen, the transmission spectrum of the beam splitting prism, the transmission spectrum of the second circular polarizer and a predetermined second calibration function, the second initial ambient light response value is calibrated, the second initial ambient light response value after being calibrated is determined, and further, the calibration adjustment of the second multi-channel color sensor is determined according to the difference between the second initial ambient light response value and the second initial ambient light response value after being calibrated, so that the second multi-channel color sensor can obtain the second ambient light response value after being calibrated according to the received second target light in the subsequent use process.
In this implementation, the calibration of the first multi-channel color sensor and the second multi-channel color sensor may be performed in a synchronous and sequential order, and a person skilled in the art may set the order in which the calibration of the first multi-channel color sensor and the second multi-channel color sensor is performed according to actual needs, which is not limited by the present disclosure.
In this implementation, the first and second calibration functions are a fitting function that may be determined from the spectral responses determined from the sets of initial ambient light response values (i.e., the first initial ambient light response value, the second initial ambient light response value) and the CIE XYZ color matching functions. The CIE XYZ color matching functions may be CIE1931 standard chromaticity system color matching functions. For example, the first or second calibration function may be a calibration matrix, a calibration exponential function, a calibration quadratic function, a calibration cubic function, a calibration fourier function, a calibration gaussian function, or the like.
In this implementation, the first and second multi-channel color sensors may be RGB color sensors, RGBC color sensors, RGBCW color sensors, RGBW color sensors, XYZ color sensors, XYZW color sensors, and the like, which is not limited by the present disclosure. To meet the calculation requirement of the parameters of the ambient light, the ambient light response values output by the first multi-channel color sensor and the second multi-channel color sensor can be calibrated to response values corresponding to the XYZ three channels.
In one possible implementation, as shown in equation 3 below, the first or second calibration functions comprise a calibration matrix that is the product of a tri-stimulus matrix and the inverse of the spectral effect matrix.
M=T*R -1 Equation 3
For example, assuming that the first multi-channel color sensor is an RGB three-channel sensor, a plurality of sets of first initial ambient light response values (A 'are determined' X1 ,A' Y1 ,A' Z1 ),…,(A' Xn ,A' Yn ,A' Zn ) The calibration matrix M is 3*3 (if the first multi-channel color sensor is an RGBC four-channel sensor, the calibration matrix M is 4*3), and the first initial ambient light response value (a 'can be calculated according to the following formula 4' X1 ,A' Y1 ,A' Z1 ),…,(A' Xn ,A' Yn ,A' Zn ) Respectively corresponding first initial ambient light response values (A X1 ,A Y1 ,A Z1 ),…,(A Xn ,A Yn ,A Zn )。
In one possible implementation manner, the first ambient light response value and the second ambient light response value may also be obtained by performing real-time calibration after data acquisition on the first multi-channel color sensor and the second multi-channel color sensor each time in the process of performing ambient light detection. The time and manner of calibration may be set by those skilled in the art according to actual needs, and this disclosure is not limited thereto.
In one possible implementation, determining the parameter of the ambient light according to the acquired first ambient light response value and second ambient light response value may include:
the spectral information of the ambient light is determined according to the first ambient light response value, the second ambient light response value, and the transmission spectrums of the first circular polarizer 11, the second circular polarizer 13, and the display screen, the reflection spectrum and the transmission spectrum of the light splitting prism 15.
In one possible implementation, when the second target light includes ambient light that is transmitted through the first circular polarizer 11, the display screen, the dichroic prism 15, and the second circular polarizer 13 in this order, and screen light that is emitted from the display screen and transmitted through the dichroic prism 15 and the second circular polarizer 13 in this order,
ALS1=A 1 +L 1 =T A1 A 0 +T L1 *L 0 ,ALS2=A 2 +L 2 =T A2 A 0 +T L2 *L 0 ,L 0 is the spectral information of the screen light.
Wherein, determining the spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, and the transmission spectrums of the first circular polarizer 11, the second circular polarizer 13, and the display screen, the reflection spectrum and the transmission spectrum of the light splitting prism 15 may include:
the spectral information of the ambient light is calculated by equation 1,
wherein A is 0 ALS1 is the spectral information of the first multi-channel color sensor 12 determined according to the first ambient light response value, ALS2 is the spectral information of the second multi-channel color sensor 14 determined according to the second ambient light response value, T L1 T is the reflection spectrum of the beam-splitting prism 15 L2 T is a combined transmission spectrum determined from the transmission spectrum of the beam-splitting prism 15 and the transmission spectrum of the second circular polarizer 13 A1 For a combined transmission spectrum determined from the transmission spectrum of the first circular polarizer 11, the transmission spectrum of the display screen and the reflection spectrum of the dichroic prism 15, T A2 For a combined transmission spectrum determined from the transmission spectrum of the first circular polarizer 11, the transmission spectrum of the display screen, the transmission spectrum of the splitting prism 15, and the transmission spectrum of the second circular polarizer 13.
In one possible implementation, when the second target light includes the screen light emitted by the display screen and transmitted through the splitting prism 15 in sequence, and transmitted through the second circular polarizer 13, als1=a 1 +L 1 =T A1 A 0 +T L1 *L 0 ,ALS2=L 2 =T L2 *L 0 。
Wherein, determining the spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, and the transmission spectrums of the first circular polarizer 11, the second circular polarizer 13, and the display screen, the reflection spectrum and the transmission spectrum of the light splitting prism 15 may include:
the spectral information of the ambient light is calculated by equation 2,
wherein A is 0 ALS1 is the spectral information of the first multi-channel color sensor 12 determined according to the first ambient light response value, ALS2 is the spectral information of the second multi-channel color sensor 14 determined according to the second ambient light response value, T L1 T is the reflection spectrum of the beam-splitting prism 15 L2 T is a combined transmission spectrum determined from the transmission spectrum of the beam-splitting prism 15 and the transmission spectrum of the second circular polarizer 13 A1 For a combined transmission spectrum determined from the transmission spectrum of the first circular polarizer 11, the transmission spectrum of the display screen, and the reflection spectrum of the dichroic prism 15.
In this implementation, T may be predetermined L1 、T L2 、T A1 And T A2 One skilled in the art can determine T according to actual needs L1 、T L2 、T A1 And T A2 Is provided by way of example, and the present disclosure is not limited thereto.
In a possible implementation manner, the parameter of the ambient light may further include a color temperature, wherein determining the parameter of the ambient light according to the acquired first ambient light response value and the second ambient light response value may include:
determining spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, the transmission spectrums of the first circular polarizer 11, the second circular polarizer 13 and the display screen, the reflection spectrum and the transmission spectrum of the light splitting prism 15;
and determining the color temperature of the ambient light according to the spectrum information of the ambient light.
In this implementation, the color temperature of the ambient light can be calculated by equation 5,
CCT=449n 3 +3525n 2 +6823.3n+5520.33 equation 5
Wherein CCT is the color temperature of the ambient light, x and y are the color temperature coordinates, A X For the coefficients of the X color channel, A Y For the coefficients of the Y color channel, A Z Is the coefficient of the Z color channel. Calculation of color temperature by equation 5When the color temperature is 2856K-6500K, the error of the calculated color temperature is less than 2K. Can be based on spectral information A of ambient light 0 Determination of A X 、A Y 、A Z 。
It should be understood that the above formula for calculating the color temperature is given as an example provided in the present disclosure, and those skilled in the art may set the calculation manner of the color temperature according to actual needs, which is not limited in the present disclosure.
In one possible implementation, the color channels of the ambient light include an X color channel, a Y color channel, and a Z color channel, the parameters of the ambient light further include illuminance,
wherein, according to the obtained first ambient light response value and the second ambient light response value, determining the parameter of the ambient light may include: the illuminance of the Y color channel in the ambient light is determined and marked as the illuminance of the ambient light.
In this implementation, the illuminance of the X, Y, and Z color channels in the ambient light may be determined from the spectral information of the ambient light. Also, the illuminance of the X color channel or the Z color channel may be determined as needed, or the illuminance of the ambient light may be determined as needed. The manner of determining the illuminance of the ambient light may be set by those skilled in the art according to actual needs, and this disclosure is not limited thereto.
In one possible implementation, the parameters of the ambient light may further include other parameters for describing characteristics of the ambient light that can be determined according to spectral information of the ambient light, which is not limited by the present disclosure.
Fig. 3 is a block diagram illustrating an apparatus 800 for applying an ambient light detection apparatus according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 3, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (6)
1. An ambient light detection device for use with a terminal, the terminal including a display screen, the device comprising: a first circular polarizer, a first multi-channel color sensor, a second circular polarizer, a second multi-channel color sensor, a splitting prism and a processor,
the first circular polaroid is positioned above the display screen and covers the display screen, the beam-splitting prism is positioned below the display screen, and the second circular polaroid is positioned below the display screen and is positioned on the transmission path of the beam-splitting prism;
the first multi-channel color sensor is located on a reflection path of the beam splitting prism, and is configured to receive first target light reflected by the beam splitting prism, and perform data acquisition on the first target light to obtain a first ambient light response value, where the first target light includes: at least one of the ambient light reflected by the first circular polaroid, the display screen, the beam splitting prism and the screen light emitted by the display screen and reflected by the beam splitting prism sequentially;
the second multi-channel color sensor is positioned below the second circular polarizer and is used for collecting data of received second target light to obtain a second ambient light response value, and the second target light comprises at least one of ambient light which sequentially passes through the first circular polarizer, the display screen, the light splitting prism, the second circular polarizer and screen light which is emitted by the display screen and sequentially passes through the light splitting prism;
the processor is connected with the first multi-channel color sensor and the second multi-channel color sensor and is used for determining parameters of the ambient light according to the acquired first ambient light response value and the acquired second ambient light response value;
wherein the second target light comprises the ambient light which sequentially passes through the first circular polarizer, the display screen, the light splitting prism and the second circular polarizer, and the screen light which is emitted by the display screen and sequentially passes through the light splitting prism and the second circular polarizer,
determining the parameter of the ambient light according to the acquired first ambient light response value and the second ambient light response value, including:
the spectral information of the ambient light is calculated by equation 1,
wherein A is 0 ALS1 is the spectral information of the first multi-channel color sensor determined according to the first ambient light response value, ALS2 is the spectral information of the second multi-channel color sensor determined according to the second ambient light response value, T L1 T is the reflection spectrum of the beam-splitting prism L2 T for a combined transmission spectrum determined from the transmission spectrum of the beam-splitting prism and the transmission spectrum of the second circular polarizer A1 T is a combined transmission spectrum determined according to the transmission spectrum of the first circular polaroid, the transmission spectrum of the display screen and the reflection spectrum of the light splitting prism A2 And a combined transmission spectrum determined according to the transmission spectrum of the first circular polarizer, the transmission spectrum of the display screen, the transmission spectrum of the splitting prism and the transmission spectrum of the second circular polarizer.
2. The device of claim 1, wherein the first circular polarizer and the second circular polarizer are counter-rotating.
3. The apparatus of claim 1, wherein the processor is further configured to:
controlling the first multi-channel color sensor and the second multi-channel color sensor to respectively acquire a plurality of groups of first initial ambient light response values and a plurality of groups of second initial ambient light response values;
calibrating the first multichannel color sensor according to the multiple groups of first initial ambient light response values, the transmission spectrum of the display screen, the reflection spectrum of the light splitting prism and a first calibration function which is determined in advance;
and calibrating the second multichannel color sensor according to the plurality of groups of second initial ambient light response values, the transmission spectrum of the first circular polarizer, the transmission spectrum of the display screen, the transmission spectrum of the beam-splitting prism, the transmission spectrum of the second circular polarizer and a predetermined second calibration function.
4. A device according to claim 3, wherein the first and/or second calibration functions comprise a calibration matrix which is the product of a tri-stimulus matrix and the inverse of a spectral effect matrix.
5. The apparatus of claim 1, wherein the parameter of ambient light further comprises a color temperature,
wherein determining the parameter of the ambient light according to the acquired first ambient light response value and the second ambient light response value comprises:
determining spectral information of the ambient light according to the first ambient light response value, the second ambient light response value, transmission spectrums of the first circular polarizer, the second circular polarizer and the display screen, reflection spectrums and transmission spectrums of the beam-splitting prism;
and determining the color temperature of the ambient light according to the spectrum information of the ambient light.
6. The apparatus of claim 1 wherein the color channels of the ambient light include an X color channel, a Y color channel, and a Z color channel, the parameter of the ambient light further comprising illuminance,
wherein determining the parameter of the ambient light according to the acquired first ambient light response value and the second ambient light response value comprises:
and determining the illuminance of the Y color channel in the ambient light, and marking the illuminance of the Y color channel as the illuminance of the ambient light.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910568369.5A CN112146757B (en) | 2019-06-27 | 2019-06-27 | Ambient light detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910568369.5A CN112146757B (en) | 2019-06-27 | 2019-06-27 | Ambient light detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112146757A CN112146757A (en) | 2020-12-29 |
CN112146757B true CN112146757B (en) | 2023-05-30 |
Family
ID=73868935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910568369.5A Active CN112146757B (en) | 2019-06-27 | 2019-06-27 | Ambient light detection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112146757B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111998940B (en) * | 2020-08-28 | 2023-09-05 | Oppo广东移动通信有限公司 | Display screen assembly, electronic equipment and ambient light intensity detection method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007132635A1 (en) * | 2006-05-15 | 2007-11-22 | Sharp Kabushiki Kaisha | Color image display device and color conversion device |
CN101953148B (en) * | 2008-02-22 | 2013-05-08 | 日本电气株式会社 | Method for processing color image, color processing device and color processing program |
FR2955763B1 (en) * | 2010-02-02 | 2012-03-09 | Commissariat Energie Atomique | BI-SPECTRAL PEROPERATIVE OPTIC PROBE |
US9612152B2 (en) * | 2013-11-07 | 2017-04-04 | Apple Inc. | Ambient light sensor with internal light cancellation |
JP2015200734A (en) * | 2014-04-07 | 2015-11-12 | キヤノン株式会社 | Image display device, method for controlling image display device, and program |
CN107808626B (en) * | 2017-10-24 | 2021-03-02 | 北京小米移动软件有限公司 | Method and device for adjusting color temperature of display screen and computer readable storage medium |
CN108881538B (en) * | 2018-06-22 | 2024-08-02 | 北京小米移动软件有限公司 | Mobile terminal |
-
2019
- 2019-06-27 CN CN201910568369.5A patent/CN112146757B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112146757A (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112146758B (en) | Ambient light detection device | |
WO2017012269A1 (en) | Method and apparatus for determining spatial parameter by using image, and terminal device | |
CN111829654B (en) | Ambient light detection method and device, and computer storage medium | |
CN112449026B (en) | Ambient light compensation method, device, terminal and storage medium | |
CN112710383B (en) | Light sensor calibration method, device and storage medium | |
CN104464674B (en) | Liquid crystal display method of adjustment and device | |
CN107808626B (en) | Method and device for adjusting color temperature of display screen and computer readable storage medium | |
CN105825490A (en) | Gaussian blur method and device of image | |
CN109308861A (en) | Color calibration method, device, equipment and storage medium | |
US11950087B2 (en) | Audio signal processing method, electronic apparatus, and storage medium | |
CN112146757B (en) | Ambient light detection device | |
US12123781B2 (en) | Electronic device, method and apparatus for measuring color temperature of ambient light, and storage medium | |
CN107133361A (en) | Gesture identification method, device and terminal device | |
WO2024183040A1 (en) | Ranging method and apparatus, and storage medium | |
CN116993835A (en) | Camera calibration method, camera calibration device, electronic equipment and storage medium | |
EP4132014A1 (en) | Audio signal processing method, electronic apparatus, and storage medium | |
EP3975548A1 (en) | Photographing method and apparatus, terminal, and storage medium | |
EP3088941A1 (en) | Liquid crystal display, method and device for measuring pressure | |
CN115861431A (en) | Camera registration method and device, communication equipment and storage medium | |
CN111507133B (en) | Fingerprint identification calibration method and device | |
CN113452813A (en) | Image acquisition device, terminal device, method, processing device, and medium | |
CN112927641B (en) | Screen brightness adjusting method and device, terminal equipment and storage medium | |
CN113709275B (en) | Ambient light determination method, device, terminal equipment and storage medium | |
CN111351989B (en) | Method and device for measuring loss value of machine | |
WO2023221052A1 (en) | Display screen control method and apparatus, electronic device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |