CN112146758A - Ambient light detection device - Google Patents
Ambient light detection device Download PDFInfo
- Publication number
- CN112146758A CN112146758A CN201910569452.4A CN201910569452A CN112146758A CN 112146758 A CN112146758 A CN 112146758A CN 201910569452 A CN201910569452 A CN 201910569452A CN 112146758 A CN112146758 A CN 112146758A
- Authority
- CN
- China
- Prior art keywords
- ambient light
- color
- circular polarizer
- display screen
- response 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 20
- 230000004298 light response Effects 0.000 claims abstract description 108
- 238000002834 transmittance Methods 0.000 claims description 38
- 239000011159 matrix material Substances 0.000 claims description 15
- 238000000411 transmission spectrum Methods 0.000 claims description 12
- 230000003595 spectral effect Effects 0.000 claims description 4
- 238000002372 labelling Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 21
- 230000003287 optical effect Effects 0.000 description 14
- 230000010287 polarization Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 239000011521 glass Substances 0.000 description 9
- 238000000034 method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 230000005236 sound signal Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012888 cubic function Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- General Physics & Mathematics (AREA)
- Spectrometry And Color Measurement (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present disclosure relates to an ambient light detection device. The device is applied to a terminal including a display screen, and the device includes: the first circular polarizing film is positioned above the display screen and covers the display screen; the first multichannel color sensor is positioned below the display screen and used for collecting data of the received first target light to obtain a first ambient light response value; a second circular polarizing plate located below the display screen; the second multichannel color sensor is positioned below the second circular polarizer and used for acquiring data of the received second target light to obtain a second ambient light response value; the processor is used for determining the parameter of the ambient light according to the acquired first ambient light response value and the acquired second ambient light response value. According to the device provided by the disclosure, target light detection is performed through the two multi-channel sensors, and the determined parameters of the ambient light are high in accuracy and high in speed.
Description
Technical Field
The present 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 the color of the ambient light can be detected by a conventional color sensor, which is typically an RGB color sensor or an XYZ color sensor. With the development trend of consumer electronics products, the screen occupation ratio is larger and larger, and sensors and cameras begin to develop the technology under the screen. However, in the related art, the accuracy of the measured parameters such as the color of the ambient light is low, and the measurement requirement cannot be met.
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 the embodiments of the present disclosure, there is provided an ambient light detection apparatus applied to a terminal, the terminal including a display screen, the apparatus including: a first circular polarizer, a first multichannel color sensor, a second circular polarizer, a second multichannel color sensor, and a processor,
the first circular polaroid is positioned above the display screen and covers the display screen;
the first multichannel color sensor is positioned below the display screen and used for acquiring data of received first target light to obtain a first ambient light response value, wherein the first target light comprises at least one of ambient light passing through the first circular polarizer and screen light emitted by the display screen;
the second circular polaroid is positioned below the display screen;
the second multichannel color sensor is located below the second circular polarizer and 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 passing through the first circular polarizer and the second circular polarizer and screen light passing through the second circular polarizer in sequence;
the processor is connected with the first multichannel color sensor and the second multichannel color sensor, and is configured to determine the parameter of the ambient light according to the acquired first ambient light response value and the acquired second ambient light response value.
In one possible implementation, the area of the second circular polarizer is smaller than the area of the first circular polarizer.
In one possible implementation, the first circular polarizer and the second circular polarizer have opposite rotation directions.
In one possible implementation, the processor is further configured to:
controlling the first multichannel color sensor and the second multichannel 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 and a predetermined first calibration function;
calibrating the second multi-channel color sensor according to the plurality of sets of second initial ambient light response values, the transmission spectrum of the display screen, the transmission spectrum of the second circular polarizer, and a predetermined second calibration function.
In one possible implementation, the first calibration function and/or the second calibration function comprises a calibration matrix that is a product of a tristimulus matrix and an inverse of a spectral effects matrix.
In one possible implementation, the parameter of the ambient light comprises a color of the ambient light,
determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value, including:
and determining the coefficient of each color channel of the ambient light according to the first ambient light response value, the second ambient light response value and the transmittances of the first circular polarizer, the second circular polarizer and the display screen to obtain the color of the ambient light.
In one possible implementation, when the second target light includes ambient light passing through the first circular polarizer and the second circular polarizer in this order and screen light passing through the second circular polarizer,
wherein determining the coefficient for each color channel of the ambient light based on the first ambient light response value, the second ambient light response value, and the transmittances of the first circular polarizer, the second circular polarizer, and the display screen comprises:
the coefficient for each color channel of the ambient light is calculated by equation 1,
wherein A isiCoefficient of i color channel in the ambient light, S1iCoefficients for the i color channel in the first target light determined from the first ambient light response value, S2iCoefficient of i color channel in second target light determined according to the second ambient light response value, Ta1iIs the transmittance, T, of the first circular polarizer and the display screen to light corresponding to the i color channel of the ambient lighta2iIs the transmittance, T, of the first circular polarizer, the display screen and the second circular polarizer to light corresponding to the i color channel of the ambient lighto1iIs the transmittance, T, of the display screen to the light corresponding to the i color channel of the ambient lighto2iThe transmittance of the display screen and the transmittance of the second circular polarizer to light corresponding to an i-color channel of the ambient light are determined, and the i-color channel is any one of the color channels detected by the first multi-channel color sensor and the second multi-channel color sensor.
In one possible implementation, when the second target light includes screen light passing through the second circular polarizer,
wherein determining the coefficient for each color channel of the ambient light based on the first ambient light response value, the second ambient light response value, and the transmittances of the first circular polarizer, the second circular polarizer, and the display screen comprises:
the coefficient for each color channel of the ambient light is calculated by equation 2,
wherein A isiFor the environmentCoefficient of i color channel in light, S1iCoefficients for the i color channel in the first target light determined from the first ambient light response value, S2iCoefficient of i color channel in second target light determined according to the second ambient light response value, Ta1iIs the transmittance, T, of the first circular polarizer and the display screen to light corresponding to the i color channel of the ambient lighto1iIs the transmittance, T, of the display screen to the light corresponding to the i color channel of the ambient lighto2iThe transmittance of the display screen and the transmittance of the second circular polarizer to light corresponding to an i-color channel of the ambient light are determined, and the i-color channel is any one of the color channels detected by the first multi-channel color sensor and the second multi-channel color sensor.
In a possible implementation, the parameter of the ambient light further comprises a color temperature,
determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value, including:
determining coefficients of a plurality of color channels of the ambient light according to the first ambient light response value, the second ambient light response value and the transmittances of the first circular polarizer, the second circular polarizer and the display screen;
and determining the color temperature of the ambient light according to the coefficients of the plurality of color channels of the ambient light.
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 an illuminance,
determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value, including:
determining an illuminance of a Y color channel in the ambient light, and labeling 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 have the following beneficial effects: the target light detection is carried out through the two multi-channel sensors, so that the accuracy of the parameters of the ambient light determined by the device is high, and the speed is high.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram illustrating a configuration of an ambient light detection device according to an exemplary embodiment.
Fig. 2a and 2b are schematic diagrams illustrating the operation principle of an ambient light detection device according to an exemplary embodiment.
FIG. 3 is a schematic diagram illustrating calibration of a multi-channel color sensor according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating an apparatus 800 employing an ambient light detection apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic structural diagram illustrating an ambient light detection apparatus according to an exemplary embodiment, as shown in fig. 1, the apparatus may be used in a terminal with a display screen, such as a mobile phone or a computer. The arrangement 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 and a processor (not shown in the figure). In order to illustrate the positional relationship of the components, the components are separated by a large distance in the figure, and in fact, the first circular polarizing plate, the second circular polarizing plate and the display screen are combined with each other.
The first circularly polarizing plate 11 is located above the display panel 21 and covers the display panel 21.
The first multichannel color sensor 12 is located below the display screen 21, and configured to perform data acquisition on received first target light to obtain a first ambient light response value, where the first target light includes at least one of ambient light passing through the first circular polarizer and screen light emitted by the display screen.
The second circularly polarizing plate 13 is located below the display screen 21.
The second multichannel color sensor 14 is located below the second circular polarizer 13, and is configured to perform data acquisition on received second target light to obtain a second ambient light response value, where the second target light includes at least one of ambient light that sequentially passes through the first circular polarizer and the second circular polarizer and screen light that passes through the second circular polarizer.
The processor is connected to the first multichannel color sensor 12 and the second multichannel color sensor 14, and is configured to determine a parameter of the ambient light according to the acquired first ambient light response value and the acquired second ambient light response value.
In a possible implementation, the area of the second circular polarizer 13 is smaller than the area of the first circular polarizer 11.
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 can be arranged above the first circular polaroid to protect a display screen of the terminal.
In the present embodiment, the first multi-channel color sensor and the second multi-channel color sensor may be sensors having four RGBC channels, three RGB channels, or three XYZ channels, which is not limited by the present disclosure.
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 this disclosure.
The ambient light detection device that this disclosed embodiment provided is applied to the terminal, and the terminal includes the display screen, and the device includes: the color sensor comprises a first circular polarizing film, a first multichannel color sensor, a second circular polarizing film, a second multichannel color sensor and a processor, wherein the first circular polarizing film is positioned above the display screen and covers the display screen; the first multichannel color sensor is positioned below the display screen and used for collecting data of received first target light to obtain a first ambient light response value, and the first target light comprises at least one of ambient light passing through the first circular polarizer and screen light emitted by the display screen; the second circular polaroid is positioned below the display screen; the second multichannel color sensor is positioned below the second circular polarizer and 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 passing through the first circular polarizer and the second circular polarizer and screen light passing through the second circular polarizer in sequence; the processor is connected with the first multichannel color sensor and the second multichannel color sensor and used for determining the parameter 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 through the two multi-channel sensors, so that the accuracy of the parameters of the ambient light determined by the device is high, and the speed is high.
Fig. 2a and 2b are schematic diagrams illustrating the operation principle of an ambient light detection device according to an exemplary embodiment. In one possible implementation, as shown in fig. 2a and 2b, the first circular polarizer 11 includes a first linear polarizer 111 and a first quarter-wave plate 112, and the second circular polarizer 13 includes a second quarter-wave plate 131 and a second linear polarizer 132.
The polarization direction of the first linear polarizer and the optical axis of the first quarter glass sheet form an angle of 45 degrees so as to ensure that external light is changed into linearly polarized light after passing through the first linear polarizer and then is changed into circularly polarized light after passing through the first quarter glass sheet;
the first quarter glass sheet and the second quarter glass sheet do not need to consider the problem of optical axis correspondence, as for circularly polarized light, the circularly polarized light can be changed into linearly polarized light after passing through one quarter glass sheet, and the optical axis only influences the polarization direction of the linearly polarized light;
the circularly polarized light is changed into linearly polarized light after passing through the second quarter glass, wherein the polarization direction of the second linearly polarized light is required to be ensured to be vertical to the polarization direction of the linearly polarized light, and the polarization direction of the linearly polarized light is determined by the optical axis of the second quarter glass, so that the polarization direction of the second linearly polarized light is required to be 45 degrees with the optical axis of the second quarter glass (the 45 degrees are opposite to the 45 degrees and are required to be ensured to be opposite, namely, one is +45 degrees and one is-45 degrees, namely, the rotation directions of the two circular polarized light plates are opposite, and the two circular polarized light plates are attached oppositely, namely, the first circular polarized light plate is arranged on the linear polarized light, and the second circular polarized light plate is arranged on.
Optionally, the polarization directions of the first linear polarizer 111 and the second linear polarizer 132 are the same, and the directions of the optical axis planes of the first quarter-wave plate 112 and the second quarter-wave plate 131 are the same.
In this implementation manner, the directions of the optical axis planes of the first quarter-wave plate and the second quarter-wave plate are the same, so that when linearly polarized light with the same polarization direction is incident to the first quarter-wave plate and the second quarter-wave plate, the handedness of two circularly polarized light emitted from the first quarter-wave plate and the second quarter-wave plate is the same, for example, both are right-handed.
In this implementation manner, as shown in fig. 2a and 2b, when the ambient light a passes through the first linear polarizer, the ambient light a 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 described herein by taking right-handed circularly polarized light as an example); the right-handed circularly polarized light becomes left-handed circularly polarized light in the opposite direction after being reflected on the display screen; the left-handed circularly polarized light becomes linearly polarized light perpendicular to the polarization direction of the first linear polarizer after passing through the first 1/4 wave plate, 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. 2a and 2b, the ambient light a passes through the first linear polarizer and becomes linearly polarized light, the linearly polarized light passes through the first 1/4 wave plate and becomes right circularly polarized light (or left circularly polarized light, which is described here by taking right circularly polarized light as an example), the direction of the right circularly polarized light is unchanged after passing through the display screen, and the ambient light that passes through the first circular polarizer and the display screen is ambient light a 1. And, the screen light emitted from the display screen is also transmitted into the first multi-channel color sensor, and the screen light transmitted by the display screen into the first multi-channel color sensor is the screen light O1. The first target light includes at least one of ambient light a1 and screen light O1.
In this implementation manner, as shown in fig. 2a and 2b, screen light emitted by the display screen reaches the second multichannel color sensor through the second 1/4 wave plate (i.e., the second quarter wave plate) and the second linear polarizer, and screen light transmitted by the display screen and entering the second multichannel color sensor through the second 1/4 wave plate and the second linear polarizer is screen light O2.
In this implementation, as shown in fig. 2a, since the polarization directions of the first and second linear polarizers are the same, the directions of the optical axis planes of the first 1/4 wave plate and the second 1/4 wave plate are the same. The environment light A can become linearly polarized light after passing through the first linear polarizer, the linearly polarized light becomes rightwise circularly polarized light after passing through the first 1/4 wave plate, and the direction of the rightwise circularly polarized light is unchanged after passing through the display screen. The linearly polarized light is converted into linearly polarized light through the second 1/4 wave plate, but because the vibration direction of the linearly polarized light is orthogonal (i.e., perpendicular) to the polarization direction of the second linearly polarized light, the linearly polarized light is converted by the second linearly polarized light plate and cannot reach the second multichannel color sensor. However, due to the manufacturing process, the first circular polarizer, 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 b) may still reach the second multi-channel color sensor.
In one possible implementation, the processor may determine whether the second multi-channel color sensor acquires the second ambient light response value with the display screen off (no screen light) before the device performs ambient light detection. If the second multi-channel color sensor can acquire a second ambient light response value when the display screen is turned off, it can be determined that a small portion of ambient light can reach the second multi-channel color sensor. If the second multi-channel color sensor is unable to acquire the second ambient light response value when the display screen is off, it may be determined that no ambient light may reach the second multi-channel color sensor. In this way, a determination of the parameter of the ambient light may be made depending on whether a small portion of the ambient light is able to reach the second multi-channel color sensor.
FIG. 3 is a schematic diagram illustrating calibration of a multi-channel color sensor according to an exemplary embodiment. In one possible implementation, as shown in fig. 3, the processor is further configured to calibrate the first multi-channel color sensor and the second multi-channel color sensor before performing the ambient light detection to improve accuracy of the determined parameter of the ambient light and reduce error. The processor is further configured to:
controlling a first multichannel color sensor and a second multichannel 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 and a predetermined first calibration function;
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 display screen, the transmission spectrum of the second circular polarizer and a predetermined second calibration function.
In this implementation, calibration performed on the first multichannel color sensor may calibrate the first initial ambient light response value according to the transmission spectrum of the display screen and a predetermined first calibration function, determine a more accurate calibrated first initial ambient light response value, and then determine calibration adjustment required to be performed on the first multichannel color sensor according to a difference between the first initial ambient light response value and the calibrated first initial ambient light response value, so that the first multichannel color sensor may obtain the more accurate first ambient light response value according to the received first target light in a subsequent use process. Calibration carried out on the second multi-channel color sensor can calibrate the second initial environment light response value according to the transmission spectrum of the display screen, the transmission spectrum of the second circular polaroid and a predetermined second calibration function, the more accurate calibrated second initial environment light response value is determined, and then calibration adjustment required to be carried out on the second multi-channel color sensor is determined according to the difference between the second initial environment light response value and the calibrated second initial environment light response value, so that the second multi-channel color sensor can obtain the more accurate second environment light response value according to the received second target light in the subsequent use process.
In this implementation manner, the calibration of the first multi-channel color sensor and the second multi-channel color sensor may be performed according to a synchronous and sequential order, and a person skilled in the art may set the order of the calibration of the first multi-channel color sensor and the second multi-channel color sensor according to actual needs, which is not limited by the present disclosure.
In this implementation, the first calibration function and the second calibration function are determined according to the spectral responses determined by 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 function, and are fitting functions. The CIE XYZ color matching functions may be CIE1931 standard colorimetric system color matching functions. For example, the first calibration function and/or the 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, or the like, to which the present disclosure is not limited. To meet the computational requirements of the parameters of the ambient light, the ambient light response values output by the first and second multi-channel color sensors may be calibrated to response values corresponding to the XYZ three channels.
In one possible implementation, as shown in equation 3 below, the first calibration function and/or the second calibration function includes a calibration matrix, and the calibration matrix M may be a product of the tristimulus matrix T and an inverse of the spectral effect matrix R.
M=T*R-1Equation 3
For example, assuming that the first multi-channel color sensor is an RGB three-channel sensor, sets of first initial ambient light response values (A'X1,A'Y1,A'Z1),…,(A'Xn,A'Yn,A'Zn) The calibration matrix M is a 3 x 3 matrix (if the first multi-channel color sensor is an RGBC four-channel sensor, the calibration matrix M is a 4 x 3 matrix), and the first initial ambient light response value (a 'can be calculated according to the following equation 4'X1,A'Y1A'Z1),…,(A'Xn,A'Yn,A'Zn) Respectively corresponding calibrated first initial ambient light response values (A)X1,AY1,AZ1),…,(AXn,AYn,AZn)。
In a possible implementation manner, in the process of performing ambient light detection, after data acquisition is performed on the first multichannel color sensor and the second multichannel color sensor each time, real-time calibration may be performed to obtain a first ambient light response value and a second ambient light response value. The time and mode of calibration can be set by those skilled in the art according to actual needs, and the present disclosure does not limit this.
In one possible implementation, the parameter of the ambient light may comprise a color of the ambient light. Determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value may include:
and determining the coefficient of each color channel of the ambient light according to the first ambient light response value, the second ambient light response value and the transmittances of the first circular polarizing film, the second circular polarizing film and the display screen to obtain the color of the ambient light.
In one possible implementation, when the second target light includes the ambient light passing through the first circular polarizer, the second circular polarizer, and the screen light passing through the second circular polarizer in this order, S1i=Ta1iAi+To1i*Oi,S2i=Ta2iAi+To2i*OiWherein O isiIs a coefficient according to an i color channel of the screen light in the first target light.
Determining the coefficient of each color channel of the ambient light according to the first ambient light response value, the second ambient light response value, and the transmittances of the first circular polarizer, the second circular polarizer, and the display screen may include:
the coefficient for each color channel of the ambient light is calculated by equation 1,
wherein A isiCoefficient of i color channel in ambient light, S1iCoefficients of i color channels in the first target light determined according to the first ambient light response value, S2iCoefficient of i color channel in the second target light determined according to the second ambient light response value, Ta1iIs the transmittance, T, of light corresponding to the i color channel of the first circularly polarizing plate and the display screen to the ambient lighta2iIs the transmittance, T, of light corresponding to the i color channel of the ambient light by the first circular polarizer, the display screen and the second circular polarizero1iIs the transmittance, T, of the display screen to light corresponding to the i color channel of the ambient lighto2iThe transmittance of the display screen and the transmittance of the second circular polarizer for light corresponding to the i color channel of the ambient light are represented by i, wherein i is any one of a plurality of color channels detected by the first multi-channel color sensor and the second multi-channel color sensor.
For example, where the multi-channel color sensor is an XYZ color sensor, i can represent X, Y, Z; the multi-channel color sensor is an RGBC color sensor, i can represent R, G, B, C.
In one possible implementation, when the second target light includes screen light passing through the second circular polarizer, S1i=Ta1iAi+To1i*Oi,S2i=To2i*OiWherein O isiIs a coefficient according to an i color channel of the screen light in the first target light.
Determining the coefficient of each color channel of the ambient light according to the first ambient light response value, the second ambient light response value, and the transmittances of the first circular polarizer, the second circular polarizer, and the display screen may include:
the coefficient for each color channel of the ambient light is calculated by equation 2,
wherein A isiCoefficient of i color channel in ambient light, S1iCoefficients of i color channels in the first target light determined according to the first ambient light response value, S2iCoefficient of i color channel in the second target light determined according to the second ambient light response value, Ta1iIs the transmittance, T, of light corresponding to the i color channel of the first circularly polarizing plate and the display screen to the ambient lighto1iIs the transmittance, T, of the display screen for the corresponding light of the i color channel of the ambient lighto2iThe i color channel is any one of a plurality of color channels detected by the first multi-channel color sensor and the second multi-channel color sensor, and is a transmittance of the display screen and the second circular polarizer for light corresponding to the i color channel of the ambient light.
For example, where the multi-channel color sensor is an XYZ color sensor, i can represent X, Y, Z; the multi-channel color sensor is an RGBC color sensor, i can represent R, G, B, C.
In this implementation, T may be predetermineda1i、Ta2i、To1iAnd To2iThe person skilled in the art can determine T according to actual needsa1i、Ta2i、To1iAnd To2iAre provided by way of example, and not limitation of the present disclosure.
In a possible implementation, the parameter of the ambient light may further comprise a color temperature. Determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value may include:
determining coefficients of a plurality of color channels of ambient light according to the first ambient light response value, the second ambient light response value and the transmittances of the first circular polarizing film, the second circular polarizing film and the display screen;
the color temperature of the ambient light is determined from coefficients of a plurality of color channels of the ambient light.
In this implementation, the color temperature of the ambient light can be calculated by equation 5,
CCT=449n3+3525n2+6823.3n +5520.33 formula 5
Wherein CCT is the color temperature of the ambient light, x and y are color temperature coordinates, AXIs the coefficient of the X color channel, AYIs the coefficient of the Y color channel, AZIs the coefficient of the Z color channel. The color temperature is calculated by formula 5, and when the color temperature is 2856K to 6500K, the error of the calculated color temperature is less than 2K.
It should be understood that the above formula for calculating the color temperature is an example provided by the present disclosure, and a person skilled in the art may set the calculation manner of the color temperature according to actual needs, which is not limited by 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, and the parameter of the ambient light may further include an illuminance. Determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value may include:
the luminance of the Y color channel in the ambient light is determined and labeled as the luminance of the ambient light.
In this implementation, the illuminance of the ambient light may also be determined according to the illuminance of the X color channel or the Z color channel, or according to the illuminance of the X color channel, the Y color channel, or the Z color channel. The manner of determining the illuminance of the ambient light can be set by those skilled in the art according to practical needs, and the present disclosure does not limit this.
In a possible implementation, the parameter of the ambient light may further include other parameters describing the characteristics of the ambient light, which can be determined according to at least one of the coefficients of the X color channel, the Y color channel, and the Z color channel, which is not limited by the present disclosure.
The illuminance of ambient light is a Y color for the XYZ color sensor. For an RGBC color sensor, the luminance can be converted to Y color, and the RGBC sensor can be converted to XYZ when calculating the color.
Fig. 4 is a block diagram illustrating an apparatus 800 employing an ambient light detection apparatus according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction 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 device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile 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 disks.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
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 apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also 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 keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object 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 gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices 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 an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 1932 that includes instructions, which are executable by the processing component 1922 of the apparatus 1900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. An ambient light detection device, characterized in that is applied to the terminal, the terminal includes the display screen, the device includes: a first circular polarizer, a first multichannel color sensor, a second circular polarizer, a second multichannel color sensor, and a processor,
the first circular polaroid is positioned above the display screen and covers the display screen;
the first multichannel color sensor is positioned below the display screen and used for acquiring data of received first target light to obtain a first ambient light response value, wherein the first target light comprises at least one of ambient light passing through the first circular polarizer and screen light emitted by the display screen;
the second circular polaroid is positioned below the display screen;
the second multichannel color sensor is located below the second circular polarizer and 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 passing through the first circular polarizer and the second circular polarizer and screen light passing through the second circular polarizer in sequence;
the processor is connected with the first multichannel color sensor and the second multichannel color sensor, and is configured to determine the parameter of the ambient light according to the acquired first ambient light response value and the acquired second ambient light response value.
2. The apparatus of claim 1,
the area of the second circular polarizer is smaller than the area of the first circular polarizer.
3. A device as recited in claim 1, wherein the first circular polarizer and the second circular polarizer are oppositely oriented.
4. The apparatus of claim 1, wherein the processor is further configured to:
controlling the first multichannel color sensor and the second multichannel 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 and a predetermined first calibration function;
calibrating the second multi-channel color sensor according to the plurality of sets of second initial ambient light response values, the transmission spectrum of the display screen, the transmission spectrum of the second circular polarizer, and a predetermined second calibration function.
5. The apparatus of claim 4, wherein 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.
6. The apparatus of claim 1, wherein the parameter of the ambient light comprises a color of the ambient light,
determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value, including:
and determining the coefficient of each color channel of the ambient light according to the first ambient light response value, the second ambient light response value and the transmittances of the first circular polarizer, the second circular polarizer and the display screen to obtain the color of the ambient light.
7. The apparatus according to claim 6, wherein when the second target light includes ambient light passing through the first circular polarizer, the second circular polarizer, and screen light passing through the second circular polarizer in this order,
wherein determining the coefficient for each color channel of the ambient light based on the first ambient light response value, the second ambient light response value, and the transmittances of the first circular polarizer, the second circular polarizer, and the display screen comprises:
the coefficient for each color channel of the ambient light is calculated by equation 1,
wherein A isiCoefficient of i color channel in the ambient light, S1iCoefficients for the i color channel in the first target light determined from the first ambient light response value, S2iCoefficient of i color channel in second target light determined according to the second ambient light response value, Ta1iIs the transmittance, T, of the first circular polarizer and the display screen to light corresponding to the i color channel of the ambient lighta2iIs the transmittance, T, of the first circular polarizer, the display screen and the second circular polarizer to light corresponding to the i color channel of the ambient lighto1iIs the transmittance, T, of the display screen to the light corresponding to the i color channel of the ambient lighto2iThe transmittance of the display screen and the transmittance of the second circular polarizer to light corresponding to an i-color channel of the ambient light are determined, and the i-color channel is any one of the color channels detected by the first multi-channel color sensor and the second multi-channel color sensor.
8. The apparatus according to claim 6, wherein when the second target light includes screen light passing through the second circular polarizer,
wherein determining the coefficient for each color channel of the ambient light based on the first ambient light response value, the second ambient light response value, and the transmittances of the first circular polarizer, the second circular polarizer, and the display screen comprises:
the coefficient for each color channel of the ambient light is calculated by equation 2,
wherein A isiCoefficient of i color channel in the ambient light, S1iCoefficients for the i color channel in the first target light determined from the first ambient light response value, S2iCoefficient of i color channel in second target light determined according to the second ambient light response value, Ta1iIs the transmittance, T, of the first circular polarizer and the display screen to light corresponding to the i color channel of the ambient lighto1iIs the transmittance, T, of the display screen to the light corresponding to the i color channel of the ambient lighto2iThe transmittance of the display screen and the transmittance of the second circular polarizer to light corresponding to an i-color channel of the ambient light are determined, and the i-color channel is any one of the color channels detected by the first multi-channel color sensor and the second multi-channel color sensor.
9. The apparatus of claim 1, wherein the parameter of the ambient light further comprises a color temperature,
determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value, including:
determining coefficients of a plurality of color channels of the ambient light according to the first ambient light response value, the second ambient light response value and the transmittances of the first circular polarizer, the second circular polarizer and the display screen;
and determining the color temperature of the ambient light according to the coefficients of the plurality of color channels of the ambient light.
10. The apparatus of claim 6, wherein the color channels of ambient light comprise an X color channel, a Y color channel, and a Z color channel, the parameter of the ambient light further comprising an illuminance,
determining the parameter of the ambient light according to the obtained first ambient light response value and the obtained second ambient light response value, including:
determining an illuminance of a Y color channel in the ambient light, and labeling the illuminance of the Y color channel as the illuminance of the ambient light.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569452.4A CN112146758B (en) | 2019-06-27 | 2019-06-27 | Ambient light detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569452.4A CN112146758B (en) | 2019-06-27 | 2019-06-27 | Ambient light detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112146758A true CN112146758A (en) | 2020-12-29 |
CN112146758B CN112146758B (en) | 2023-07-25 |
Family
ID=73868839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910569452.4A Active CN112146758B (en) | 2019-06-27 | 2019-06-27 | Ambient light detection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112146758B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113804290A (en) * | 2021-05-17 | 2021-12-17 | 荣耀终端有限公司 | Ambient light detection method, electronic device and chip system |
WO2022028469A1 (en) * | 2020-08-05 | 2022-02-10 | 维沃移动通信有限公司 | Electronic device |
CN115225759A (en) * | 2021-04-15 | 2022-10-21 | 北京小米移动软件有限公司 | Color temperature detection device, method, equipment, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204155595U (en) * | 2013-11-07 | 2015-02-11 | 苹果公司 | Electronic equipment and detect the device of surround lighting on an electronic device |
CN107767835A (en) * | 2017-11-22 | 2018-03-06 | 广东欧珀移动通信有限公司 | Display screen component and electronic equipment |
CN108881538A (en) * | 2018-06-22 | 2018-11-23 | 北京小米移动软件有限公司 | Mobile terminal |
CN109036163A (en) * | 2018-08-31 | 2018-12-18 | 京东方科技集团股份有限公司 | A kind of display device and its environment light detection method |
-
2019
- 2019-06-27 CN CN201910569452.4A patent/CN112146758B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204155595U (en) * | 2013-11-07 | 2015-02-11 | 苹果公司 | Electronic equipment and detect the device of surround lighting on an electronic device |
CN107767835A (en) * | 2017-11-22 | 2018-03-06 | 广东欧珀移动通信有限公司 | Display screen component and electronic equipment |
CN108881538A (en) * | 2018-06-22 | 2018-11-23 | 北京小米移动软件有限公司 | Mobile terminal |
CN109036163A (en) * | 2018-08-31 | 2018-12-18 | 京东方科技集团股份有限公司 | A kind of display device and its environment light detection method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022028469A1 (en) * | 2020-08-05 | 2022-02-10 | 维沃移动通信有限公司 | Electronic device |
CN115225759A (en) * | 2021-04-15 | 2022-10-21 | 北京小米移动软件有限公司 | Color temperature detection device, method, equipment, terminal and storage medium |
CN113804290A (en) * | 2021-05-17 | 2021-12-17 | 荣耀终端有限公司 | Ambient light detection method, electronic device and chip system |
CN115597706A (en) * | 2021-05-17 | 2023-01-13 | 荣耀终端有限公司(Cn) | Ambient light detection method, electronic device and chip system |
CN115597706B (en) * | 2021-05-17 | 2023-10-20 | 荣耀终端有限公司 | Ambient light detection method, electronic equipment and chip system |
Also Published As
Publication number | Publication date |
---|---|
CN112146758B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11015973B2 (en) | Method and apparatus for acquiring ambient light brightness based on the luminance value of the screen of a terminal device | |
US10636383B2 (en) | Method, apparatus and device for adjusting screen color and storage medium | |
CN112146758B (en) | Ambient light detection device | |
KR101831077B1 (en) | Method and device for switching color gamut mode | |
US9858885B2 (en) | Method and device for reducing display brightness | |
CN111829654B (en) | Ambient light detection method and device, and computer storage medium | |
CN112449026B (en) | Ambient light compensation method, device, terminal and storage medium | |
WO2017012269A1 (en) | Method and apparatus for determining spatial parameter by using image, and terminal device | |
CN111380609B (en) | Light sensation data acquisition method and device, electronic equipment and storage medium | |
CN105651381B (en) | light sensor calibration method and device | |
CN112710383B (en) | Light sensor calibration method, device and storage medium | |
CN107808626B (en) | Method and device for adjusting color temperature of display screen and computer readable storage medium | |
CN104464674B (en) | Liquid crystal display method of adjustment and device | |
CN105825490A (en) | Gaussian blur method and device of image | |
US12123781B2 (en) | Electronic device, method and apparatus for measuring color temperature of ambient light, and storage medium | |
CN112146757B (en) | Ambient light detection device | |
US11991300B2 (en) | Photographing method and apparatus, terminal, and storage medium | |
CN116453459A (en) | Screen display method and device, readable storage medium and electronic equipment | |
CN115145662A (en) | Screen display brightness adjusting method and device and storage medium | |
CN111507133B (en) | Fingerprint identification calibration method and device | |
CN112927641B (en) | Screen brightness adjusting method and device, terminal equipment and storage medium | |
CN118695108A (en) | Image processing method, device and storage medium | |
CN115219032A (en) | Ambient light detection method, ambient light detection device, and storage medium | |
CN115695991A (en) | Image sensor, image processing method, camera module and electronic equipment | |
CN115225759A (en) | Color temperature detection device, method, equipment, terminal and 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 |