Ambient light sensitivity test method, display device, electronic device and medium

By setting up a light sensor in the display device, obtaining the total light sensing amount and calculating the light leakage contribution, the problem of inaccurate detection of ambient light sensing in the prior art is solved, and the optimization of brightness adjustment and user experience is achieved.

CN114935401BActive Publication Date: 2025-04-18GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210610869.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2025-04-18
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

The prior art is difficult to accurately detect the ambient light sensing amount, resulting in inaccurate adjustment of the brightness of the display panel, especially in dark environments, the screen may have a problem of light or light and dark.

Method used

By setting a light sensor in the display device, the total light sensing amount is obtained, and the light leakage contribution amount is determined based on the image parameters of the displayed image, and the ambient light sensing amount of the ambient light is then calculated.

Benefits of technology

Accurate measurement of ambient light sensing is achieved, screen brightness adjustment is optimized, and user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114935401B_ABST
    Figure CN114935401B_ABST
Patent Text Reader

Abstract

The present application discloses a method for testing ambient light sensitivity, a display device, an electronic device, and a medium. The testing method is applied to a display device, wherein the display device includes a self-luminous display panel and a light sensing circuit, wherein the light sensing circuit is disposed on the non-display surface side of the display panel, and the method includes: obtaining the total light sensitivity based on the light sensing circuit; and obtaining the image parameters of the display image of the display panel, and determining the corresponding light leakage contribution based on the image parameters; and determining the ambient light sensitivity of the ambient light according to the total light sensitivity and the light leakage contribution. In the above manner, the present application can accurately measure the ambient light sensitivity, optimize the screen brightness adjustment, and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular to a method for testing ambient light sensitivity, a display device, an electronic device, and a medium. Background Art

[0002] Generally, with the popularization of electronic devices, the display panels of display devices generally adopt a full-screen structure. Due to the existence of gaps, full-screen electronic devices of organic light-emitting semiconductors (OLED) can adjust the screen brightness and eye protection mode algorithms through light sensing, and different design schemes can be adopted, such as traditional light sensing / slit light sensing and under-screen light sensing.

[0003] Among them, traditional light sensors or slit light sensors use light guides to transmit external ambient light to the surface of the photosensitive device, and the structural design needs to ensure that the light emitted by the display panel does not interfere with the photosensitive device. The under-screen light sensor directly places the photosensitive device just below the display area of ​​the display screen, and uses the pulse width modulation (PWM) black frame algorithm to calculate the amount of interference of the screen light on the device to achieve the function of real-time detection of external ambient light; or uses a compensation algorithm to calculate the amount of interference of screen leakage light on the device to achieve the function of real-time detection of external ambient light.

[0004] At present, the calculation scheme for under-screen light sensing is often not applicable to the low-light DC dimming mode because the PWM black frame algorithm is not applicable to the DC screen modulation method. Traditional light sensing either takes up a large structural space and is not suitable for full-screen, and the slit light sensing occupies the black border area and cannot completely solve the problem of light leakage on the side of the screen. As a result, the current scheme cannot accurately detect the amount of ambient light, which affects the screen brightness adjustment of the display panel, resulting in the screen being brighter or flickering in dark environments. Summary of the invention

[0005] A first aspect of an embodiment of the present application provides a method for testing ambient light sensitivity, which is applied to a display device, wherein the display device includes a self-luminous display panel and a light sensing circuit, wherein the light sensor is arranged on a non-display surface side of the display panel, and the testing method includes: obtaining a total light sensitivity based on the light sensing circuit; and obtaining image parameters of a display image of the display panel, and determining a corresponding leakage light contribution based on the image parameters; and determining the ambient light sensitivity of the ambient light according to the total light sensitivity and the leakage light contribution.

[0006] A second aspect of an embodiment of the present application provides a display device, the display device comprising:

[0007] A self-luminous display panel and a light sensing circuit, wherein the light sensor is arranged on the non-display surface side of the display panel;

[0008] The acquisition module is used to obtain the total light sensitivity based on the light sensing circuit and

[0009] Obtaining image parameters of a display image of the display panel;

[0010] A determination module, used to determine a corresponding light leakage contribution based on image parameters;

[0011] The determination module is also used to determine the ambient light sensitivity of the ambient light according to the total light sensitivity and the leakage light contribution.

[0012] A third aspect of an embodiment of the present application provides an electronic device, which includes: a processor and a memory, wherein a computer program is stored in the memory, and the processor is used to execute the computer program to implement the test method described in the first aspect.

[0013] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can implement the test method described in the first aspect of the embodiment of the present application.

[0014] The beneficial effect of the present application is: the present application obtains the total light sensitivity based on the light sensing circuit, and obtains the leakage light contribution corresponding to the image parameters of the displayed image, so as to calculate the ambient light sensitivity, so that the ambient light sensitivity can be accurately measured, thereby optimizing the screen brightness adjustment and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0016] Figure 1 It is a schematic diagram of the structure of the light receiving path of the light sensor under the screen of the display panel of the present application;

[0017] Figure 2 It is a flow chart of an embodiment of a method for testing ambient light sensitivity of the present application;

[0018] Figure 3 It is a schematic diagram of an embodiment of the contribution of a single color to light leakage in the present application;

[0019] Figure 4 It is a schematic diagram of an embodiment of the contribution of two colors to light leakage in the present application;

[0020] Figure 5 It is a schematic diagram of an embodiment of the contribution of three colors to light leakage in the present application;

[0021] Figure 6 It is a flow chart of another embodiment of the method for testing ambient light sensitivity of the present application;

[0022] Figure 7 This is a schematic diagram of a specific embodiment of the present application for adjusting screen brightness;

[0023] Figure 8 is a schematic diagram of a fitting curve of the contribution of red to light leakage in this application;

[0024] Fig. 9 This is a schematic diagram of the fitting curve of the green color contribution to light leakage in this application;

[0025] Fig.10 is a schematic diagram of the fitting curve of the contribution of blue to light leakage in this application;

[0026] Fig.11 It is a schematic diagram of the fitting curve of the light leakage contribution when the red and green colors intersect in this application;

[0027] Fig.12 It is a schematic diagram of the fitting curve of the light leakage contribution when the red and blue colors intersect in this application;

[0028] Fig.13 It is a schematic diagram of the fitting curve of the contribution to light leakage when green and blue intersect in this application;

[0029] Fig.14 It is a schematic diagram of the fitting curve of the light leakage contribution when the red, green and blue colors intersect in the present application;

[0030] Fig.15 is a structural block diagram of a display device provided by an embodiment of the present application;

[0031] Fig.16 is a structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0032] Fig.17 This is a schematic diagram of the structure of a computer-readable storage medium provided by the present application;

[0033] Fig.18 It is a schematic block diagram of the hardware architecture of the terminal of this application. DETAILED DESCRIPTION

[0034] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0035] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0036] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0037] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0038] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0039] The present application provides an ambient light testing method, which is applied to a display device, wherein the display device includes a self-luminous display panel and a light sensor circuit, wherein the light sensor is arranged on a non-display surface side of the display panel, Figure 1 and Figure 2 , Figure 1 It is a schematic diagram of the structure of the light receiving path of the under-screen light sensor of the display panel of this application, Figure 2 1 is a flow chart of an embodiment of a method for testing ambient light of the present application, and the testing method specifically comprises the following steps:

[0040] S11: Obtaining total light sensitivity based on the light sensing circuit;

[0041] like Figure 1As shown in the figure, the path of light received by the photosensitive sensor; 1. The ambient light sensor (ALS) first passes through the TP glass cover 10, and then passes through the internal polarizing film 11, polarizing plates 12 and 13, display panel (panel) 14, etc. of the screen to directly reach the surface of the photosensitive sensor (also called photosensitive IC) 15; 2. The light emitted by the display panel (panel) 14 directly enters the surface of the photosensitive sensor; 3. The panel light passes through the polarizing plates 12 and 13, polarizing film, etc. 11 structures to reach the TP cover 10, where the TP cover 10 usually adopts a glass cover, and then is reflected by the TP cover 10 and passes through the internal structure of the screen again to reach the sensor surface.

[0042] Because the light sensor is arranged on the non-display side of the display panel, the light sensing circuit of the present application can be represented by light sensing IC15, and the display device can obtain the total light sensitivity based on the light sensing circuit, providing a reasonable basis for subsequent calculations.

[0043] S12: Acquire image parameters of a display image of the display panel, and determine a corresponding light leakage contribution amount based on the image parameters;

[0044] Generally speaking, the light received by the photosensitive IC can be divided into two parts. One part comes from the external ambient light that enters the IC surface through the screen, and the other part comes from the screen's self-luminescence that enters the IC surface.

[0045] Specifically, based on the total light perception, the calculation of the overall light leakage is related to the screen brightness and color chromaticity, so it can be added to the light leakage calculation. Usually, the screen brightness is obtained through linear fitting to affect the image parameters. For example, if the light leakage at 2047 brightness is 4000 count, then the light leakage at 1023 brightness is 2000 count.

[0046] Therefore, if the ambient light sensitivity of the ambient light is to be determined, the image parameters of the display image of the display panel may be obtained, and the corresponding light leakage contribution amount may be determined based on the image parameters.

[0047] S13: Determine the ambient light sensitivity of the ambient light according to the total light sensitivity and the light leakage contribution.

[0048] After obtaining the total light perception and the light leakage contribution, the ambient light perception of the ambient light can be determined according to the total light perception and the light leakage contribution. It is worth noting that there is no order between obtaining the total light perception and obtaining the light leakage contribution, that is, there is no time sequence limitation. In actual operation, it can be selected according to needs, and no limitation is made here.

[0049] Specifically, the ambient light sensitivity of the ambient light can be determined by subtracting the difference between the total light sensitivity and the leakage light contribution. Therefore, the algorithm used in this application can accurately calculate and deduct the part of the light that enters the IC surface from the self-luminous screen, thereby obtaining an accurate external ambient light value.

[0050] Therefore, the present application obtains the total light sensitivity based on the light sensing circuit, and obtains the leakage light contribution corresponding to the image parameters of the displayed image, so as to calculate the ambient light sensitivity, so that the ambient light sensitivity can be accurately measured, thereby optimizing the screen brightness adjustment and improving the user experience.

[0051] Because the interference factors of the self-luminescence under the screen to the light-sensing IC are mainly the screen brightness and screen color: the higher the screen brightness, the greater the light leakage, and the brightness Level value and the light leakage amount are linearly related. This part can be linearly fitted. For example, if the screen brightness level is 2047, the production line will calibrate in a completely dark environment to obtain the light leakage contribution at the maximum brightness. The maximum light leakage value of the display device can be obtained through production line calibration, and the light leakage size at each brightness level can be obtained through the linear fitting formula. This article will not introduce it in detail.

[0052] The color chromaticity displayed on the screen, the closer the color chromaticity is to white in the RGB color gamut, the greater the light leakage contribution, and the closer it is to black, the smaller the light leakage contribution. Different color chromaticities have different contributions to the light leakage of the screen. This article will focus on this part; of course, there are some other factors that affect it: for example, the larger the opening, the greater the interference, but this part has a fixed impact after the structure is fixed.

[0053] Therefore, based on the standard self-luminous state of the gold machine, multiple color chromaticities and the corresponding light leakage contributions of the multiple color chromaticities can be obtained from the display image of the gold machine. Because the fitting relationship between multiple color chromaticities and the corresponding light leakage contributions is often a cubic fitting equation, the number of color chromaticities and the number of corresponding light leakage contributions are at least 3. In this way, a preset fitting formula can be obtained to calculate the light leakage contributions of various color chromaticities. Therefore, the preset fitting formula is placed in the display device to provide a reasonable basis for the subsequent calculation of the light leakage contribution of the display device.

[0054] Therefore, based on the self-luminous state of the display panel, the brightness level and color chromaticity of the displayed image are obtained, and the light leakage contribution corresponding to the color chromaticity under the brightness level is calculated through a preset fitting formula.

[0055] Specifically, the image parameters include brightness level and color chromaticity. Under the premise that the preset fitting formula is placed in the display device, the brightness level of the displayed image and the color chromaticity under the brightness level can be obtained based on the self-luminous state of the display panel, and the color chromaticity is brought into the preset fitting formula for calculation, so that the light leakage contribution corresponding to the color chromaticity under the brightness level can be further fitted and calculated.

[0056] Since colors can be pure single colors or multiple colors can be crossed, and the grayscale of each color is different, each color chromaticity has its own corresponding fitting formula. By combining the brightness level corresponding to its color chromaticity, the corresponding light leakage contribution of each color chromaticity at each brightness level can be calculated based on the RGB pixel points.

[0057] The preset fitting formula is expressed as formula (1):

[0058] Y 总 =A1Y=A1(ey1+dy2+fy3) (1)

[0059] Among them, Y 总 represents the light leakage contribution; A1 represents the light leakage contribution coefficient corresponding to different brightness levels, Y represents the summed light leakage contribution of all color chromaticities; e represents the light leakage contribution of red in the summed light leakage contribution, d represents the light leakage contribution of green in the summed light leakage contribution, f represents the light leakage contribution of blue in the summed light leakage contribution, y1 represents the light leakage contribution corresponding to red, y2 represents the light leakage contribution corresponding to green, and y3 represents the light leakage contribution corresponding to blue. Among them, y1, y2 and y3 in the preset fitting formula are respectively expressed as formula (2) to formula (4):

[0060] y1=a1x1 3 +b1x1 2 +c1x1 (2)

[0061] y2=a2x2 3 +b2x2 2 +c2x2 (3)

[0062] y3=a3x3 3 +b3x3 2 +c3x3 (4)

[0063] In formula (2) to formula (4), x1 represents the chromaticity value of red in the displayed image, with a value range of 0-255; a1, b1, c1 represent the formula fitting coefficients corresponding to red; x2 represents the chromaticity value of green in the displayed image, with a value range of 0-255; a2, b2, c2 represent the formula fitting coefficients corresponding to green; x3 represents the chromaticity value of green in the displayed image, with a value range of 0-255; a3, b3, c3 represent the formula fitting coefficients corresponding to blue. For example, for the three primary colors, the color chromaticity value range is 0-255. Under the standard lighting state of the gold machine, the brightness level is 1, and the fitting formula for red is y1=0.00001544x 3 +0.01328210x 2 +0.04302429x, the green fitting formula is y2=0.00004163x 3 +0.012606664x 2 +2.64701738x, the blue fitting formula is y3=0.00001468x 3 +0.00252440x 2 +1.76346091x; if the red chromaticity is 200, the light leakage contribution corresponding to red can be obtained as y1=0.00001544×200 3 +0.01328210×200 2 +0.04302429×200=663.408858 (lux). Similarly, the light leakage contribution corresponding to green and blue can also be obtained through their respective fitting formulas.

[0064] In this way, the light leakage contribution y1, y2 or y3 corresponding to red, green and blue can be calculated by the fitting formula corresponding to the color chromaticity, and the summed light leakage contribution can be calculated by the light leakage contribution e, d and f corresponding to red, green and blue respectively. If the brightness level A1 is 1, the light leakage contribution Y can be calculated. 总 .

[0065] For example, if the brightness level is not 1 in the calculation of light leakage contribution, the corresponding light leakage contribution of each color chromaticity at each brightness level can be reflected in the coefficient before the single color chromaticity. In addition, it can also be reflected in the value of the color chromaticity. Therefore, in the case of multi-color crossover in reality, the fitting formula is changed accordingly. Specifically, a1, b1 and c1, a2, b2 and c2, or a3, b3 and c3 are erased and reflected in the value of the color chromaticity.

[0066] For example, for the intersection of two colors in the three primary colors, the color chromaticity range is 0-255. Under the standard lighting state of the gold machine, the brightness level is 1, and the fitting formula for the intersection of red and green is y=0.00000133x 3 +0.00638139x 2 +0.65898629x, the fitting formula for the intersection of red and blue is y=0.00000727x 3 +0.00226615x 2 +0.40915968x, the fitting formula for the intersection of green and blue is y=0.00001077x 3 +0.00027503x 2 +0.65066489x.

[0067] For the three-color crossover of the three primary colors, the color chromaticity range is 0-255. Under the standard lighting state of the gold machine, the brightness level is 1, and the fitting formula for the three-color crossover is y=0.00001544x 3 +0.00590417x 2 +0.38251473x. Therefore, the color chromaticity corresponding to each light leakage contribution can be calculated; after determining the brightness level, the light leakage contribution can be determined. The corresponding relationship between the light leakage contribution corresponding to the brightness level is in a table, which can be selected and extracted when needed. In this way, if the light leakage contribution is converted to color chromaticity, the color chromaticity corresponding to each light leakage contribution can be calculated by a preset fitting formula, which is specifically reflected in the light leakage contribution y1, y2 or y3 corresponding to red, green and blue respectively. Each light leakage contribution is counted to obtain the summed light leakage contribution. Specifically, based on each light leakage contribution, the light leakage contribution corresponding to all color chromaticities in the display panel is added up by a statistical method, and the summed light leakage contribution can be obtained, that is, the sum of the light leakage corresponding to all color chromaticities in the display panel. And, based on the brightness level, the sum of the light leakage contribution is proportionally distributed to obtain the light leakage contribution. Furthermore, the above only considers the summed light leakage contribution corresponding to the color chromaticity, and the total light leakage contribution is also related to the brightness level of the screen. The brightness level is often linearly proportional to the light leakage contribution, and the ratio can be A1. Therefore, based on the brightness level, the sum of the light leakage contribution is proportionally allocated. Specifically, the sum of the light leakage contribution can be proportionally allocated according to the brightness level to obtain the light leakage contribution.

[0068] Furthermore, in combination with the brightness level corresponding to the color chromaticity, the light leakage contribution corresponding to each color chromaticity at each determined brightness level is calculated according to the RGB pixel points. The test method also includes:

[0069] If the brightness level is determined to be equal to the standard value of the three primary colors and it is a single color, the light leakage contribution is determined to be 1. Figure 3 , Figure 3 It is a schematic diagram of an embodiment of the contribution of monochrome to light leakage in the present application; the interference of screen color on IC essentially lies in the brightness of a single sub-pixel, and the sub-pixel color depth (that is, grayscale) ultimately affects the amount of light leakage. For R (255, 0, 0), G (0, 255, 0), and B (0, 255, 255) monochrome, the color depth (grayscale) is fitted using a cubic equation to obtain a fitting curve with higher accuracy. The contribution of RGB monochrome to light leakage can be understood as all, and the light leakage contribution is 1.

[0070] If the brightness level is equal to the standard value of the three primary colors and is not a single color, the light leakage contribution is determined to be 0 to 1; if the brightness level is less than the standard value of the three primary colors, the light leakage contribution is determined to be 0 to 1. If two of the three primary colors overlap, please refer to Figure 4 , Figure 4 This is a schematic diagram of an embodiment of the contribution of two colors to light leakage in the present application, where red-green cross contribution = red + green - yellow, red contribution = red - red-green cross contribution, green contribution = green - red-green cross contribution; and red-blue cross contribution = red + indigo - magenta, red contribution = red - red-blue cross contribution, blue contribution = blue - red-blue cross contribution; green-blue cross contribution = green + blue - cyan, green contribution = green - green-blue cross contribution, blue contribution = blue - green-blue cross contribution.

[0071] Specifically, for the mixture of two colors, the interference of Y (yellow: 255, 255, 0), M (magenta 255, 0, 255), and C (cyan 0, 255, 255) on light leakage is not a simple superposition of two colors of monochrome light leakage. In fact, it has less impact than the superposition of two colors, and the light leakage contribution is 0 to 1.

[0072] like Figure 4As shown, the influence of the two-color image on the light leakage can be obtained by conversion: for example, the intersection 2 formed by the red and green intersection is yellow. Since the contribution ratios of red and green to the intersection 2 are different, it is expressed in the form of light leakage contribution. Therefore, the light leakage part of the final red and green two-color image (red-green combination) is red 2 + green 2 + red cross contribution + green cross contribution (or red-green cross contribution + green-red cross contribution); similarly, the intersection 3 formed by the red and blue intersection is magenta. Since the contribution ratios of red and blue to the intersection 3 are different, it is expressed in the form of light leakage contribution. Therefore, the light leakage part of the final red and blue two-color image (red-blue combination) is red 3 + blue 3 + red cross contribution + blue cross contribution. Similarly, the light leakage part of the final green and blue two-color image (green-blue combination) is green 3 + blue 3 + green cross contribution + blue cross contribution.

[0073] If three of the three primary colors overlap, see Figure 5 , Figure 5 This is a schematic diagram of an embodiment of the contribution of the three colors to light leakage in the present application. In theory, the three colors of red, green and blue will synthesize white, which is the same as the light leakage of white. However, there is a deviation between reality and theory, so that the light leakage of the three-color picture is: red + green + blue + red cross contribution + green cross contribution + blue cross contribution.

[0074] Specifically, for the mixture of three colors, the interference of W (white: 255, 255, 255) on light leakage is not simply the superposition of the three colors of single-color light leakage. In fact, it has less impact than the light leakage of the superposition of three colors, and the contribution of light leakage should also be reconsidered.

[0075] Among them, the light leakage contribution can be understood as a percentage. For example, if all the contribution is from red, the percentage of red is 1. If it is contributed by red and green, then through the preset table of color chromaticity corresponding to light leakage contribution, it can be found that the percentage of red is 0.6 and that of green is 0.4.

[0076] Furthermore, the test method shows that the error of light leakage contribution corresponding to different types of display images on the display device is less than 7 lux.

[0077] For further information, see Figure 6 , Figure 6 1 is a flow chart of another embodiment of the ambient light testing method of the present application, which specifically includes the following steps:

[0078] Steps S21 to S23 are Figure 2 Steps S11 to S13 are similar and will not be repeated here.

[0079] S24: Controlling the screen brightness of the display panel according to the ambient light intensity.

[0080] Specifically, to facilitate a detailed understanding of this application and the technical solution of this step, please refer to Figure 7 , Figure 7 This is a flowchart of a specific implementation example of adjusting the screen brightness of the present application; first, the maximum brightness light leakage value of the whole machine's GRBYMCW and other colors is obtained, and then the light leakage values ​​of different colors of each level are calculated according to the golden machine fitting formula, among which the golden machine indicates that the device is in the best state and the light leakage number is accurate; specifically, by obtaining the maximum light leakage value and color chromaticity value (the screen's self-luminescence can be directly obtained through reading); based on the fitting formula preset in the software, the light leakage contribution corresponding to the color chromaticity is calculated through the light leakage value and the color chromaticity value.

[0081] The board support package (BSP) of the display device obtains the original channel value (rawdata) of the underlying integrated circuit (IC), which contains two parts: ambient light and screen light leakage. The Android system (Android) obtains the RGB pixels of the screen (that is, the pixels corresponding to the three colors R (red), G (green), and B (blue), respectively), calculates the overall contribution of screen light leakage based on the pixels and the brightness level introduced above, and then uses the rawdata uploaded by the BSP to deduct the screen light leakage (comp), and finally calculates the ambient light and reports it to the multimedia (Media); Media will adjust the screen level based on the reported ambient light sensor (ALS) and the upper and lower limits of the anti-shake range.

[0082] From this we can get, Figures 8 to 14 , Figure 8 is a schematic diagram of a fitting curve of the contribution of red to light leakage in this application; Fig. 9 This is a schematic diagram of the fitting curve of the green contribution to light leakage in this application Fig.10 is a schematic diagram of the fitting curve of the contribution of blue to light leakage in this application; Fig.11 This is a schematic diagram of the fitting curve of the contribution of the intersection of red and green to light leakage in this application; Fig.12 This is a schematic diagram of the fitting curve of the contribution of the intersection of red and blue to light leakage in this application; Fig.13 This is a schematic diagram of the fitting curve of the contribution of the intersection of green and blue to light leakage in this application; Fig.14 It is a schematic diagram of the fitting curve of the contribution of the intersection of red, green and blue to light leakage in this application; the square of R represents the accuracy of the fitting, and the closer to 1, the higher the accuracy. It can be seen that the fitting R square values ​​are all above 0.97, and the fitting effect is good.

[0083] Among them, this test method is measured in a dark environment. By comparing the calculation results of the new and old algorithms, the new algorithm has a maximum accuracy error of 7lux when the whole machine displays different types of pictures, while the old algorithm is 24lux. The overall calculation error is significantly improved compared with the previous algorithm. Please refer to the table below:

[0084] In this way, this application mainly optimizes the algorithm for the current defects of under-screen light sensing. After optimization, the light sensing effect can reach the performance of traditional light sensing, while not occupying structural space and not needing to solve the problem of side light leakage. In addition, this algorithm has high accuracy, solves user pain point scenario problems, optimizes screen brightness adjustment, and improves user experience. This solution is applied under the screen to improve the appearance and expressiveness of full-screen mobile phones and enhance the sense of technology; this algorithm can be applied to the under-screen light sensing of DC and PWM screens, providing a light sensing technology solution for the full-screen era.

[0085] Therefore, this application proposes for the first time the concept of light leakage contribution of the under-screen light-sensing screenshot algorithm, and calculates the light leakage contribution and contribution amount for different types of image displays, thereby improving the accuracy of the screenshot algorithm; and is not limited to screen display modes (DC and PWM screen adjustment), providing a reliable light-sensing technology solution for subsequent full-screen mobile phones, making the technical solution highly practical.

[0086] In addition, this application also provides a display device, see Fig.15 , Fig.15 1 is a structural block diagram of a display device provided in an embodiment of the present application, wherein the display device 60 includes:

[0087] A self-luminous display panel 61 and a light sensor circuit 62, wherein the light sensor 62 is disposed on the non-display surface side of the display panel 61;

[0088] An acquisition module 63, configured to acquire a total light sensitivity based on a light sensing circuit; and

[0089] Obtaining image parameters of a display image of the display panel;

[0090] A determination module 64, configured to determine a corresponding light leakage contribution based on the image parameters;

[0091] The determination module 64 is further configured to determine the ambient light sensitivity of the ambient light according to the total light sensitivity and the leakage light contribution.

[0092] In addition, this application also provides an electronic device, see Fig.16 , Fig.16It is a structural diagram of an electronic device provided in an embodiment of the present application. The electronic device 70 includes: a processor 71 and a memory 72. The memory 72 stores a computer program 721. The processor 71 is used to execute the computer program 721 to execute the test method as described above, which will not be repeated here.

[0093] In addition, the present application also provides a computer-readable storage medium, see Fig.17 , Fig.17 This is a schematic diagram of the structure of a computer-readable storage medium provided by the present application. The computer-readable storage medium 80 stores a computer program 81. The computer program 81 can implement the above-mentioned test method when executed by a processor, which will not be described in detail here.

[0094] See also Fig.18 , Fig.18 It is a schematic block diagram of the hardware architecture of the terminal of the present application. The terminal 900 can be a smart TV, an industrial computer, a tablet computer, a mobile phone, a laptop computer, etc. The diagram of this embodiment takes a mobile phone as an example. The structure of the terminal 900 may include a radio frequency (RF) circuit 810, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a WiFi (wireless fidelity) module 970, a processor 980, and a power supply 990. Among them, the RF circuit 910, the memory 920, the input unit 930, the display unit 940, the sensor 950, the audio circuit 960, and the WiFi module 970 are respectively connected to the processor 980; the power supply 990 is used to provide power to the entire terminal 900.

[0095] Specifically, the RF circuit 910 is used to receive and send signals; the memory 920 is used to store data instruction information; the input unit 930 is used to input information, which may specifically include a touch panel 931 and other input devices 932 such as operation buttons; the display unit 940 may include a display panel, etc.; the sensor 950 includes an infrared sensor, a laser sensor, etc., for detecting user approach signals, distance signals, etc.; the speaker 961 and the microphone (or microphone) 962 are connected to the processor 980 through the audio circuit 960 for receiving and sending sound signals; the WiFi module 970 is used to receive and transmit WiFi signals, and the processor 980 is used to process the data information of the mobile phone.

[0096] The above descriptions are only some embodiments of the present application, and do not limit the protection scope of the present application. Any equivalent device or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for testing ambient light sensitivity, characterized in that: The testing method is applied to a display device, the display device includes a self-luminous display panel and a light sensing circuit, the light sensing circuit is arranged on a non-display surface side of the display panel, and the testing method includes: Based on the light sensing circuit, a total light sensitivity is obtained; and image parameters of a display image of the display panel are obtained and a corresponding light leakage contribution is determined based on the image parameters; Determining the ambient light perception of the ambient light according to the total light perception and the light leakage contribution; The image parameters include brightness level and color chromaticity; The acquiring image parameters of the display image of the display panel and determining the corresponding light leakage contribution amount based on the image parameters includes: Based on the self-luminous state of the display panel, the brightness level and color chromaticity of the display image are obtained, and the light leakage contribution corresponding to the color chromaticity at the brightness level is calculated by a preset fitting formula; The preset fitting formula is expressed as: Y 总 =A1Y=A1(ey1+dy2+my3) in, Y 总 Represents the light leakage contribution; A1 represents the light leakage contribution coefficient corresponding to different brightness levels, Y represents the summed light leakage contribution of all color chromaticities; e represents the light leakage contribution of red in the summed light leakage contribution, d represents the light leakage contribution of green in the summed light leakage contribution, f represents the light leakage contribution of blue in the summed light leakage contribution, y1 represents the light leakage contribution corresponding to red, y2 represents the light leakage contribution corresponding to green, and y3 represents the light leakage contribution corresponding to blue.

2. The testing method according to claim 1, characterized in that: The y in the preset fitting formula 1、 y2 and y3 are expressed as: y1=a1x1 3 +b1x1 2 +c1x1; y2=a2x2 3 +b2x2 2 +c2x2; <h2 style=";text-align:left;direction:ltr">y3=a3x3<h2 style=";text-align:left;direction:ltr"> 3 <h2 style=";text-align:left;direction:ltr"> +b3x3<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +c3x3; in, x1 represents the chromaticity value of red in the displayed image, and its value range is 0-255; a1, b1, c1 represent the formula fitting coefficients corresponding to red respectively; x2 represents the chromaticity value of green in the displayed image, and its value range is 0-255; a2, b2, c2 represent the formula fitting coefficients corresponding to green respectively; x3 represents the chromaticity value of blue in the displayed image, and its value range is 0-255; a3, b3, c3 three values ​​represent the formula fitting coefficients corresponding to blue respectively.

3. The testing method according to claim 2, characterized in that: The test method also includes: If it is determined that the brightness level is equal to the standard values ​​of the three primary colors and is monochrome, the light leakage contribution is determined to be 1; If it is determined that the brightness level is equal to the standard values ​​of the three primary colors and is not a single color, the light leakage contribution is determined to be 0-1; If it is determined that the brightness level is less than the standard values ​​of the three primary colors, the light leakage contribution is determined to be 0-1.

4. The testing method according to any one of claims 1 to 3, characterized in that: The error of light leakage contribution corresponding to different types of displayed pictures on the display device according to the testing method is below 7 lux.

5. The testing method according to claim 4, characterized in that: The test method also includes: The screen brightness of the display panel is controlled according to the ambient light sensitivity.

6. A display device, characterized in that: The display device comprises: A self-luminous display panel and a light sensing circuit, wherein the light sensing circuit is arranged on a non-display surface side of the display panel; An acquisition module, used for acquiring a total light sensitivity based on the light sensing circuit; and acquiring image parameters of a display image of the display panel; wherein the image parameters include brightness level and color chromaticity; A determination module, configured to determine a corresponding light leakage contribution based on the image parameters; specifically, the module obtains the brightness level and color chromaticity of the displayed image based on the self-luminous state of the display panel, and calculates the light leakage contribution corresponding to the color chromaticity at the brightness level through a preset fitting formula; The preset fitting formula is expressed as: Y 总 =A1Y=A1(ey1+dy2+my3) in, Y 总 represents the light leakage contribution; A1 represents the light leakage contribution coefficient corresponding to different brightness levels, Y represents the summed light leakage contribution of all color chromaticities; e represents the light leakage contribution of red in the summed light leakage contribution, d represents the light leakage contribution of green in the summed light leakage contribution, f represents the light leakage contribution of blue in the summed light leakage contribution, y1 represents the light leakage contribution corresponding to red, y2 represents the light leakage contribution corresponding to green, and y3 represents the light leakage contribution corresponding to blue; The determination module is further configured to determine the ambient light sensitivity of the ambient light according to the total light sensitivity and the light leakage contribution.

7. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the testing method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the test method according to any one of claims 1 to 5 can be implemented.

Citation Information

Patent Citations

  • Method and device for determining ambient light for terminal equipment, equipment and medium

    CN112781832A