WO2023201722A1 - 环境光强度的检测方法和电子设备 - Google Patents

环境光强度的检测方法和电子设备 Download PDF

Info

Publication number
WO2023201722A1
WO2023201722A1 PCT/CN2022/088559 CN2022088559W WO2023201722A1 WO 2023201722 A1 WO2023201722 A1 WO 2023201722A1 CN 2022088559 W CN2022088559 W CN 2022088559W WO 2023201722 A1 WO2023201722 A1 WO 2023201722A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
light
pixel
light intensity
display
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.)
Ceased
Application number
PCT/CN2022/088559
Other languages
English (en)
French (fr)
Inventor
彭全
李顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Priority to CN202280000898.5A priority Critical patent/CN115104014B/zh
Priority to PCT/CN2022/088559 priority patent/WO2023201722A1/zh
Priority to US18/064,484 priority patent/US12085441B2/en
Publication of WO2023201722A1 publication Critical patent/WO2023201722A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2092Details of a display terminals using a flat panel, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/4204Photometry, e.g. photographic exposure meter using electric radiation detectors with determination of ambient light
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/44Electric circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2003Display of colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2007Display of intermediate tones
    • G09G3/2074Display of intermediate tones using sub-pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • G09G3/3208Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/44Electric circuits
    • G01J2001/444Compensating; Calibrating, e.g. dark current, temperature drift, noise reduction or baseline correction; Adjusting
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/44Electric circuits
    • G01J2001/4446Type of detector
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/44Electric circuits
    • G01J2001/4446Type of detector
    • G01J2001/446Photodiode
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2300/00Aspects of the constitution of display devices
    • G09G2300/04Structural and physical details of display devices
    • G09G2300/0439Pixel structures
    • G09G2300/0452Details of colour pixel setup, e.g. pixel composed of a red, a blue and two green components
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/04Maintaining the quality of display appearance
    • G09G2320/041Temperature compensation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/145Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light originating from the display screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • Embodiments of the present application relate to the field of optical technology, and in particular, to a method for detecting ambient light intensity and an electronic device.
  • Electronic devices such as mobile phones and tablets adjust the brightness or color of the display screen according to ambient light to provide a better display effect.
  • the intensity of ambient light is obtained through the ambient light sensor.
  • the proportion of display screens in electronic devices is getting higher and higher.
  • Electronic devices with full-screen designs have appeared, and ambient light sensors have begun to be placed below the display screens. This causes the light sensed by the ambient light sensor placed below the display screen to include not only the ambient light, but also the light emitted by the display screen, resulting in inaccurate ambient light intensity collected by the ambient light sensing device. Therefore, how to obtain accurate ambient light intensity has become an urgent problem to be solved.
  • one of the technical problems solved by embodiments of the present invention is to provide an ambient light intensity detection method and an electronic device to improve the accuracy of the ambient light intensity obtained by the under-screen ambient light sensor.
  • a method for detecting ambient light intensity applied to an ambient light sensor includes: sensing the light intensity of incident light, wherein the incident light includes ambient light passing through the display screen and light leakage from the display screen; obtaining the information based on the display data of the target area of the display screen.
  • the estimated light intensity of the light leakage of the display screen includes calculating according to the estimated light intensity and the temperature compensation coefficient corresponding to the current temperature of the display screen, to obtain the light intensity of the light leakage of the display screen; and according to the The light intensity of the incident light and the light intensity of the light leakage from the display screen are used to obtain the light intensity of the ambient light transmitted through the display screen.
  • the calculation is performed based on the estimated light intensity and the temperature compensation coefficient corresponding to the current temperature of the display screen, including: multiplying the estimated light intensity by the temperature compensation coefficient.
  • the display data of the target area of the display screen includes: gray scale values of display pixels of the target area.
  • the display pixels of the target area of the display screen include: red sub-pixels, green sub-pixels and blue sub-pixels; the display data of the target area of the display screen include: red sub-pixels The gray scale value, the gray scale value of the green sub-pixel and the gray scale value of the blue sub-pixel; the temperature compensation coefficient includes: the temperature compensation coefficient of the red sub-pixel, the temperature compensation coefficient of the green sub-pixel and the temperature of the blue sub-pixel compensation coefficient.
  • the temperature compensation coefficient of the red sub-pixel, the temperature compensation coefficient of the green sub-pixel and the temperature compensation coefficient of the blue sub-pixel are stored in a lookup table.
  • all grayscale values of the red sub-pixel correspond to the same temperature compensation coefficient lookup table.
  • different grayscale values of the red sub-pixel correspond to different temperature compensation coefficient lookup tables.
  • a set of grayscale values of the red sub-pixel correspond to the same temperature compensation coefficient lookup table.
  • obtaining the temperature compensation coefficient includes: obtaining the luminous intensity of the display screen at multiple preset temperatures, wherein the display screen is in a state without the influence of ambient light. ; And based on one of the plurality of preset temperatures, determine the temperature compensation coefficient corresponding to each preset temperature according to the luminous intensity of the display screen at each preset temperature.
  • a method for detecting ambient light intensity applied to an ambient light sensor includes: sensing the light intensity of incident light, wherein the incident light includes ambient light passing through the display screen and light leakage of the display screen; according to the display data and current temperature of the target area of the display screen Obtain compensation display data; perform calculations based on the compensation display data to obtain the light intensity of the light leakage of the display screen; and obtain the light intensity of the light leakage through the display screen based on the light intensity of the incident light and the light intensity of the light leakage of the display screen.
  • the intensity of the screen ’s ambient light.
  • the display pixels of the target area of the display screen include: red sub-pixels, green sub-pixels and blue sub-pixels; the display data of the target area of the display screen include: red sub-pixels The grayscale value of the green sub-pixel and the gray-scale value of the blue sub-pixel.
  • obtaining the compensation display data according to the display data of the target area of the display screen and the current temperature includes: obtaining the compensation display data through a lookup table according to the display data of the target area of the display screen and the current temperature.
  • an electronic device including: a display screen; an ambient light sensor disposed below the display screen, the ambient light sensor being configured to sense the intensity of incident light, wherein the incident light includes: ambient light passing through the display screen and light leakage from the display screen; and a processor.
  • the processor is configured to: obtain the estimated light intensity of the light leakage of the display screen based on the display data of the target area of the display screen; and perform the process based on the estimated light intensity and the temperature compensation coefficient corresponding to the current temperature of the display screen. Calculate and obtain the light intensity of the light leakage of the display screen; and obtain the light intensity of the ambient light passing through the display screen based on the light intensity of the incident light and the light intensity of the light leakage of the display screen.
  • the display screen is a light-emitting diode display screen.
  • the calculation is performed based on the estimated light intensity and the temperature compensation coefficient corresponding to the current temperature of the display screen, including: multiplying the estimated light intensity by the temperature compensation coefficient.
  • the display data of the target area of the display screen includes: gray scale values of display pixels of the target area.
  • the display pixels of the target area of the display screen include: red sub-pixels, green sub-pixels and blue sub-pixels; the display data of the target area of the display screen include: red sub-pixels The gray scale value, the gray scale value of the green sub-pixel and the gray scale value of the blue sub-pixel; the temperature compensation coefficient includes: the temperature compensation coefficient of the red sub-pixel, the temperature compensation coefficient of the green sub-pixel and the temperature of the blue sub-pixel compensation coefficient.
  • the temperature compensation coefficient of the red sub-pixel, the temperature compensation coefficient of the green sub-pixel and the temperature compensation coefficient of the blue sub-pixel are stored in a lookup table.
  • all grayscale values of the red sub-pixel correspond to the same temperature compensation coefficient lookup table.
  • different grayscale values of the red sub-pixel correspond to different temperature compensation coefficient lookup tables.
  • a set of grayscale values of the red sub-pixel correspond to the same temperature compensation coefficient lookup table.
  • obtaining the temperature compensation coefficient includes: obtaining the luminous intensity of the display screen at multiple preset temperatures, wherein the display screen is in a state without the influence of ambient light. ; And based on one of the plurality of preset temperatures, determine the temperature compensation coefficient corresponding to each preset temperature according to the luminous intensity of the display screen at each preset temperature.
  • an electronic device including: a display screen; an ambient light sensor disposed below the display screen, the ambient light sensor being configured to sense the intensity of incident light, wherein the incident light includes a transparent ambient light passing through the display screen and light leakage from the display screen; and a processor.
  • the processor is configured to: obtain compensation display data according to the display data of the target area of the display screen and the current temperature; perform calculations according to the compensation display data to obtain the light intensity of the light leakage of the display screen; and obtain the light intensity of the light leakage of the display screen according to the incident light
  • the light intensity of the ambient light transmitted through the display screen is obtained by the light intensity of the light leakage from the display screen.
  • the display pixels of the target area of the display screen include: red sub-pixels, green sub-pixels and blue sub-pixels; the display data of the target area of the display screen include: red sub-pixels The grayscale value of the green sub-pixel and the gray-scale value of the blue sub-pixel.
  • obtaining the compensation display data according to the display data of the target area of the display screen and the current temperature includes: obtaining the compensation display data through a lookup table according to the display data of the target area of the display screen and the current temperature.
  • the light leakage of the target area of the display screen is calculated according to the display data of the target area of the display screen and the temperature compensation coefficient corresponding to the current temperature, and is calculated based on the sum of the light intensities of the incident light incident on the ambient light sensor.
  • the light leakage of the target area of the display screen obtains the intensity of the ambient light incident on the ambient light sensor.
  • the calculated light leakage of the target area of the display screen is more accurate, reducing the impact of temperature on the prediction of light leakage of the display screen, and improving the accuracy of ambient light measurement by the under-screen ambient light sensor.
  • FIG. 1 is a schematic plan view of an electronic device including an ambient light sensor according to an embodiment of the present application.
  • Figure 2 is a cross-sectional view of an electronic device provided by an embodiment of the present application.
  • Figure 3 is a structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a target area of a display screen corresponding to an ambient light sensor provided by an embodiment of the present application.
  • Figure 5 shows the lookup table stored in the memory.
  • Figure 6 is a flow chart of a method for detecting ambient light intensity in this application.
  • Figure 7 is a flow chart of a method for determining a temperature compensation coefficient in this application.
  • Figures 8A-8C are respectively the relationship curves between the luminous intensity and temperature of the red sub-pixel, green sub-pixel and blue sub-pixel of the display screen provided by an embodiment of the present application.
  • Figure 9 is a relationship curve between the ratio of the luminous intensity of the display screen and the gray scale value at two temperatures provided by an embodiment of the present application.
  • Figure 10 is a flow chart of another method for detecting ambient light intensity in this application.
  • the electronic device may be a mobile terminal device such as a mobile phone and a tablet, a public electronic device such as a ticket vending machine, etc.
  • the following takes the electronic device as a mobile terminal device as an example.
  • FIG. 1 is a schematic plan view of an electronic device according to an embodiment of the present application, and FIG. 1 shows the section line AA * .
  • FIG. 2 is a cross-sectional view of the electronic device taken along line AA * in FIG. 1 .
  • Figure 3 is a structural block diagram of electronic equipment.
  • the electronic device 100 includes a housing, a processor 110, a display screen 120, a display driving circuit 130, a memory 150, a temperature sensor 160, and an ambient light sensor 140.
  • the processor 110 is, for example, ARM architecture or X86 architecture.
  • the processor 110 may include one or more processing units, such as an application processing unit, a modem processing unit, a graphics processing unit, an image signal processing unit, a video codec unit, a baseband processing unit, and the like.
  • the memory 150 is used to store the operating system and programs running on the processor, as well as various running data.
  • the processor 110 , the display driving circuit 130 , the memory 150 , the ambient light sensor 140 and the temperature sensor 160 may be individually packaged chips and are disposed on the motherboard of the electronic device 100 . In some embodiments, ambient light sensor 140 and temperature sensor 160 may be packaged together.
  • the display screen 120 is, for example, an organic light-emitting diode (OLED) display screen.
  • the display screen 120 also includes a touch layer for human-computer interaction.
  • Display screen 120 includes a display pixel array including a plurality of display pixels addressed by data lines and scan lines. Each display pixel includes red sub-pixels, green sub-pixels and blue sub-pixels. Each red sub-pixel includes a red light diode, each green sub-pixel includes a green light diode, and each blue sub-pixel includes a blue light diode.
  • the display light generated by each display pixel is a mixture of red light, green light and blue light generated by red light diodes, green light diodes and blue light diodes.
  • the display pixels of display screen 120 also include white sub-pixels.
  • the processor 110 sends the display data of the display image to the display driving circuit 130 .
  • the display driving circuit 130 drives the display screen 120 to generate display light according to the display data.
  • the display driving circuit 130 determines the driving current or driving voltage of each sub-pixel according to the display data.
  • the luminous intensity of a light-emitting diode depends on the driving current or driving voltage.
  • the display image is usually divided into multiple image pixels, and the image pixels of the display image correspond to the display pixels of the display screen.
  • the display data provided by the processor 110 to the display driving circuit 130 may be the gray scale value and the reference brightness Bright of the display pixels of the display screen.
  • the display driving circuit 130 can realize the color of the corresponding image pixel according to the gray scale value of the display pixel.
  • the display data includes a grayscale value of a red sub-pixel, a green sub-pixel, and a blue sub-pixel of each display pixel of the display screen.
  • the grayscale value is, for example, an 8-bit binary number, so there are 256 values (0 to 255). Different grayscale values correspond to different luminous intensities of the light-emitting diodes. Therefore, the red sub-pixel of the display screen can produce 256 levels of red light, and the brightness is Bright*(gray scale value/255) r . r depends on the gamma curve used. In the same way, the green sub-pixel can be determined based on the gray scale value. and the brightness of the blue subpixel.
  • the display data also includes the grayscale values of the white sub-pixels.
  • the display driving circuit provides a corresponding driving current or driving voltage to each sub-pixel according to the gray scale value of the sub-pixel.
  • Temperature sensor 160 is used for sensing.
  • the ambient light sensor 140 is disposed below the display screen 120 .
  • the ambient light sensor 140 is used to sense the intensity of incident light.
  • the processor 110 obtains the light intensity of the ambient light according to the light intensity of the incident light sensed by the ambient light sensor 140 , such as the light intensity of the ambient light of the environment in which the electronic device 100 is located.
  • the processor 110 adjusts the display brightness of the display screen 120 according to the intensity of ambient light.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
  • the electronic device 100 also includes a battery, a microphone, and the like.
  • the side of the display screen 120 facing the user is the front side of the display screen 120 , and opposite to the front side is the back side of the display screen 120 .
  • Part of the light generated by the display screen 120 is emitted from the front to form display light, which is received by human eyes. Some of the light generated by display screen 120 leaks from the back.
  • the ambient light sensor 140 includes an array of photosensitive pixels, and the photosensitive pixels include, for example, photodiodes or photoresistors.
  • the photosensitive pixel can convert the light incident on the photosensitive pixel into an electrical signal (such as voltage or current). The greater the intensity of the incident light, the greater the electrical signal. This electrical signal represents the intensity of the incident light.
  • the photosensitive pixel array is also called the photosensitive area of the ambient light sensor 140, and the light incident on the photosensitive area of the ambient light sensor 140 is called incident light.
  • the ambient light sensor 140 senses ambient light
  • the display screen is usually in a display state (also called a lighting state), so the ambient light sensor 140 also senses light leaking from the back of the display screen 120 .
  • the ambient light sensor 140 not only receives the ambient light L1 transmitted through the display screen 120 , but also receives the light leakage L2 from the back side of the display screen 120 .
  • the incident light of the ambient light sensor 140 includes the ambient light L1 transmitted through the display screen 120 and the leaked light L2 of the display screen 120 .
  • the ambient light sensor 140 and the processor 110 may be connected through an I2C interface or an SPI interface.
  • the processor 110 calculates the intensity of the ambient light based on the intensity of the incident light sensed by the ambient light sensor 140.
  • the light intensity of the light leakage L2 of the display screen 120 changes with the content of the displayed image, and the light leakage L2 on the back of the display screen 120 affects the accuracy of ambient light intensity detection.
  • the light intensity of light leakage from the display screen 120 is generally 0 to 10 lux (lux, a lighting unit used to characterize the magnitude of illumination).
  • the transmittance of the OLED display 120 is generally between 1 and 8%. Taking 3% as an example, the intensity of 10 lux of ambient light after passing through the OLED display 120 is only 0.3 lux.
  • the ambient light of 0.3lux is obviously insufficient in intensity. Therefore, the light leakage from the back of the display screen brings about the ambient light intensity detection error, and even the intensity of the ambient light cannot be detected at all. In order to obtain the accurate light intensity of the ambient light, the light intensity of the light leakage from the back of the display screen 120 needs to be subtracted from the light intensity sensed by the ambient light sensor 140 .
  • the ambient light sensor 140 has a certain photosensitive angle, so not all light leakage from the back of the entire display screen 120 will interfere with ambient light detection. There is an area corresponding to the ambient light sensor 140 in the display screen 120. The back light leakage of this area needs to be considered when calculating the back light leakage of the display screen 120. In this article, the area of the display screen 120 corresponding to the ambient light sensor 140 is called a target. area. When calculating the ambient light intensity, it is necessary to consider the interference caused by light leakage in the target area to the ambient light detection process. The location and area of the target area are determined by the installation location of the ambient light sensor 140 . FIG.
  • FIG. 4 is a schematic diagram of a target area of the display screen 120 corresponding to the ambient light sensor 140 provided by an embodiment of the present application.
  • the target area includes a plurality of display pixels in the pixel array of display screen 120 .
  • Figure 4 shows two display pixels in the target area: a display pixel composed of red sub-pixel PR1, green sub-pixel PG1 and blue sub-pixel PB1 and a display pixel composed of red sub-pixel PR2, green sub-pixel PG2 and blue sub-pixel PB2 of display pixels.
  • the processor 110 sends the display data of the entire display screen 120 to the display driving circuit 130 , where the display data includes the grayscale values of the display pixels.
  • the processor 110 calculates the light intensity of the back light leakage L2 of the target area of the display screen 120 according to the display data of the target area of the display screen 120 .
  • the processor 110 calculates the luminous intensity of the target area of the display screen 120 according to the display data of the target area of the display screen 120 , and calculates the light leakage light of the target area of the display screen 120 according to the luminous intensity of the target area of the display screen 120 powerful.
  • the luminous intensity of the display screen 120 is affected by temperature.
  • the processor 110 needs to consider the influence of temperature when obtaining the light intensity of the ambient light based on the detection data of the ambient light sensor 140 .
  • the processor 110 is configured to obtain the estimated light intensity of the light leakage in the target area of the display screen 120 based on the display data of the target area of the display screen 120 ; based on the estimated light intensity and the current temperature corresponding to the display screen 120 The temperature compensation coefficient is calculated to obtain the light intensity of the light leakage in the target area of the display screen 120; and the light intensity of the ambient light passing through the display screen 120 is obtained based on the light intensity of the incident light and the light intensity of the light leakage in the target area of the display screen 120.
  • the processor 110 is configured to obtain compensation display data according to the display data of the target area of the display screen 120 and the current temperature; perform calculations based on the compensation display data to obtain the light intensity of the light leakage in the target area of the display screen 120; and
  • the light intensity of the ambient light transmitted through the display screen 120 is obtained according to the light intensity of the incident light and the light intensity of the leaked light from the target area of the display screen 120 .
  • a temperature compensation step is added to the calculation process of the light intensity of the light leakage L2 on the back of the display screen to make the calculated light intensity of the light leakage L2 more accurate.
  • the process of obtaining the light intensity of the ambient light according to the light intensity of the incident light, the display data of the target area, and the current temperature is described below with multiple embodiments.
  • Figure 6 is a method for detecting ambient light intensity provided by an embodiment of the present application.
  • the detection method of ambient light intensity is executed by the processor 110 and the ambient light sensor 140 .
  • the detection method of ambient light intensity includes the following steps.
  • the ambient light sensor 140 senses the intensity of incident light.
  • the incident light is the light that enters the ambient light sensor 140 , including the ambient light that passes through the display screen 120 and the light leakage from the back of the display screen 120 .
  • Step S104 The processor 110 obtains the estimated light intensity of the light leakage in the target area according to the display data of the target area of the display screen.
  • the display data of the target area is part of the display data sent by the processor 110 to the display driving circuit 130 .
  • the display data of the target area of the display screen 120 includes gray scale values of the display pixels of the target area.
  • the display pixels in the target area of the display screen 120 include red sub-pixels, green sub-pixels and blue sub-pixels, and the gray-scale values of the display pixels include the gray-scale values of the red sub-pixel, the gray-scale values of the green sub-pixel and the blue sub-pixel. grayscale value.
  • the display pixel further includes a white sub-pixel
  • the grayscale value of the display pixel further includes a grayscale value of the white sub-pixel.
  • the memory 150 stores the estimated light intensity value corresponding to the display data of the target area in the form of a lookup table, and the processor 110 obtains the estimated light intensity of the light leakage in the target area by accessing the memory 150 .
  • the processor 110 calculates the red subpixel based on the grayscale value of the red subpixel, the grayscale value of the green subpixel, and the grayscale value of the blue subpixel of each display pixel of the target area of the display screen 120 , the luminous intensity of the green sub-pixel and the blue sub-pixel, and further calculate the estimated light intensity of the back light leakage of the red sub-pixel, the estimated light intensity of the back light leakage of the green sub-pixel, and the estimated light intensity of the back light leakage of the blue sub-pixel. powerful. There is a certain relationship between the luminous intensity of display pixels and the intensity of light leakage from the back.
  • a relationship model between the luminous intensity of the display pixel and back light leakage is obtained through experimental measurement.
  • the estimated light intensity of back light leakage is calculated based on this relationship model and the calculated luminous intensity of the sub-pixel.
  • the relationship model between the luminous intensity of the display pixel and the back light leakage may be stored in the memory 150 for use by the processor 110 .
  • the relationship model between the luminous intensity of the display pixel and the back light leakage includes a relationship model between the luminous intensity of the red sub-pixel and the back light leakage, a relationship model between the luminous intensity of the green sub-pixel and the back light leakage, and a relationship model between the luminous intensity of the green sub-pixel and the back light leakage.
  • Model of the relationship between luminous intensity and back light leakage Exemplary calculation methods for estimating light intensity include the Chinese invention patent application with application number 202011401915.5, the Chinese invention patent application with application number 202011428899.9, and of course the method for calculating the estimated light intensity of light leakage L2 on the back of display screen 120 in this application Not limited to this.
  • step S106 the processor 110 calculates based on the estimated light intensity and the temperature compensation coefficient corresponding to the current temperature of the display screen 120 to obtain the light intensity of the light leakage L2 of the display screen.
  • Processor 110 obtains the current temperature from temperature sensor 160 .
  • a temperature compensation coefficient is also stored in the memory 150 .
  • the temperature compensation coefficient is stored in the memory 150 in the form of a look up table, for example.
  • the lookup table is, for example, the lookup table shown in Table 1. Based on the light intensity of back light leakage L2 at the reference temperature T0 (for example, 25°C), the temperature compensation coefficient at this reference temperature is 1. At other temperatures, the estimated light intensity is multiplied by the corresponding temperature compensation The coefficient obtains the light intensity of the light leakage L2 on the back side.
  • This reference temperature is, for example, a temperature used to determine the relationship between the luminous intensity of the display pixel and back light leakage.
  • the current temperature sensed by the temperature sensor 160 is T1
  • the processor 110 obtains the temperature compensation coefficient KR1 of the red sub-pixel, the temperature compensation coefficient KG1 of the green sub-pixel and the temperature of the blue sub-pixel corresponding to the current temperature T1 from the memory 150 Compensation coefficient KB1
  • the processor 110 calculates the red light intensity L2R, green light intensity L2G and blue light intensity L2B of the back light leakage L2 through the following formula:
  • LestR, LestG and LestB are the estimated light intensity of red light, green light and blue light respectively.
  • the light intensity of the leaked light L2 in the target area can be obtained according to the red light intensity L2R, the green light intensity L2G and the blue light intensity L2B.
  • Step S106 the processor 110 obtains the light intensity of the ambient light L1 that passes through the display screen 120 based on the light intensity of the incident light and the light intensity of the leaked light L2 of the display screen 120 .
  • the light intensity of the ambient light L1 is the light intensity of the incident light minus the calculated light intensity of the leaked light L2 of the display screen. Since the ambient light sensor 140 is disposed below the display screen 120 , the ambient light sensed by the ambient light sensor 140 passes through part of the display screen 120 . In some embodiments, the processor 110 is further configured to divide the light intensity of the ambient light L1 obtained in step S106 by the light transmittance of the display screen 120 to obtain the ambient light intensity of the environment where the electronic device 100 is located.
  • Steps S104 and S106 are described using two examples.
  • the processor 110 obtains the reference ambient temperature T0 by accessing the memory 150 according to the grayscale value of the red subpixel, the grayscale value of the green subpixel, and the grayscale value of the blue subpixel in the target area of the display screen.
  • the processor 110 obtains the corresponding temperature compensation coefficients KR1, KG1, and KB1 based on the current temperature T1, and calculates the light intensity of the light leakage L2 of the display screen based on the estimated light intensity and the temperature compensation coefficient.
  • the processor 110 calculates the red light generated by the red sub-pixel of the display pixel based on the gray-scale value of the red sub-pixel, the gray-scale value of the green sub-pixel, and the gray-scale value of the blue sub-pixel in the target area of the display screen.
  • the memory 150 stores a relationship model between the luminous intensity of the display pixel and back light leakage when the ambient temperature is T0.
  • the processor 110 further calculates the estimated light intensity LeakR of the red sub-pixel light leakage, the estimated light intensity LeakG of the green sub-pixel light leakage, and the estimated light intensity LeakB of the blue sub-pixel light leakage at the reference ambient temperature T0.
  • the processor 110 may calculate the red light of the target area based on the estimated light intensity of the light leakage of the red sub-pixel, the estimated light intensity of the green sub-pixel, and the estimated light intensity of the light leakage of the blue sub-pixel of each display pixel.
  • the estimated light intensity of light leakage, the estimated light intensity of green light leakage, and the estimated light intensity of blue light leakage The processor 110 determines the corresponding temperature compensation coefficient according to the current temperature.
  • the current ambient temperature is T1
  • the corresponding temperature compensation coefficients are KR1, KG1 and KB1.
  • the processor 110 calculates the light intensity of the light leakage L2 of the display screen based on the estimated light intensity and the temperature compensation coefficient.
  • the estimated light intensity of the display screen's light leakage L2 multiplied by the temperature compensation coefficient is the light intensity of the display screen's light leakage L2.
  • temperature compensation is added during the calculation process of the light leakage intensity of the target area of the display screen, which reduces the impact of temperature on the light leakage calculation of the display screen and improves the accuracy of the under-screen ambient light sensing device.
  • FIG. 7 is a flow chart of a method for obtaining a temperature compensation coefficient according to an embodiment of the present application.
  • the method of obtaining the temperature compensation coefficient includes the following steps.
  • Step S202 Obtain the luminous intensity of the display screen at multiple preset temperatures, where the display screen is in a state without the influence of ambient light.
  • the display screen is placed in a test chamber.
  • an electronic device including a display screen is placed in a test chamber.
  • the test thermostat can provide a variety of test temperatures.
  • a black mask is used to isolate the display from ambient light.
  • the test box is made to traverse multiple preset temperatures, and the luminous intensity of the display screen is recorded at each preset temperature.
  • the plurality of preset temperatures are, for example, -10°C to 40°C, and the step size is, for example, 1°C.
  • the display screen is set to 3 gray scale values in sequence. Under the gray scale value setting, the relationship curve between the temperature and luminous intensity of the display screen is obtained.
  • the first gray scale value of the display screen is set to 255 for all red sub-pixels of the display screen, and the gray scale values for all green sub-pixels and blue sub-pixels of the display screen are set to 0, that is, only Light up the red sub-pixels of the display;
  • the second gray-scale value is set to 255 for all green sub-pixels of the display, and the gray-scale values for all red and blue sub-pixels of the display are set to 0, that is, only the green sub-pixels of the display screen are lit;
  • the third gray scale value is set to 255, and the gray scale values of all red sub-pixels and green sub-pixels of the display screen are set to 255.
  • the level value is set to 0, which means only the blue sub-pixels of the display are lit. Understandably, 255 is just an example.
  • the relationship curve between the luminous intensity and temperature of the red sub-pixel of the display screen can be obtained;
  • the second gray-scale value setting the relationship between the luminous intensity and temperature of the green sub-pixel of the display screen can be obtained Curve;
  • the third grayscale value setting the relationship curve between the luminous intensity and temperature of the blue sub-pixel of the display screen can be obtained.
  • the reference brightness Bright of the display screen is also set to the maximum.
  • Figures 8A-8C are respectively the measured relationship curves between the luminous intensity and temperature of the red sub-pixel, green sub-pixel and blue sub-pixel of the display screen. As shown in Figures 8A-8C, the luminous intensity of the display changes with temperature.
  • Step S204 using one of the plurality of preset temperatures as a reference temperature, and determining temperature compensation parameters corresponding to the plurality of preset temperatures according to the luminous intensities of the display screen at the plurality of preset temperatures.
  • T0 for example, 25°C
  • the temperature compensation coefficient of the red sub-pixel at T0 is 1.
  • the red sub-pixel of the display screen at the preset temperature is The ratio of the luminous intensity to the luminous intensity of the red sub-pixel of the display screen at T0 is the temperature compensation coefficient of the preset temperature.
  • temperature compensation coefficient KR Lux(T)/Lux(T0)
  • Lux(T0) is the light intensity measured at the reference temperature T0
  • Lux(T) is the light intensity measured at a preset temperature other than the reference temperature.
  • the temperature compensation coefficients for green and blue subpixels can be obtained in the same way.
  • the temperature compensation coefficient corresponding to each preset temperature is stored in the memory 150 .
  • the temperature compensation coefficient is stored in the form of a lookup table in Table 1, for example.
  • all grayscale values of the sub-pixel correspond to the same lookup table of temperature and temperature compensation coefficient.
  • the applicant conducted the following experiments. At the temperature T1, obtain the luminous intensity Dn@T1 of the display screen's sub-pixels at each gray scale value (0 ⁇ 255). At the temperature T2, obtain the luminous intensity Dn@T1 of the display screen's sub-pixels at each gray scale value. The luminous intensity Dn@T2.
  • the ratio of the luminous intensity Dn@T1 at temperature T1 to the luminous intensity Dn@T2 at temperature T2 is calculated.
  • Figure 9 shows the relationship between the luminous intensity ratio and the gray scale value at two temperatures. As shown in Figure 9, the luminous intensity ratio of the two temperatures changes very little with the gray scale value, thus proving that the temperature compensation coefficient obtained at a certain gray scale value can be applied to other gray scale values. For example, when the gray scale value of the red sub-pixel of the display screen 120 is set to 255, the temperature compensation coefficients of multiple preset temperatures are obtained through the method shown in Figure 7. Figure 9 proves that the temperature compensation coefficients of multiple preset temperatures are applicable. Other grayscale values for red sub-pixels.
  • the correlation between the temperature compensation coefficient and the gray scale value is high, that is, the temperature compensation coefficients of different gray scale values are very different, and multiple lookup tables as shown in Table 1 need to be set.
  • different grayscale values of the sub-pixel correspond to different temperature compensation coefficient lookup tables.
  • the red sub-pixel has 256 gray-scale values.
  • 256 lookup tables are set for the red sub-pixel.
  • Each gray-scale value corresponds to a look-up table for the temperature compensation coefficient (the gray-scale value can also be omitted and set to 0).
  • Lookup table of temperature compensation coefficient that is, no temperature compensation is performed when the gray scale value is 0).
  • the light leakage intensity of the display screen obtained by this setting method is more accurate, but it requires more storage resources and increases computational complexity.
  • a set of grayscale values of the sub-pixel correspond to the same temperature compensation coefficient lookup table.
  • the red sub-pixel has 256 gray-scale values.
  • One set of gray-scale values among the 256 gray-scale values corresponds to a lookup table of temperature compensation coefficients, and another set of gray-scale values among the 256 gray-scale values corresponds to another temperature.
  • Lookup table for compensation coefficients Setting up the lookup table in this way balances storage resources and calculation accuracy.
  • the applicant conducted the following experiments. Place the mobile phone with an ambient light sensor in the test temperature chamber, and isolate the mobile phone's display screen from the ambient light through a black mask so that the mobile phone's display screen is free from ambient light interference.
  • the test thermostat was stabilized at -10°C successively, and the luminous intensity of the display screen at different gray scale values was obtained.
  • the test thermostat was stabilized at 10°C successively, and the luminous intensity of the display screen at different gray scale values was obtained.
  • the estimated luminous intensity of the display screen is calculated based on the gray scale value of the display screen.
  • the estimated luminous intensity of the display is multiplied by the corresponding temperature coefficient to obtain the temperature-compensated estimated luminous intensity. At -10°C and 10°C, the temperature-compensated estimated luminous intensity is closer to the actual measured display luminous intensity.
  • temperature compensation can be performed on the display data of the target area, and then the light intensity of the light leakage of the display screen is calculated based on the temperature-compensated display data.
  • Figure 10 is a method for detecting ambient light intensity provided by another embodiment of the present application.
  • the detection method of ambient light intensity is performed by an ambient light sensor and a processor.
  • the detection method of ambient light intensity includes the following steps.
  • the ambient light sensor 140 senses the intensity of incident light.
  • the incident light includes ambient light that passes through the display screen 120 and light leakage from the back of the display screen 120 .
  • Step S304 The processor 110 obtains the compensation display data of the target area according to the display data of the target area of the display screen 120 and the current temperature.
  • the display data of the target area of the display screen obtained from the processor 110 includes the gray scale value GSR1 of the red sub-pixel, the gray scale value GSG1 of the green sub-pixel, and the gray scale value of the blue sub-pixel of each display pixel in the target area of the display screen.
  • the order value is GSB1.
  • the current ambient temperature is T1
  • the processor 110 determines the compensation display data according to the display data of the target area of the display screen and the temperature compensation coefficient corresponding to the current temperature.
  • the compensated display data includes the compensated grayscale value GSR2 of the red subpixel, the compensated grayscale value GSG2 of the green subpixel, and the compensated grayscale value GSB2 of the blue subpixel of each display pixel in the target area.
  • the compensation gray scale value GSR2 GSG1*KR1 of the red sub-pixel, the compensation gray scale value GSG2*KG1 of the green sub-pixel, and the compensation gray scale value GSB2*KB1 of the blue sub-pixel.
  • the temperature compensation coefficients are stored in the memory 150 in the form of a lookup table, for example.
  • step S306 the processor 110 performs calculations based on the compensation display data of the target area to obtain the light intensity of the light leakage of the display screen. Specifically, the processor 110 calculates the luminous intensity of the red sub-pixel, the luminous intensity of the green sub-pixel, and the luminous intensity of the blue sub-pixel of each display pixel according to the compensation display data. The luminous intensity and the luminous intensity of the blue sub-pixel are calculated to calculate the light intensity of the red sub-pixel, the light intensity of the green sub-pixel, and the light intensity of the blue sub-pixel, and further obtain the light intensity of the red light leakage in the target area, The light intensity of green light leakage and the light intensity of blue light leakage are thus obtained as the light intensity of light leakage L2 of the display screen.
  • step S308 the processor 110 obtains the light intensity of the ambient light L1 that passes through the display screen based on the light intensity of the incident light and the light intensity of the leaked light L2 of the display screen.
  • the light leakage of the target area of the display screen is calculated according to the display data of the target area of the display screen and the temperature compensation coefficient corresponding to the current temperature. According to the sum of the light intensity of the incident light incident on the light intensity sensing part, The light leakage of the target area of the display screen is calculated to obtain the ambient light intensity. Through temperature compensation, the calculated light leakage of the target area of the display screen is more accurate, reducing the impact of temperature on the prediction of light leakage of the display screen, and improving the accuracy of ambient light calculation based on the under-screen ambient light sensor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

本申请实施例提供一种电子设备和环境光强度的检测方法。电子设备包括显示屏和设置在显示屏下方的环境光传感器。检测方法包括:感测入射光的光强,其中,入射光包括透过显示屏的环境光和显示屏的漏光;根据显示屏的目标区域的显示数据获得显示屏的漏光的预估光强;根据预估光强以及显示屏的当前温度对应的温度补偿系数进行计算,获得显示屏的漏光的光强;以及根据入射光的光强和显示屏的漏光的光强获得透过显示屏的环境光的光强在显示屏的漏光的计算中增加温度补偿,获得的环境光强更准确。

Description

环境光强度的检测方法和电子设备 技术领域
本申请实施例涉及光学技术领域,尤其涉及一种环境光强度的检测方法以及一种电子设备。
背景技术
诸如手机和平板的电子设备根据环境光调节显示屏的亮度或颜色,以提供更加优秀的显示效果。环境光的强度通过环境光传感器获得。随着电子设备的发展,电子设备的显示屏的占比越来越高,已经出现全面屏设计的电子设备,环境光传感器开始设置在显示屏的下方。这就导致置被显示屏下方的环境光传感器感应的光不仅包括环境光,还包括显示屏发出的光,导致环境光传感装置采集的环境光强度不准确。因此,如何获得准确的环境光强度成为亟待解决的问题。
发明内容
有鉴于此,本发明实施例所解决的技术问题之一在于提供一种环境光强度的检测方法以及一种电子设备,以提高屏下环境光传感器获得的环境光强度的准确性。
第一方面,提供了一种应用于环境光传感器的环境光强度的检测方法,所述环境光传感器设置在显示屏下方。所述检测方法包括:感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;根据所述显示屏的目标区域的显示数据获得所述显示屏的漏光的预估光强;根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,获得所述显示屏的漏光的光强;以及根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
在本发明的另一实现方式中,根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,包括:将所述预估光强乘以所述温度补偿系数。
在本发明的另一实现方式中,所述显示屏的目标区域的显示数据包括:所述目标区域的显示像素的灰阶值。
在本发明的另一实现方式中,所述显示屏的目标区域的显示像素包括:红色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值;所述温度补偿系数包括:红色子像素的温度补偿系数、绿色子像素的温度补偿系数和蓝色子像素温度的补偿系数。
在本发明的另一实现方式中,所述红色子像素的温度补偿系数、绿色子像素的温度补偿系数和蓝色子像素温度的补偿系数存储在查找表中。
在本发明的另一实现方式中,所述红色子像素的所有灰阶值对应相同的温度补偿系数查找表。
在本发明的另一实现方式中,所述红色子像素的不同灰阶值对应不同的温度补偿系数查找表。
在本发明的另一实现方式中,所述红色子像素的一组灰阶值对应相同的温度补偿系数查找表。
在本发明的另一实现方式中,所述温度补偿系数的获得,包括:获得所述显示屏在多个预设温度下的发光强度,其中,所述显示屏处于无环境光影响的状态下;以及以所述多个预设温度中的一个为基准根据所述各预设温度下显示屏的发光强度,确定所述各预设温度对应的温度补偿系数。
第二方面,提供一种应用于环境光传感器的环境光强度的检测方法,所述环境光传感器设置在显示屏下方。检测方法包括:感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据;根据所述补偿显示数据进行计算,获得所述显示屏的漏光的光强;以及根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
在本发明的另一实现方式中,所述显示屏的目标区域的显示像素包括:红 色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值。
在本发明的另一实现方式中,根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据包括:根据显示屏的目标区域的显示数据和当前温度通过查找表获得补偿显示数据。
第三方面,提供了一种电子设备,包括:显示屏;环境光传感器,设置在显示屏下方,所述环境光传感设置为感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;以及处理器。处理器设置为:根据所述显示屏的目标区域的显示数据获得所述显示屏的漏光的预估光强;根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,获得所述显示屏的漏光的光强;以及根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
在本发明的另一实现方式中,所述显示屏为发光二极管显示屏。
在本发明的另一实现方式中,根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,包括:将所述预估光强乘以所述温度补偿系数。
在本发明的另一实现方式中,所述显示屏的目标区域的显示数据包括:所述目标区域的显示像素的灰阶值。
在本发明的另一实现方式中,所述显示屏的目标区域的显示像素包括:红色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值;所述温度补偿系数包括:红色子像素的温度补偿系数、绿色子像素的温度补偿系数和蓝色子像素温度的补偿系数。
在本发明的另一实现方式中,所述红色子像素的温度补偿系数、绿色子像素的温度补偿系数和蓝色子像素温度的补偿系数存储在查找表中。
在本发明的另一实现方式中,所述红色子像素的所有灰阶值对应相同的温度补偿系数查找表。
在本发明的另一实现方式中,所述红色子像素的不同灰阶值对应不同的温 度补偿系数查找表。
在本发明的另一实现方式中,所述红色子像素的一组灰阶值对应相同的温度补偿系数查找表。
在本发明的另一实现方式中,所述温度补偿系数的获得,包括:获得所述显示屏在多个预设温度下的发光强度,其中,所述显示屏处于无环境光影响的状态下;以及以所述多个预设温度中的一个为基准根据所述各预设温度下显示屏的发光强度,确定所述各预设温度对应的温度补偿系数。
第四方面,提供了一种电子设备,包括:显示屏;环境光传感器,设置在显示屏下方,所述环境光传感设置为感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;以及处理器。处理器设置为:根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据;根据所述补偿显示数据进行计算,获得所述显示屏的漏光的光强;以及根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
在本发明的另一实现方式中,所述显示屏的目标区域的显示像素包括:红色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值。
在本发明的另一实现方式中,根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据包括:根据显示屏的目标区域的显示数据和当前温度通过查找表获得补偿显示数据。
在本发明实施例的方案中,根据显示屏的目标区域的显示数据和当前温度对应的温度补偿系数计算显示屏的目标区域的漏光,根据入射到环境光传感器的入射光的光强和计算得到的显示屏的目标区域的漏光获得入射到环境光传感器的环境光的光强。通过温度补偿,计算得到的显示屏的目标区域的漏光更准确,减少了温度对显示屏的漏光的预测的影响,提高了屏下环境光传感器的环境光测量的准确性。
附图说明
后文将参照附图以示例性而非限制性的方式详细描述本申请实施例的一些具体实施例。附图中相同的附图标记标示了相同或类似的部件或部分。本领域技术人员应该理解,这些附图未必是按比值绘制的。
图1为本申请的一个实施例提供的包括环境光传感器的电子设备的平面示意图。
图2为本申请的一个实施例提供的电子设备的截面图。
图3为本申请的一个实施例提供的电子设备的结构框图。
图4为本申请的一个实施例提供的与环境光传感器对应的显示屏的目标区域的示意图。
图5示出了存储器中存储的查找表。
图6为本申请的一种环境光强度的检测方法的流程图。
图7为本申请的一种确定温度补偿系数的方法的流程图。
图8A-8C分别为本申请的一个实施例提供的显示屏的红色子像素、绿色子像素和蓝色子像素的发光强度和温度的关系曲线。
图9为本申请的一个实施例提供的两个温度下显示屏的发光强度的比值与灰阶值的关系曲线。
图10为本申请的另一种环境光强度的检测方法的流程图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。下文所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于下文中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请提供一种环境光强度的检测方法和一种电子设备。电子设备可以是诸如手机和平板的移动终端设备,可以是诸如售票机的公共电子设备等。下文以电子设备为移动终端设备为例。
图1为本申请的一个实施例提供的电子设备的平面示意图,图1示出了截 线A-A *。图2为沿图1中截线A-A *截取得到电子设备的截面图。图3为电子设备的结构框图。电子设备100包括壳体、处理器110、显示屏120、显示驱动电路130、存储器150、温度传感器160以及环境光传感器140。处理器110例如是ARM架构或X86架构。处理器110可以包括一个或多个处理单元,例如:应用处理单元、调制解调处理单元、图形处理单元、图像信号处理单元、视频编解码单元、以及基带处理单元等。其中,不同的处理单元可以是独立的芯片,也可以集成在一个或多个芯片中。存储器150用于存储运行在处理器的操作系统和程序,以及运行中的各种数据。处理器110、显示驱动电路130、存储器150、环境光传感器140和温度传感器160可以为单独封装的芯片,并且设置在电子设备100的主板上。在一些实施例中,环境光传感器140和温度传感器160可封装在一起。
显示屏120例如是有机发光二极管(Organic Light-Emitting Diode,OLED)显示屏。在一些实施例中,显示屏120还包括用于人机交互的触控层。显示屏120包括显示像素阵列,显示像素阵列包括由数据线和扫描线寻址的多个显示像素。每个显示像素包括红色子像素、绿色子像素和蓝色子像素。每个红色子像素包括红光二极管,每个绿色子像素包括绿光二极管,每个蓝色子像素包括蓝光二极管。每个显示像素产生的显示光由红光二极管、绿光二极管和蓝光二极管所产生的红光、绿光和蓝光混合而成。在一些实施例中,显示屏120的显示像素还包括白色子像素。
处理器110将显示图像的显示数据发送到显示驱动电路130。显示驱动电路130根据显示数据驱动显示屏120产生显示光。对于OLED显示屏,显示驱动电路130根据显示数据确定每个子像素的驱动电流或驱动电压。发光二极管的发光强度决定于驱动电流或驱动电压的大小。显示图像通常被划分为多个图像像素,显示图像的图像像素和显示屏的显示像素对应。处理器110提供给显示驱动电路130的显示数据可以是显示屏的显示像素的灰阶值和基准亮度Bright。显示驱动电路130根据显示像素的灰阶值可以实现对应的图像像素的色彩。例如,显示数据包括显示屏的每个显示像素的红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值。灰阶值例如是8位(bit)二进制数,因此有 256种取值(0~255),不同的灰阶值对应发光二极管的不同发光强度。因此,显示屏的红色子像素可以产生256个等级的红光,亮度为Bright*(灰阶值/255) r,r取决于使用的伽马曲线,同理可以根据灰阶值确定绿色子像素和蓝色子像素的亮度。在显示屏的显示像素还包括白色子像素时,显示数据还包括白色子像素的灰阶值。显示驱动电路根据每个子像素的灰阶值向该子像素提供对应的驱动电流或驱动电压。温度传感器160用于感测。如图2所示,环境光传感器140设置在显示屏120的下方。环境光传感器140用于感测入射光的光强。处理器110根据环境光传感器140感测的入射光的光强获得环境光的光强,例如电子设备100所处环境的环境光的光强。处理器110根据环境光的光强调整显示屏120的显示亮度。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。例如,电子设备100还包括电池、麦克风等。
显示屏120面向用户的一面为显示屏120的正面,与正面相对的是显示屏120的背面。显示屏120产生的光一部分从正面出射形成显示光,被人眼接收。显示屏120产生的光的一部分会从背面泄露。环境光传感器140包括感光像素阵列,感光像素例如包括光敏二极管(photodiode)或光敏电阻(photoresistor)。感光像素能够将入射到感光像素的光转化为电信号(例如电压或电流),入射光的光强越大,电信号也越大。该电信号表征了入射光的光强。感光像素阵列也称为环境光传感器140的感光区域,入射到环境光传感器140的感光区域的光称为入射光。环境光传感器140在感测环境光时,显示屏通常处于显示状态(也称为点亮状态),因此环境光传感器140也会感测到显示屏120的背面泄露的光。如图2所示,环境光传感器140不仅接收透过显示屏120的环境光L1,还会接收显示屏120的背面的漏光L2。环境光传感器140的入射光包括透过显示屏120的环境光L1和显示屏120的漏光L2。环境光传感器140与处理器110可以通过I2C接口或SPI接口连接,处理器110根据环境光传感器140感测的 入射光的强度计算环境光的强度。显示屏120的漏光L2的光强随着显示图像的内容而变化,显示屏120背面的漏光L2影响了环境光的光强检测的精度。举例而言,显示屏120的漏光的光强一般是0~10lux(勒克斯,用于表征光照度大小的照明单位)。OLED显示屏120的透过率一般为1~8%之间的值,以3%为例,10lux的环境光透过OLED显示屏120后的强度只剩下0.3lux。0.3lux的环境光相对显示屏漏光(0~10lux)而言,强度明显不足,因此显示屏的背面漏光带来了环境光的光强检测误差,甚至根本无法检测出环境光的强度。为了获得环境光的准确光强,需要从环境光传感器140感测的光强中减去显示屏120的背面漏光的光强。
环境光传感器140存在一定感光角度,因此并不是整个显示屏120的背面漏光都会对环境光检测造成干扰。显示屏120中存在与环境光传感器140对应的区域,在计算显示屏120的背面漏光时需要考虑该区域的背面漏光,在本文中,该与环境光传感器140对应的显示屏120区域称为目标区域。在计算环境光光强时,需要考虑目标区域产生的漏光对环境光检测过程造成的干扰。目标区域的位置和面积决定于环境光传感器140的安装位置。图4为本申请的一个实施例提供的与环境光传感器140对应的显示屏120的目标区域的示意图。目标区域包括显示屏120的像素阵列中的多个显示像素。图4示出了目标区域中的2个显示像素:红色子像素PR1、绿色子像素PG1和蓝色子像素PB1组成的显示像素和红色子像素PR2、绿色子像素PG2和蓝色子像素PB2组成的显示像素。
如图3所示处理器110向显示驱动电路130发送整个显示屏120的显示数据,显示数据包括显示像素的灰阶值。处理器110根据显示屏120的目标区域的显示数据计算显示屏120的目标区域的背面漏光L2的光强。在一些实施例中,处理器110根据显示屏120的目标区域的显示数据计算显示屏120的目标区域的发光强度,根据显示屏120的目标区域的发光强度计算显示屏120的目标区域的漏光光强。但是,显示屏120的发光强度会受到温度影响。通常,相同灰阶值下,温度越高,显示屏120的发光强度越大。因此,处理器110根据环境光传感器140的检测数据获得环境光的光强时需要考虑温度的影响。
在一些实施例中,处理器110设置为根据显示屏120的目标区域的显示数据获得显示屏120的目标区域的漏光的预估光强;根据预估光强以及显示屏120的当前温度对应的温度补偿系数进行计算,获得显示屏120的目标区域的漏光的光强;以及根据入射光的光强和显示屏120的目标区域的漏光的光强获得透过显示屏120的环境光的光强。在一些实施例中,处理器110设置为根据显示屏120的目标区域的显示数据和当前温度获得补偿显示数据;根据补偿显示数据进行计算,获得显示屏120的目标区域的漏光的光强;以及根据入射光的光强和显示屏120的目标区域的漏光的光强获得透过显示屏120的环境光的光强。在显示屏背面的漏光L2的光强计算过程中增加温度补偿步骤,使计算出的漏光L2的光强更加准确。下文以多个实施例描述根据入射光的光强、目标区域的显示数据和当前温度来获得环境光的光强的过程。
图6为本申请的一个实施例提供的环境光强度的检测方法。环境光强度的检测方法由处理器110和环境光传感器140执行。环境光强度的检测方法包括如下步骤。
步骤S102,环境光传感器140感测入射光的光强。入射光是入射到环境光传感器140的光,包括透过所述显示屏120的环境光和所述显示屏120背面的漏光。
步骤S104,处理器110根据显示屏的目标区域的显示数据获得目标区域的漏光的预估光强。目标区域的显示数据是处理器110发送到显示驱动电路130的显示数据的一部分。显示屏120的目标区域的显示数据包括目标区域的显示像素的灰阶值。显示屏120的目标区域的显示像素包括红色子像素、绿色子像素和蓝色子像素,显示像素的灰阶值包括红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值。在一些实施例中,显示像素还包括白色子像素,显示像素的灰阶值还包括白色子像素的灰阶值。
在一些实施例中,存储器150例如以查找表的形式存储了目标区域的显示数据对应的预估光强的值,处理器110通过访问存储器150获得目标区域的漏光的预估光强。
在一些实施例中,处理器110根据显示屏120的目标区域的每个显示像素 的红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值计算红色子像素、绿色子像素和蓝色子像素的发光强度,进一步计算红色子像素的背面漏光的预估光强、绿色子像素的背面漏光的预估光强和蓝色子像素的背面漏光的预估光强。显示像素的发光强度和背面漏光的光强存在一定关系。例如,在预定温度(例如25℃)下,以实验测量的方式获得显示像素的发光强度和背面漏光的关系模型。根据该关系模型和计算的子像素的发光强度来计算背面漏光的预估光强。显示像素的发光强度和背面漏光的关系模型可以存储在存储器150中,供处理器110使用。在一些实施例中,显示像素的发光强度和背面漏光的关系模型包括红色子像素的发光强度和背面漏光的关系模型、绿色子像素的发光强度和背面漏光的关系模型、和蓝色子像素的发光强度和背面漏光的关系模型。预估光强的示例性计算方法包括申请号为202011401915.5的中国的发明专利申请,申请号202011428899.9的中国发明专利申请,当然本申请中的计算显示屏120背面的漏光L2的预估光强的方法不限于此。
步骤S106,处理器110根据预估光强以及显示屏120的当前温度对应的温度补偿系数进行计算,获得显示屏的漏光L2的光强。
处理器110从温度传感器160获得当前温度。为了消除或减小温度对计算目标区域的漏光L2的光强的影响,存储器150中还存储了温度补偿系数。温度补偿系数例如以查找表(look up table)的形式存储在存储器150中。查找表例如是表1所示的查找表。以基准的温度T0(例如25℃)下的背面漏光L2的光强为基准,该基准温度下的温度补偿系数为1,在其他温度下,将所述预估光强乘以对应的温度补偿系数得到背面的漏光L2的光强。该基准温度例如是确定显示像素的发光强度和背面漏光的关系时的温度。例如,温度传感器160感测的当前温度为T1,处理器110从存储器150中获得当前温度T1对应的红色子像素的温度补偿系数KR1、绿色子像素的温度补偿系数KG1和蓝色子像素的温度补偿系数KB1,处理器110通过以下公式计算背面漏光L2的红光光强L2R,绿光光强L2G和蓝光光强L2B:
L2R=LestR*KR1
L2G=LestG*KG1
L2B=LestB*KB1
LestR、LestG和LestB分别为红光的预估光强、绿光的预估光强和蓝光的预估光强。根据红光光强L2R、绿光光强L2G和蓝光光强L2B可以获得目标区域的漏光L2的光强。
表1
Figure PCTCN2022088559-appb-000001
步骤S106,处理器110根据入射光的光强和显示屏120的漏光L2的光强获得透过显示屏120的环境光L1的光强。
例如,环境光L1的光强为入射光的光强减去计算得到的显示屏的漏光L2的光强。由于环境光传感器140设置在显示屏120下方,被环境光传感器140感测的环境光是透过显示屏120的部分。在一些实施例中,处理器110还设置为将步骤S106获得的环境光L1的光强除以显示屏120的透光率从而获得电子设备100所处环境的环境光光强。
以两个示例说明步骤S104和S106。在一个示例中,处理器110根据显示屏的目标区域的红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值通过访问存储器150,获得基准环境温度T0时的目标区域的红光漏光的预估光强,绿光漏光的预估光强和蓝光漏光的预估光强。处理器110根据当前温度T1获得对应的温度补偿系数KR1、KG1和KB1,根据预估光强和温度补偿系数计算显示屏的漏光L2的光强。
在另一个示例中,处理器110根据显示屏的目标区域红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值计算显示像素的红色子像素产生的红光的光强LR、绿色子像素的绿光的光强LG和蓝色子像素的蓝光的光强LB。存储器150中存储了环境温度为T0时的显示像素的发光强度和背面漏光的关系模型。处理器110进一步计算基准环境温度T0时红色子像素的漏光的预估光强LeakR、绿色子像素的漏光的预估光强LeakG和蓝色子像素的漏光的预估光强LeakB。根据每个显示像素的红色子像素的漏光的预估光强、绿色子像素的漏光的预估光强和蓝色子像素的漏光的预估光强,处理器110可以计算目标区域的红光漏光的预估光强,绿光漏光的预估光强和蓝光漏光的预估光强。处理器110根据当前温度确定对应的温度补偿系数。例如,当前环境温度为T1,对应的温度补偿系数为KR1、KG1和KB1。处理器110根据预估光强和温度补偿系数计算显示屏的漏光L2的光强。例如,显示屏的漏光L2预估光强乘以温度补偿系数即为显示屏的漏光L2的光强。
在本实施例中,显示屏的目标区域的漏光光强计算过程中增加温度补偿,减少了温度对显示屏的漏光计算的影响,提高了屏下环境光传感装置的精度。
图7为本申请的一个实施例提供的一种温度补偿系数的获得方法的流程图。温度补偿系数的获得方法包括以下步骤。
步骤S202,获得显示屏在多个预设温度下的发光强度,其中,显示屏处于无环境光影响的状态下。在一些实施例中,将显示屏置于测试温箱中。例如,将包括显示屏的电子设备置于测试温箱中。测试温箱能够提供多种测试温度。为了去除环境光的影响,使用黑色掩体将显示屏和环境光隔离开。
在一些实施例中,使测试箱遍历多个预设温度,记录各预设温度下显示屏的发光强度。多个预设温度例如是-10℃~40℃,步长例如为1℃。
为了获得红色子像素的温度补偿系数、绿色子像素的温度补偿系数和蓝色子像素的温度补偿系数,在每个预设温度下,将显示屏依次设置为3种灰阶值,在每种灰阶值设置下,获得显示屏的温度和发光强度的关系曲线。例如,显示屏的第一种灰阶值设置为显示屏的所有红色子像素的灰阶值设置为255,显示屏的所有绿色子像素和蓝色子像素的灰阶值设置为0,即仅点亮显示屏的红色 子像素;第二种灰阶值设置为显示屏的所有绿色子像素的灰阶值设置为255,显示屏的所有红色子像素和蓝色子像素的灰阶值设置为0,即仅点亮显示屏的绿色子像素;第三种灰阶值设置为显示屏的所有蓝色子像素的灰阶值设置为255,显示屏的所有红色子像素和绿色子像素的灰阶值设置为0,即仅点亮显示屏的蓝色子像素。可以理解,255仅为示例。通过第一种灰阶值设置,能够获得显示屏的红色子像素的发光强度和温度的关系曲线;通过第二种灰阶值设置,能够获得显示屏的绿色子像素的发光强度和温度的关系曲线;通过第三种灰阶值设置,能够获得显示屏的蓝色子像素的发光强度和温度的关系曲线。在一些实施例中,这3种灰阶值设置下,显示屏的基准亮度Bright也设为最大。
图8A-8C分别为测量得到的显示屏的红色子像素、绿色子像素和蓝色子像素的发光强度和温度的关系曲线。如图8A-8C所示,显示屏的发光强度随温度变化。
步骤S204,以所述多个预设温度中的一个为基准温度,根据多个预设温度下显示屏的发光强度,确定多个预设温度对应的温度补偿参数。以红色子像素为例,以T0(例如25℃)为基准温度,红色子像素在T0下的温度补偿系数为1,对于其他预设温度,以该预设温度下的显示屏的红色子像素的发光强度和T0下的显示屏的红色子像素的发光强度的比值为该预设温度的温度补偿系数。例如,温度补偿系数KR=Lux(T)/Lux(T0),Lux(T0)为基准温度T0时测得的光强,Lux(T)为非基准温度的预设温度下测得的光强。以相同方式可以获得绿色子像素和蓝色子像素的温度补偿系数。
进一步,将各预设温度对应的温度补偿系数存储在存储器150中。温度补偿系数例如以表1的查找表形式存储。
在一些实施例中,对于红色子像素,绿色子像素和蓝色子像素中的一个或多个,子像素的所有灰阶值,对应同一个温度和温度补偿系数的查找表。为了证明该温度补偿系数适于其他灰阶值下的温度补偿,申请人进行了以下实验。在温度T1下,获得显示屏的子像素在各个灰阶值(0~255)下显示屏的发光强度Dn@T1,在温度T2下,获得显示屏的子像素在各个灰阶值下显示屏的发光强度Dn@T2。对于每个灰阶值,计算温度T1下的发光强度Dn@T1和温度T2 下的发光强度Dn@T2的比值。图9示出了两个温度的发光强度比值与灰阶值的关系曲线。如图9所示,两个温度的发光强度比值随灰阶值的变化很小,因此证明了在某一灰阶值下获得的温度补偿系数可以适用于其他灰阶值。例如,在显示屏120的红色子像素的灰阶值设置为255下通过图7所示的方法获得多个预设温度的温度补偿系数,图9证明了多个预设温度的温度补偿系数适用于红色子像素的其他灰阶值。
对于一些显示屏120,温度补偿系数和灰阶值的相关性较高,即不同灰阶值的温度补偿系数差异较大,需要设置多个如表1所示的查找表。在一些实施例中,对于红色子像素,绿色子像素和蓝色子像素中的一个或多个,子像素的不同灰阶值对应不同的温度补偿系数查找表。例如,红色子像素有256种灰阶值,如图5所示,为红色子像素设置256个查找表,每个灰阶值对应一个温度补偿系数的查找表(也可以省略灰阶值为0的温度补偿系数的查找表,即在灰阶值为0时不进行温度补偿)。这种设置方式得到的显示屏的漏光光强更加准确,但是需要占用更多的存储资源,增加计算复杂度。
在一些实施例中,对于红色子像素,绿色子像素和蓝色子像素中的一个或多个,子像素的一组灰阶值对应相同的温度补偿系数查找表。例如,红色子像素有256种灰阶值,256种灰阶值中的一组灰阶值对应一个温度补偿系数的查找表,256种灰阶值中的另一组灰阶值对应另一个温度补偿系数的查找表。以这种设置方式设置查找表,能够兼顾存储资源和计算准确性。
为了验证带有上述温度补偿的环境光传感器和环境光的光强检测方法的效果,申请人进行如下实验。将带有环境光传感器的手机放置到测试温箱中,通过黑色掩体将手机的显示屏和环境光隔离开,使得手机的显示屏处于无环境光干扰的状态。将测试温箱先后稳定在-10℃,获得显示屏在不同灰阶值的发光强度。将测试温箱先后稳定在10℃,获得显示屏在不同灰阶值的发光强度。按照无温度补偿的方案,根据显示屏的灰阶值计算显示屏的预估发光强度。显示屏的预估发光强度乘以对应的温度系数得到温度补偿的预估发光强度。在-10℃和10℃,温度补偿的预估发光强度更接近实际测量的显示屏发光强度。
在一个实施例中,可以对目标区域的显示数据进行温度补偿,再根据温度 补偿后的显示数据计算显示屏的漏光的光强。
图10为本申请的另一个实施例提供的环境光强度的检测方法。环境光强度的检测方法由环境光传感器和处理器执行。环境光强度的检测方法包括如下步骤。
步骤S302,环境光传感器140感测入射光的光强,入射光包括透过所述显示屏120的环境光和所述显示屏120背面的漏光。
步骤S304,处理器110根据显示屏120的目标区域的显示数据和当前温度获得目标区域的补偿显示数据。从处理器110获得的显示屏的目标区域的显示数据包括显示屏的目标区域的每个显示像素的红色子像素的灰阶值GSR1、绿色子像素的灰阶值GSG1和蓝色子像素的灰阶值GSB1。当前环境温度为T1,处理器110根据显示屏的目标区域的显示数据和当前温度对应的温度补偿系数确定补偿显示数据。补偿显示数据包括目标区域的每个显示像素的红色子像素的补偿灰阶值GSR2、绿色子像素的补偿灰阶值GSG2和蓝色子像素的补偿灰阶值GSB2。红色子像素的补偿灰阶值GSR2=GSG1*KR1、绿色子像素的补偿灰阶值GSG2*KG1和蓝色子像素的补偿灰阶值GSB2*KB1。温度补偿系数例如以查找表的形式存储在存储器150中。
步骤S306,处理器110根据目标区域的补偿显示数据进行计算,获得显示屏的漏光的光强。具体地,处理器110根据补偿显示数据计算每个显示像素的红色子像素的发光强度、绿色子像素的发光强度和蓝色子像素的发光强度,根据红色子像素的发光强度、绿色子像素的发光强度和蓝色子像素的发光强度计算红色子像素的漏光的光强、绿色子像素的漏光的光强和蓝色子像素的漏光的光强,进一步得到目标区域的红色漏光的光强、绿色漏光的光强和蓝色漏光的光强,这样就得到了显示屏的漏光L2的光强。
步骤S308,处理器110根据所述入射光的光强和所述显示屏的漏光L2的光强获得透过显示屏的环境光L1的光强。
在本发明实施例的方案中,根据显示屏的目标区域的显示数据和当前温度对应的温度补偿系数计算显示屏的目标区域的漏光,根据入射到光强感测部的入射光的光强和计算得到的显示屏的目标区域的漏光获得环境光的光强。通过 温度补偿,计算得到的显示屏的目标区域的漏光更准确,减少了温度对显示屏的漏光的预测的影响,提高了基于屏下环境光传感器的环境光计算的准确度。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (25)

  1. 一种应用于环境光传感器的环境光强度的检测方法,所述环境光传感器设置在显示屏下方,其特征在于,所述检测方法包括:
    感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;
    根据所述显示屏的目标区域的显示数据获得所述显示屏的漏光的预估光强;
    根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,获得所述显示屏的漏光的光强;以及
    根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
  2. 根据权利要求1所述的检测方法,其特征在于,根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,包括:将所述预估光强乘以所述温度补偿系数。
  3. 根据权利要求1所述的检测方法,其特征在于,所述显示屏的目标区域的显示数据包括:所述目标区域的显示像素的灰阶值。
  4. 根据权利要求3所述的检测方法,其特征在于,所述显示屏的目标区域的显示像素包括:红色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值;所述温度补偿系数包括:红色子像素的温度补偿系数、绿色子像素的温度补偿系数和蓝色子像素温度的补偿系数。
  5. 根据权利要求4所述的检测方法,其特征在于,所述红色子像素的温度补偿系数、所述绿色子像素的温度补偿系数和所述蓝色子像素温度的补偿系数存储在查找表中。
  6. 根据权利要求4所述的检测方法,其特征在于,所述红色子像素的所有灰阶值对应相同的温度补偿系数查找表。
  7. 根据权利要求4所述的检测方法,其特征在于,所述红色子像素的不同灰阶值对应不同的温度补偿系数查找表。
  8. 根据权利要求4所述的检测方法,其特征在于,所述红色子像素的一组 灰阶值对应相同的温度补偿系数查找表。
  9. 根据权利要求1所述的检测方法,其特征在于,所述温度补偿系数的获得,包括:
    获得所述显示屏在多个预设温度下的发光强度,其中,所述显示屏处于无环境光影响的状态下;以及
    以所述多个预设温度中的一个为基准,根据所述多个预设温度下显示屏的发光强度,确定所述多个预设温度对应的温度补偿系数。
  10. 一种应用于环境光传感器的环境光强度的检测方法,所述环境光传感器设置在显示屏下方,其特征在于,所述检测方法包括:
    感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;
    根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据;
    根据所述补偿显示数据进行计算,获得所述显示屏的漏光的光强;以及
    根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
  11. 根据权利要求10所述的检测方法,其特征在于,所述显示屏的目标区域的显示像素包括:红色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值。
  12. 根据权利要求10所述的检测方法,其特征在于,根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据包括:根据显示屏的目标区域的显示数据和当前温度通过查找表获得补偿显示数据。
  13. 一种电子设备,其特征在于,包括:
    显示屏;
    环境光传感器,设置在显示屏下方,所述环境光传感设置为感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;以及
    处理器,设置为根据所述显示屏的目标区域的显示数据获得所述显示屏的 漏光的预估光强;根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,获得所述显示屏的漏光的光强;以及根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
  14. 根据权利要求13所述的电子设备,其特征在于,根据所述预估光强以及所述显示屏的当前温度对应的温度补偿系数进行计算,包括:将所述预估光强乘以所述温度补偿系数。
  15. 根据权利要求13所述的电子设备,其特征在于,所述显示屏的目标区域的显示数据包括:所述目标区域的显示像素的灰阶值。
  16. 根据权利要求15所述的电子设备,其特征在于,所述显示屏的目标区域的显示像素包括:红色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值;所述温度补偿系数包括:红色子像素的温度补偿系数、绿色子像素的温度补偿系数和蓝色子像素温度的补偿系数。
  17. 根据权利要求16所述的电子设备,其特征在于,所述红色子像素的温度补偿系数、所述绿色子像素的温度补偿系数和所述蓝色子像素温度的补偿系数存储在查找表中。
  18. 根据权利要求17所述的电子设备,其特征在于,所述红色子像素的所有灰阶值对应相同的温度补偿系数查找表。
  19. 根据权利要求16所述的电子设备,其特征在于,所述红色子像素的不同灰阶值对应不同的温度补偿系数查找表。
  20. 根据权利要求16所述的电子设备,其特征在于,所述红色子像素的一组灰阶值对应相同的温度补偿系数查找表。
  21. 根据权利要求13所述的电子设备,其特征在于,所述温度补偿系数的获得,包括:
    获得所述显示屏在多个预设温度下的发光强度,其中,所述显示屏处于无环境光影响的状态下;以及
    以所述多个预设温度中的一个为基准,根据所述各预设温度下显示屏的发光强度,确定所述各预设温度对应的温度补偿系数。
  22. 根据权利要求13所述的电子设备,其特征在于,所述显示屏为发光二极管显示屏。
  23. 一种电子设备,其特征在于,包括:
    显示屏;
    环境光传感器,设置在显示屏下方,所述环境光传感设置为感测入射光的光强,其中,所述入射光包括透过所述显示屏的环境光和所述显示屏的漏光;以及
    处理器,设置为根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据;根据所述补偿显示数据进行计算,获得所述显示屏的漏光的光强;以及根据所述入射光的光强和所述显示屏的漏光的光强获得透过所述显示屏的环境光的光强。
  24. 根据权利要求23所述的屏下环境光传感装置,其特征在于,所述显示屏的目标区域的显示像素包括:红色子像素、绿色子像素和蓝色子像素;所述显示屏的目标区域的显示数据包括:红色子像素的灰阶值、绿色子像素的灰阶值和蓝色子像素的灰阶值。
  25. 根据权利要求23所述的屏下环境光传感装置,其特征在于,根据所述显示屏的目标区域的显示数据和当前温度获得补偿显示数据包括:根据显示屏的目标区域的显示数据和当前温度通过查找表获得补偿显示数据。
PCT/CN2022/088559 2022-04-22 2022-04-22 环境光强度的检测方法和电子设备 Ceased WO2023201722A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202280000898.5A CN115104014B (zh) 2022-04-22 2022-04-22 环境光强度的检测方法和电子设备
PCT/CN2022/088559 WO2023201722A1 (zh) 2022-04-22 2022-04-22 环境光强度的检测方法和电子设备
US18/064,484 US12085441B2 (en) 2022-04-22 2022-12-12 Method for detecting intensity of ambient light, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/088559 WO2023201722A1 (zh) 2022-04-22 2022-04-22 环境光强度的检测方法和电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/064,484 Continuation US12085441B2 (en) 2022-04-22 2022-12-12 Method for detecting intensity of ambient light, and electronic device

Publications (1)

Publication Number Publication Date
WO2023201722A1 true WO2023201722A1 (zh) 2023-10-26

Family

ID=83300698

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/088559 Ceased WO2023201722A1 (zh) 2022-04-22 2022-04-22 环境光强度的检测方法和电子设备

Country Status (3)

Country Link
US (1) US12085441B2 (zh)
CN (1) CN115104014B (zh)
WO (1) WO2023201722A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230172079A (ko) * 2022-06-14 2023-12-22 삼성디스플레이 주식회사 표시 장치

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945770A (zh) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 环境光强度检测方法、装置、存储介质及电子设备
CN107957294A (zh) * 2017-11-22 2018-04-24 广东欧珀移动通信有限公司 环境光强度检测方法、装置、存储介质及电子设备
CN112289280A (zh) * 2020-11-18 2021-01-29 深圳市锐尔觅移动通信有限公司 屏幕亮度调整方法及装置、计算机可读介质和电子设备
CN112599089A (zh) * 2020-12-09 2021-04-02 深圳市汇顶科技股份有限公司 显示屏漏光值的获取方法、电子设备以及存储介质

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4559899B2 (ja) * 2004-04-01 2010-10-13 東芝モバイルディスプレイ株式会社 液晶表示装置、及び液晶表示装置の駆動方法
JP5279096B2 (ja) * 2010-12-15 2013-09-04 Eizo株式会社 表示強度推定方法及びコンピュータプログラム
JP2012237972A (ja) * 2011-04-26 2012-12-06 Canon Inc 温度推定装置、その制御方法、及び画像表示装置
CA2886862A1 (en) * 2015-04-01 2016-10-01 Ignis Innovation Inc. Adjusting display brightness for avoiding overheating and/or accelerated aging
US9870739B2 (en) * 2015-05-13 2018-01-16 Apple Inc. Display with backlight and temperature color compensation
CN104952423A (zh) * 2015-07-03 2015-09-30 深圳市华星光电技术有限公司 一种图像显示方法以及显示系统
CN105931605B (zh) * 2016-05-12 2018-09-18 深圳市华星光电技术有限公司 一种图像显示方法及显示装置
KR102654711B1 (ko) * 2016-12-05 2024-04-05 삼성디스플레이 주식회사 표시 장치 및 이의 구동 방법
CN107452345B (zh) * 2017-09-29 2020-01-10 京东方科技集团股份有限公司 一种显示器件亮度补偿方法、装置及显示装置
CN110264978B (zh) * 2019-06-28 2021-04-13 联想(北京)有限公司 光强度修正方法、光强度修正装置和电子设备
CN112449026B (zh) * 2019-08-28 2023-11-21 北京小米移动软件有限公司 一种环境光补偿方法、装置、终端及存储介质
CN112082644A (zh) * 2020-09-14 2020-12-15 深圳市汇顶科技股份有限公司 屏下环境光传感器和终端设备
CN113899449A (zh) * 2021-09-30 2022-01-07 深圳市汇顶科技股份有限公司 环境光感应值的检测方法、电子设备以及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945770A (zh) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 环境光强度检测方法、装置、存储介质及电子设备
CN107957294A (zh) * 2017-11-22 2018-04-24 广东欧珀移动通信有限公司 环境光强度检测方法、装置、存储介质及电子设备
CN112289280A (zh) * 2020-11-18 2021-01-29 深圳市锐尔觅移动通信有限公司 屏幕亮度调整方法及装置、计算机可读介质和电子设备
CN112599089A (zh) * 2020-12-09 2021-04-02 深圳市汇顶科技股份有限公司 显示屏漏光值的获取方法、电子设备以及存储介质

Also Published As

Publication number Publication date
US12085441B2 (en) 2024-09-10
CN115104014A (zh) 2022-09-23
CN115104014B (zh) 2025-07-04
US20230341258A1 (en) 2023-10-26

Similar Documents

Publication Publication Date Title
US11610548B2 (en) Method, a device, a display device and a medium for improving OLED residual images
CN109523955B (zh) 像素补偿方法及装置、存储介质、显示屏
CN107785406B (zh) 一种有机电致发光显示面板及其驱动方法、显示装置
US11270663B2 (en) Method for detecting compensation parameters of brightness, method for compensating brightness, detection device for detecting compensation parameters of brightness, brightness compensation device, display device, and non-volatile storage medium
TWI469082B (zh) 處理影像訊號之方法
WO2022001321A1 (zh) 伽马调试方法及伽马调试装置
CN109872668B (zh) 图像显示总电流预测方法、显示装置及存储介质
US10657905B2 (en) Method and apparatus for compensating for brightness of display device
CN105374340B (zh) 一种亮度校正方法、装置和显示设备
WO2019029070A1 (zh) 一种amoled显示面板亮度补偿方法及装置
US11482167B1 (en) Systems and methods for ambient light sensor disposed under display layer
CN112542137A (zh) 亮度补偿方法及芯片、装置、设备、存储介质
US20180357944A1 (en) Optical compensation apparatus applied to panel and operating method thereof
WO2019000931A1 (zh) 显示控制方法、装置及显示装置
CN111754935A (zh) 显示面板的补偿方法、装置及显示装置
US20190213963A1 (en) Flexible display panel and display method thereof
CN112562587A (zh) 显示面板的亮度补偿方法及装置、显示面板
KR20170002770A (ko) 얼룩 검사 장치 및 이의 구동 방법
CN110503011B (zh) 数据校准方法、电子设备及非易失性计算机可读存储介质
CN115966175B (zh) 显示屏亮度补偿方法、装置、设备及存储介质
KR20160069576A (ko) 표시장치 및 그의 구동방법
CN114822351A (zh) 显示面板的补偿方法、补偿装置、显示装置及存储介质
CN115104014B (zh) 环境光强度的检测方法和电子设备
CN118173048A (zh) 灰阶补偿装置、方法、显示装置、计算机设备和存储介质
CN115762403A (zh) 亮度补偿方法、亮度补偿设备以及显示装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22937958

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22937958

Country of ref document: EP

Kind code of ref document: A1

WWG Wipo information: grant in national office

Ref document number: 202280000898.5

Country of ref document: CN