Method for calibrating illuminance sensor and electronic device supporting same
The electronic device's method of calculating a correction value for illuminance sensors to account for display light interference addresses the challenge of accurately measuring external light, enhancing measurement accuracy and reducing calibration costs by enabling on-device calibration.
Patent Information
- Application Number
- PCT/KR2024/003712
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-24
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-17
AI Technical Summary
Existing illuminance sensors in electronic devices face challenges in accurately measuring external light due to interference from display light, leading to deviations in measured values, which complicates calibration and increases costs, especially when components are replaced.
An electronic device with an illuminance sensor disposed under the display, where the device calculates a correction value by determining the illuminance value associated with display light and external light, allowing for real-time calibration and minimizing the need for dark room conditions during component replacement.
This method enables accurate calibration of the illuminance sensor by isolating external light values, improving measurement accuracy and reducing calibration costs by allowing for on-device calibration without the need for dark room conditions, even when components are replaced.
Smart Images

Figure KR2024003712_17102024_PF_FP_ABST
Abstract
Description
Method for calibrating a light sensor and an electronic device supporting the same.
[0001] The present disclosure relates to a method for calibrating a light sensor and an electronic device supporting the same.
[0002] An electronic device can measure the illuminance of the environment in which the electronic device is located (e.g., the illuminance value of external light) through a light sensor. The electronic device can adjust the brightness of the display based on the illuminance measured through the light sensor.
[0003] The light sensor may be positioned below the display (e.g., the back surface of the display) when looking at the front surface of the electronic device (e.g., the surface of the electronic device where the display is exposed). Therefore, the light value measured by the light sensor may include, in addition to the light value affected by external light incident from outside the electronic device (hereinafter referred to as “external light”), the light value affected by light emitted from the display (hereinafter referred to as “display light”). Accordingly, the electronic device may obtain (e.g., calculate) the light value affected by external light incident from outside the electronic device by subtracting the light value affected by the display light from the light value measured by the light sensor.
[0004] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.
[0005] The illuminance value measured by the illuminance sensor (or the illuminance value affected by the light emitted from the display) may vary depending on the display and / or the illuminance sensor. For example, there may be variation between the transmittances of the displays (e.g., the percentages at which each of the displays transmits light) (e.g., a variation of about ±50% around the average or median transmittance), and there may be variation between the characteristics of the illuminance sensors (e.g., a variation of about ±10% around the characteristic value corresponding to the average or median value). Due to the above variation, variation may occur between the illuminance values measured by the illuminance sensors in combinations (or sets) of displays and illuminance sensors.
[0006] In order to correct for (or also referred to as “compensation”) the deviation between the above illuminance values, calibration of the illuminance sensor may be performed in the step of mounting the display and the illuminance sensor in the electronic device (hereinafter referred to as the “process step”). Calibration of the illuminance sensor may include an operation of calculating a correction value (also referred to as a “correction coefficient” or “correction information”) for calculating an illuminance value affected by external light from an illuminance value measured by the illuminance sensor.
[0007] In the process step, calibration of the light sensor can be performed for each combination of the plurality of displays and the plurality of light sensors in a darkroom condition where external light is blocked (also referred to as a "darkroom environment"). For example, calibration can be performed for each combination of the plurality of displays and the plurality of light sensors while each combination of the plurality of displays and the plurality of light sensors is placed in a darkroom jig (e.g., a box-shaped device that can create a darkroom condition). In each combination of the plurality of displays and the plurality of light sensors in a darkroom condition, by measuring the illuminance value of the display light through the illuminance sensor while the display displays a white image with maximum brightness at maximum luminance, a plurality of illuminance values corresponding to the combinations of the plurality of displays and the plurality of light sensors can be measured. A correction coefficient can be derived for each combination of the plurality of displays and the plurality of light sensors by dividing an average value of the plurality of illuminance values by the illuminance value corresponding to the individual combination of the display and the illuminance sensor.
[0008] In addition, when replacing a display or a light sensor in an electronic device including a display and a light sensor, calibration of the light sensor must be performed after creating darkroom conditions using a darkroom jig, which is the same as or similar to calibration of the light sensor in the process step, which may be cumbersome and increase the cost for this.
[0009] One embodiment of the present disclosure relates to a method for calibrating a light sensor and an electronic device supporting the same, which can perform calibration on a light sensor while a user uses the electronic device after a display or light sensor included in the electronic device is replaced, while excluding light values that may be affected by external light, similar to calibration on a light sensor performed under darkroom conditions.
[0010] The technical problems to be achieved by the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field related to this document from the description below.
[0011] An electronic device according to one embodiment may include a display, an illuminance sensor disposed under at least a portion of the display, at least one processor, and a memory storing instructions. The instructions, when executed by the at least one processor, may cause the electronic device to obtain a first illuminance value based on illuminance data obtained through the illuminance sensor during a first period of time while the display is turned on / off. The instructions, when executed by the at least one processor, may cause the electronic device to obtain a second illuminance value based on illuminance data obtained through the illuminance sensor every second period of time shorter than the first period of time while the display is turned on / off. The instructions, when executed by the at least one processor, may cause the electronic device to determine a third illuminance value associated with light emitted from the display based on the first illuminance value and the second illuminance value. The above instructions, when executed by the at least one processor, may cause the electronic device to determine a fourth illuminance value based on color information of an image displayed through the display and information related to a luminance of the display. The above instructions, when executed by the at least one processor, may cause the electronic device to determine a correction value for correcting an illuminance value obtained through the illuminance sensor based on the third illuminance value and the fourth illuminance value.
[0012] In one embodiment, a method for calibrating an illuminance sensor in an electronic device may include an operation of obtaining a first illuminance value based on illuminance data acquired through the illuminance sensor during a first period of time while a display of the electronic device is turned on / off. The method may include an operation of obtaining a second illuminance value based on illuminance data acquired through the illuminance sensor every second period of time shorter than the first period of time while the display is turned on / off. The method may include an operation of determining a third illuminance value related to light emitted from the display based on the first illuminance value and the second illuminance value. The method may include an operation of determining a fourth illuminance value based on color information of an image displayed through the display and information related to a luminance of the display. The method may include an operation of determining a correction value for correcting an illuminance value acquired through the illuminance sensor based on the third illuminance value and the fourth illuminance value.
[0013] An electronic device according to one embodiment may include a display, an illumination sensor disposed under at least a portion of the display, at least one processor, and a memory storing instructions. The instructions, when executed by the at least one processor, may cause the electronic device to determine a first illumination value based on color information of a first image and information related to a luminance of the display while a first image is displayed through the display, and to obtain a second illumination value through the illumination sensor. The instructions, when executed by the at least one processor, may cause the electronic device to determine a third illumination value based on color information of a second image and information related to a luminance of the display while a second image different from the first image is displayed through the display, and to obtain a fourth illumination value through the illumination sensor. The above instructions, when executed by the at least one processor, may cause the electronic device to determine a correction value for correcting an illuminance value obtained through the illuminance sensor based on a first difference between the third illuminance value and the first illuminance value and a second difference between the fourth illuminance value and the second illuminance value.
[0014] In one embodiment, a non-transitory computer-readable medium having recorded thereon computer-executable instructions, wherein the computer-executable instructions, when executed, cause an electronic device including at least one processor to obtain a first illuminance value based on illuminance data obtained through an illuminance sensor during a first period of time while a display of the electronic device is turned on / off. The computer-executable instructions, when executed, cause the electronic device including at least one processor to obtain a second illuminance value based on illuminance data obtained through the illuminance sensor every second period of time shorter than the first period of time while the display is turned on / off. The computer-executable instructions, when executed, cause the electronic device including at least one processor to determine a third illuminance value associated with light emitted from the display based on the first illuminance value and the second illuminance value. The computer-executable instructions, when executed, may cause an electronic device including at least one processor to determine a fourth illuminance value based on color information of an image displayed through the display and information related to a luminance of the display. The computer-executable instructions, when executed, may cause an electronic device including at least one processor to determine a correction value for correcting an illuminance value obtained through the illuminance sensor based on the third illuminance value and the fourth illuminance value.
[0015] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0016] FIG. 2 is a block diagram of a display module according to one embodiment.
[0017] FIG. 3 is a drawing for explaining an electronic device according to one embodiment.
[0018] FIG. 4 is a cross-sectional view of an electronic device according to one embodiment.
[0019] FIG. 5 is a block diagram of an electronic device according to one embodiment.
[0020] FIG. 6 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0021] FIG. 7 is a diagram illustrating a method for calibrating a light sensor according to one embodiment.
[0022] FIG. 8 is a drawing for explaining a method of calibrating a light sensor according to one embodiment.
[0023] FIG. 9 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0024] FIG. 10 is a drawing for explaining a method of calibrating a light sensor according to one embodiment.
[0025] FIG. 11 is a drawing for explaining a method of calibrating a light sensor according to one embodiment.
[0026] FIG. 12 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0027] FIG. 13 is a drawing for explaining a method of calibrating a light sensor according to one embodiment.
[0028] FIG. 14 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0029] FIG. 15 is a diagram showing an illuminance value obtained by a light sensor when the light source is a flicker light source, according to one embodiment.
[0030] FIG. 16 is a diagram showing an illuminance value obtained by a light sensor when the light source is a light source having a form in which the intensity of light changes, according to one embodiment.
[0031] FIG. 17 is a diagram for explaining an illuminance value obtained by a light sensor when the light sensor is covered by an object, according to one embodiment.
[0032] FIG. 18 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0033] FIG. 19 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0034] FIG. 20 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0035] FIG. 21 is a flowchart illustrating a method for calibrating a light sensor according to one embodiment.
[0036] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.
[0037] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100), according to one embodiment.
[0038] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0039] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or a secondary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor)) that can operate independently or together therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a specified function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0040] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0041] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0042] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0043] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0044] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0045] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0046] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0047] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0048] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0049] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0050] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0051] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0052] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least a part of a power management integrated circuit (PMIC).
[0053] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0054] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0055] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0056] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0057] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
[0058] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0059] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0060] FIG. 2 is a block diagram (200) of a display module (160) according to one embodiment.
[0061] Referring to FIG. 2, the display module (160) may include a display (210) and a display driver integrated circuit (DDI) (230) for controlling the display (210). The DDI (230) may include an interface module (231), a memory (233) (e.g., a buffer memory), an image processing module (235), or a mapping module (237). The DDI (230) may receive, for example, image information including image data or an image control signal corresponding to a command for controlling the image data, from another component of the electronic device (101) through the interface module (231). For example, image information may be received from a processor (e.g., processor (120) of FIG. 1) (e.g., main processor (121) of FIG. 1 (e.g., application processor)) or an auxiliary processor (e.g., auxiliary processor (123) of FIG. 1) (e.g., graphic processing unit) that operates independently of the function of the main processor (121). The DDI (230) may communicate with the touch circuit (250) or the sensor module (176) through the interface module (231). In addition, the DDI (230) may store at least some of the received image information in the memory (233), for example, in units of frames. The image processing module (235) may, for example, perform preprocessing or postprocessing (e.g., resolution, brightness, or size adjustment) on at least some of the image data based on at least the characteristics of the image data or the characteristics of the display (210). The mapping module (237) may output a voltage corresponding to the image data preprocessed or postprocessed through the image processing module (135). A voltage or current value can be generated. In one embodiment, the generation of the voltage or current value can be performed based at least in part on the properties of the pixels of the display (210), for example, the arrangement of the pixels (e.g., an RGB stripe or pentile structure), or the size of each sub-pixel.At least some pixels of the display (210) may be driven based at least in part on, for example, the voltage value or current value, so that visual information (e.g., text, an image, or an icon) corresponding to the image data may be displayed through the display (210).
[0062] According to one embodiment, the display module (160) may further include a touch circuit (250). The touch circuit (250) may include a touch sensor (251) and a touch sensor IC (253) for controlling the same. The touch sensor IC (253) may control the touch sensor (251) to detect, for example, a touch input or a hovering input for a specific location of the display (210). For example, the touch sensor IC (253) may detect a touch input or a hovering input by measuring a change in a signal (e.g., voltage, light quantity, resistance, or charge quantity) for a specific location of the display (210). The touch sensor IC (253) may provide information (e.g., location, area, pressure, or time) regarding the detected touch input or hovering input to the processor (120). According to one embodiment, at least a portion of the touch circuit (250) (e.g., touch sensor IC (253)) may be included as part of the display driver IC (230), or as part of the display (210), or as part of another component (e.g., auxiliary processor (123)) disposed external to the display module (160).
[0063] According to one embodiment, the display module (160) may further include at least one sensor (e.g., a fingerprint sensor, an iris sensor, a pressure sensor, or an illuminance sensor) of the sensor module (176), or a control circuit therefor. In this case, the at least one sensor or the control circuit therefor may be embedded in a part of the display module (160) (e.g., the display (210) or the DDI (230)) or a part of the touch circuit (250). For example, if the sensor module (176) embedded in the display module (160) includes a biometric sensor (e.g., a fingerprint sensor), the biometric sensor may obtain biometric information (e.g., a fingerprint image) associated with a touch input through a part of the display (210). As another example, if the sensor module (176) embedded in the display module (160) includes a pressure sensor, the pressure sensor may obtain pressure information associated with a touch input through a part or the entire area of the display (210). According to one embodiment, the touch sensor (251) or sensor module (176) may be positioned between pixels of a pixel layer of the display (210), or above or below the pixel layer.
[0064] FIG. 3 is a drawing for explaining an electronic device (310, 320) according to one embodiment.
[0065] Referring to FIG. 3, in one embodiment, the electronic devices (310, 320) may be various types of electronic devices. For example, the electronic devices (310, 320) may be a portable communication device (e.g., a smart phone) as illustrated by reference numeral 301, or a wearable device (e.g., a wearable watch) as illustrated by reference numeral 302. However, the types of the electronic devices (310, 320) are not limited to portable communication devices and wearable devices.
[0066] In one embodiment, the electronic device (310, 320) may include a housing (309, 319), a display (311, 321), a camera (312), and / or a light sensor (313, 323).
[0067] In one embodiment, the housing (309, 319) may include a front side facing the front of the electronic device (310, 320) and a back side facing the opposite direction from the front side. In one embodiment, a display (311, 321), a camera (312), and / or a light sensor (313, 323) may be disposed within the housing (309, 319).
[0068] In one embodiment, the display (311, 321) can be viewed through a portion of the front surface of the housing (309, 319). In one embodiment, the display (311, 321) can be any of a variety of display types, such as a liquid crystal display (LCD) including a back light, an organic light emitting diode (OLED) display in which each pixel individually emits light, or a quantum dot light emitting diode (QLED) display.
[0069] In one embodiment, the camera (312) can acquire an image. In one embodiment, the camera (312) may be formed in a notch, a U-shaped hole, a V-shaped hole, or an O-shaped hole in a part of the housing (309, 319) (or a part of the display (311, 321)) and may be exposed to the outside through the formed notch or hole. However, the present invention is not limited thereto, and the camera (312) may be an under display camera (UDC) positioned under the display (311, 321).
[0070] In one embodiment, the light sensor (313, 323) may be positioned to overlap at least a portion of the display (311, 321) when looking at the front of the housing (309, 319). For example, the light sensor (313, 323) may be mounted on the back surface of at least a portion of the display (311, 321). For example, the light sensor (313, 323) may be positioned between the display (311, 321) and the back surface of the housing (309, 319).
[0071] In one embodiment, the light sensor (313, 323) may include a sensor that utilizes the intensity of light incident from outside, such as a visible light sensor, a proximity light sensor (also referred to as a “near-light sensor”), a spectrometer sensor, an ultraviolet sensor, or a color sensor. In one embodiment, the light sensor (313, 323) may include a light-receiving element, such as a photodiode, that can receive light incident from outside.
[0072] In one embodiment, the illuminance sensor (313, 323) may be affected by the transmittance of external light by the display (311, 321) and / or the screen displayed on the display (311, 321) when measuring illuminance. For example, if the display (311, 321) is an OLED display or QLED display in which each pixel individually emits light, the illuminance value measured by the illuminance sensor (313, 323) may be increased by the light emitted from the pixels.
[0073] FIG. 4 is a cross-sectional view of an electronic device (401) according to one embodiment.
[0074] Referring to FIG. 4, in one embodiment, the electronic device (401) may include glass (411), a display panel (412), a cover panel (413), a printed circuit board (PCB) (414), and / or a light sensor (415).
[0075] In one embodiment, the glass (411) is attached to the front of the display panel (412) and may be implemented with a flexible and transparent material (e.g., colorless polyimide (CPI)).
[0076] In one embodiment, the display panel (412) may be placed on at least a portion of the lower portion of the glass (411). The display panel (412) may display a screen through the glass (411) made of a transparent material.
[0077] In one embodiment, the display panel (412) may include a light-transmitting area (412-1) (hereinafter referred to as “the first area of the display” or “the first area of the display panel (412)”) so that the light sensor (415) measures the intensity of light. In one embodiment, the light sensor (415) may be positioned under the first area (412-1) of the display panel (412). The position and / or size of the first area (412-1) of the display panel (412) may be determined based on the position and / or size of the light sensor (415). For example, the position and / or size of the first area (412-1) of the display panel (412) may be determined based on a field of view (FOV) of the light sensor (415).
[0078] In one embodiment, the first region (412-1) of the display panel (412) may be implemented to have a lower pixel density (e.g., pixels per inch (PPI)) and / or lower wiring density compared to other regions of the display panel (412) to improve light transmittance.
[0079] In one embodiment, the cover panel (413) may be a layer that protects one side of the display panel (412). The cover panel (413) may include a metal layer (e.g., a copper sheet) and / or a light-shielding layer (e.g., a black emboss layer). In one embodiment, the cover panel (413) may be disposed at the bottom of the display panel (412).
[0080] In one embodiment, the light sensor (415) may be mounted on the PCB (414). In one embodiment, the light sensor (415) may measure external illuminance by detecting external light passing through the glass (411) and the display panel (412). In one embodiment, the cover panel (413) may include a light-blocking layer, so that the cover panel (413) may not allow external light to pass through. In order for the light sensor (415) to detect external light, an opening (416) may be formed in at least a portion of the cover panel (413). The opening (416) of the cover panel (413) may be formed at a position and / or size corresponding to a viewing angle (θ) of the light sensor (415).
[0081] In one embodiment, the light sensor (415) may be implemented in the form of a package that further includes a light emitting unit. For example, if the light sensor (415) further includes a light emitting unit, the light sensor (415) may operate as a proximity sensor.
[0082] In one embodiment, the light sensor (415) may be included in the display panel (412). For example, at least some of the pixels included in the display panel (412) may include a light-receiving portion to measure light. In such a case, the opening (416) may not be formed.
[0083] FIG. 5 is a block diagram of an electronic device (501) according to one embodiment.
[0084] Referring to FIG. 5, in one embodiment, the electronic device (501) may be the electronic device (101) of FIG. 1, the electronic device (310, 320) of FIG. 3, or the electronic device (401) of FIG. 4.
[0085] In one embodiment, the electronic device (501) may include a display module (510), a light sensor (520), a memory (530), and / or a processor (540).
[0086] In one embodiment, the display module (510) may be the display module (160) of FIGS. 1 and 2 or the display (311, 321) of FIG. 3.
[0087] In one embodiment, the display module (510) may include a DDI (511) (e.g., DDI (230) of FIG. 2) and a display (512) (e.g., display (210) of FIG. 2, display panel (412) of FIG. 4).
[0088] In one embodiment, DDI (511) is identical or similar to DDI (230) of FIG. 2, so redundant description will be omitted.
[0089] In one embodiment, the DDI (511) may transmit color information of an image displayed through the display module (510) to the processor (540). In one embodiment, the color information of the image may include color on pixel ratio (COPR) information of the image. In one embodiment, the color information of the image displayed through the display module (510) may be color information of a portion of the image displayed through the first area of the display (512) (e.g., the first area (412-1) of the display panel (412) of FIG. 4) within the image displayed through the display (512). However, the present invention is not limited thereto, and the color information of the image displayed through the display module (510) may also be color information of the entire image displayed through the entire area of the display (512).
[0090] In one embodiment, the COPR information of the image portion displayed through the first area of the display (512) may include RGB (red, green, and blue) values of the image portion to be displayed through the first area of the display (512). For example, the COPR information of the image portion displayed through the first area of the display (512) may include an average of R values, an average of G values, and an average of B values displayed by pixels included in the first area of the display (512). For example, when an image portion having a white color is displayed through the first area of the display (512), the COPR information of the image portion displayed through the first area of the display (512) may have an RGB value of (255, 255, 255).
[0091] In one embodiment, the DDI (511) controls the display (512) to display an image in units of frames (e.g., image frames), and transmits color information of the image (e.g., COPR information of the image) to the processor (540) for each frame.
[0092] In one embodiment, the display (512) may be the display (210) of FIG. 2 and / or the display panel (412) of FIG. 4. In one embodiment, the display (512) may be driven in a pulse width modulation (PWM) manner. For example, the display (512) may be periodically turned on / off based on a set duty cycle and screen refresh rate while displaying a screen.
[0093] In one embodiment, the light sensor (520) may be the light sensor (520) included in the sensor module (176) of FIGS. 1 and 2, the light sensor (313, 323) of FIG. 3, and / or the light sensor (415) of FIG. 4.
[0094] In one embodiment, a light sensor (520) (also referred to as an “ambient light sensor” or an “illumination sensor”) may include a light receiving unit (521) for reading RGB values of visible light and an analog to digital converter (ADC) (522) for digitizing the RGB values.
[0095] In one embodiment, the light receiving unit (521) may include a photodiode that responds to visible light (e.g., light having a wavelength of about 400 nm to 750 nm). The light receiving unit (521) may further include a photodiode that receives infrared light.
[0096] In one embodiment, the light receiving unit (521) may include a plurality of channels capable of measuring light. For example, the light receiving unit (521) may include an R (red) channel (521-1) for receiving red light (e.g., light having a wavelength of about 550 nm to 700 nm), a G (green) channel (521-2) for receiving green light (e.g., light having a wavelength of about 450 nm to 650 nm), a B (blue) channel (521-3) for receiving blue light (e.g., light having a wavelength of about 400 nm to 550 nm), and / or a C (clear) channel (521-4) for receiving white light (e.g., all of R, G, and B). At least one of the plurality of channels may include a photodiode. The R channel (521-1), G channel (521-2), and B channel (521-3) may each include a filter that transmits light of the corresponding series.
[0097] In one embodiment, the ADC (522) may convert analog data transmitted from the light receiving unit (521) into digital data (e.g., ADC value). In one embodiment, the ADC (522) may include one or more ADCs. For example, the ADC (522) may include a first ADC that samples data transmitted from the light receiving unit (521) in a first cycle and a second ADC that samples data transmitted from the light receiving unit (521) in a second cycle that is different from the first cycle.
[0098] In one embodiment, the memory (530) may be the memory (130) of FIG. 1.
[0099] In one embodiment, the memory (530) may store information for performing an operation to calibrate the light sensor (520).
[0100] In one embodiment, the processor (540) may be the processor (120) of FIG. 1.
[0101] In one embodiment, the processor (540) may control the overall operation of calibrating the light sensor (520). In one embodiment, the processor (540) may include one or more processors for performing the operation of calibrating the light sensor (520). For example, the processor (540) may include an application processor (e.g., the main processor (121) of FIG. 1) and a sensor hub processor (e.g., the auxiliary processor (123) of FIG. 1). When the processor (540) includes the application processor and the sensor hub processor, the sensor hub processor may perform the overall operation of calibrating the light sensor (520) based on information transmitted from the display module (510), the light sensor (520), the memory (530), and the application processor. The operation of the processor (540) for calibrating the light sensor (520) will be described in detail with reference to the drawings below.
[0102] In FIG. 5, the electronic device (501) is illustrated as including, but not limited to, a display module (510), a light sensor (520), a memory (530), and / or a processor (540). For example, the electronic device (501) may further include one or more components included in the electronic device (501) of FIG. 1.
[0103] FIG. 6 is a flowchart (600) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0104] FIG. 7 is a drawing for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0105] FIG. 8 is a drawing for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0106] Before explaining FIGS. 6 to 8, the principle used to determine a correction value (hereinafter referred to as a “correction value”, “correction coefficient”, or “correction information”) for determining a final illuminance value (e.g., an illuminance value determined to be measured by the influence of only external light without the influence of display light, calculated by correcting the illuminance value measured by the illuminance sensor (520)) (hereinafter referred to as a “corrected illuminance value”) from the illuminance value measured by the illuminance sensor (520) to be explained through FIGS. 6 to 8 will be explained.
[0107] In one embodiment, the corrected illuminance value can be calculated by [Mathematical Formula 1] below.
[0108]
[0109] The above mathematical formula 1 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0110] In one embodiment, in [Mathematical Formula 1], the "illuminance value measured by the illuminance sensor" may be an illuminance value obtained based on illuminance data output by the ADC of the illuminance sensor. In [Mathematical Formula 1], the "COPR illuminance value" may be a value determined based on color information of the image (e.g., COPR information) and information related to the luminance of the display (e.g., a luminance code corresponding to the luminance currently set to the display). In one embodiment, the COPR illuminance value may be a value estimated from the illuminance value measured by the illuminance sensor, which is affected by display light (e.g., affected by the brightness of the image displayed through the display and the luminance of the display). Hereinafter, the COPR illuminance value will also be referred to as a "display light estimation value."
[0111] In one embodiment, in [Mathematical Formula 1], the "illuminance value measured by the illuminance sensor" may include an illuminance value measured by the illuminance sensor due to external light and an illuminance value measured by the illuminance sensor due to display light. For example, the illuminance value measured by the illuminance sensor may be expressed as an illuminance value that is the sum of an illuminance value measured by the illuminance sensor (520) due to external light and an illuminance value measured by the illuminance sensor (520) due to display light. Accordingly, [Mathematical Formula 1] may be expressed as [Mathematical Formula 2] below.
[0112]
[0113] The above mathematical formula 2 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0114] In one embodiment, using [Mathematical Formula 2], the correction value can be expressed as [Mathematical Formula 3] below.
[0115]
[0116] The above mathematical formula 3 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0117] In one embodiment, as described above, calibration of the light sensor may be performed in a darkroom condition (darkroom environment) where external light is blocked during the process step. Similar to the darkroom condition during the process step, the correction value may be determined by excluding the illuminance value affected by external light while the user is using the electronic device (e.g., while the electronic device is displaying a screen). For example, assuming that the electronic device performs the operation of calibrating the light sensor under darkroom conditions, in [Mathematical Formula 3], the "corrected illuminance value" and the "illuminance value measured by the illuminance sensor by external light" affected by external light may be replaced with 0. In this case, [Mathematical Formula 3] may be expressed as [Mathematical Formula 4] below.
[0118]
[0119] The above mathematical formula 4 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0120] In one embodiment, a correction value can be determined by calculating the COPR illuminance value and the illuminance value measured by the illuminance sensor by the display light (e.g., the illuminance value measured by the illuminance sensor only by the display light without the influence of external light), as in [Mathematical Formula 4].
[0121] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0122] According to one embodiment, operations 601 to 609 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0123] Referring to FIG. 6, in operation 601, in one embodiment, a processor (e.g., processor (540) of FIG. 5) may obtain a first illuminance value (hereinafter, referred to as “first illuminance value”) based on illuminance data obtained through an illuminance sensor (e.g., illuminance sensor (520) of FIG. 5) during a first time (hereinafter, referred to as “first time” or “long itime”) while a display (e.g., display (512) of FIG. 5) is turned on / off.
[0124] In one embodiment, reference numeral 701 of FIG. 7 may represent an illuminance value calculated based on illuminance data acquired through the illuminance sensor (520) while the display (512) is turned on / off over time (e.g., while the display (512) is driven in a PWM manner to display an image). Reference numeral 702 of FIG. 7 may represent a first time (T1) at which the illuminance sensor (520) measures light (e.g., the light receiving unit (521) of the illuminance sensor (520) of FIG. 5 is turned on).
[0125] In one embodiment, the light received by the light sensor (520) during the first time period (T1) may include display light and external light. In reference numeral 701, the illuminance value a2 may be an illuminance value measured by the light sensor (520) by the display light and external light while the display (512) is on, and the illuminance value a1, which is smaller than the illuminance value a2, may be an illuminance value measured by the light sensor (520) by only the external light while the display (512) is off.
[0126] In one embodiment, the processor (540) may obtain a first illuminance value based on illuminance data acquired through the illuminance sensor (520) during a first time period (T1) when the display (512) is turned on / off. For example, the processor (540) may obtain a first illuminance value (also referred to as “long itime lux”) (e.g., an average illuminance value acquired during the first time period (T1)) by dividing illuminance values acquired based on illuminance data acquired during the first time period (T1) (e.g., an area (711) in reference numeral 701) by the first time period (T1).
[0127] In one embodiment, the first illuminance value may be an illuminance value obtained by display light and external light received by the illuminance sensor (520) during a first time (T1) when the display (512) is turned on / off.
[0128] In operation 603, in one embodiment, the processor (540) may obtain a second illuminance value based on illuminance data obtained through the illuminance sensor (520) for a second time (hereinafter referred to as “second time” or “short itime”) shorter than the first time while the display (512) is turned on / off.
[0129] In one embodiment, reference numeral 703 of FIG. 7 may represent an illuminance value calculated based on illuminance data acquired through the illuminance sensor (520) while the display (512) is turned on / off over time (e.g., while the display (512) is driven in a PWM manner to display an image). Reference numeral 704 of FIG. 7 may represent a second time period (T2) during which the illuminance sensor (520) periodically measures light (e.g., the light receiving unit (521) of the illuminance sensor (520) of FIG. 5 is turned on or the ADC (522) samples data transmitted from the light receiving unit (521)) during a third time period (T3) (hereinafter, referred to as “the third time period”). In one embodiment, the third time period (T3) may be set to be the same as the first time period (T1). For example, the third time (T3) and the first time (T1) may be set to a time within a range of about 16 ms to 20 ms. However, the present invention is not limited thereto, and the third time (T3) may be set to a different time than the first time (T1). In one embodiment, the second time (T2) may be set to a shorter time (e.g., about 0.4 ms) than the third time (T3) and the first time (T1). In one embodiment, the second time (T2) may be a time (e.g., a time section) obtained by evenly dividing the third time (T3) by a specified number of parts. In one embodiment, the third time (T3) may include a plurality of second times (T2s) by a specified number of parts.
[0130] In one embodiment, the processor (540) may acquire a plurality of illuminance values based on illuminance data acquired through the illuminance sensor (520) at each of a plurality of second times (T2) during a third time (T3). The processor (540) may determine a minimum value among the acquired illuminance values as a second illuminance value. For example, the acquired illuminance values may include an illuminance value measured through the illuminance sensor (520) by display light and external light while the display (512) is on (e.g., a value obtained by dividing the area (731) by the second time (T2), or a2) and an illuminance value measured through the illuminance sensor (520) by external light while the display (512) is off (e.g., a value obtained by dividing the area (733) by the second time (T2), or a1). The second illuminance value as the minimum value among the plurality of illuminance values obtained above may be an illuminance value (also referred to as “short itime min lux”) measured by the illuminance sensor (520) by external light while the display (512) is off (e.g., during the time period when the display (512) is off).
[0131] In one embodiment, although FIG. 6 illustrates that operation 601 is performed prior to operation 603, this is not limiting. For example, operation 603 may be performed prior to operation 601. For example, operations 601 and 603 may be performed in parallel (e.g., simultaneously).
[0132] In one embodiment, the light sensor (520) may alternately and repeatedly perform an operation of acquiring light data for a first time period (T1) and an operation of acquiring light data for a third time period (T3). For example, as illustrated in reference numeral 801 of FIG. 8, the light sensor (520) may be turned on for a first time period (T1) (e.g., perform a light receiving operation to acquire a first illuminance value), and after a waiting time (T4) (e.g., a time period during which the light sensor (520) is in a standby or sleep state), may be turned on for a third time period (T3) (e.g., perform a light receiving operation to acquire a second illuminance value and a sampling operation performed by the ADC (522)).
[0133] In one embodiment, the illuminance sensor (520) can simultaneously perform an operation of acquiring illuminance data for a first time period (T1) and an operation of acquiring illuminance data for a third time period (T3). For example, as illustrated in reference numerals 802 and 803 of FIG. 8, when the first time period (T1) and the third time period (T3) are set to the same time period, the illuminance sensor (520) can acquire illuminance data for acquiring a first illuminance value through a first ADC that performs a sampling operation at a first time period (T1) cycle during the first time period (T1) (and the third time period (T3)), and can acquire illuminance data for acquiring a second illuminance value through a second ADC that performs a sampling operation at a second time period (T2). The light sensor (520) can perform an operation of acquiring light data through the first ADC and the second ADC during a first time (T1), and after a waiting time (T4), perform an operation of acquiring light data again through the first ADC and the second ADC.
[0134] In operation 605, in one embodiment, the processor (540) may determine a third illuminance value (hereinafter referred to as “third illuminance value”) associated with light emitted from the display (512) based on the first illuminance value and the second illuminance value. For example, the processor (540) may calculate the third illuminance value as an illuminance value determined to be measured by the illuminance sensor (520) only under the influence of display light without the influence of external light, based on the first illuminance value obtained through operation 601 and the second illuminance value obtained through operation 603. For example, the processor (540) may calculate the third illuminance value by subtracting the second illuminance value from the first illuminance value.
[0135] In one embodiment, the third illuminance value may be substantially equal to the “illuminance value measured by the illuminance sensor by display light” of the aforementioned [Mathematical Formula 4].
[0136] In operation 607, in one embodiment, the processor (540) may determine a fourth illuminance value (e.g., a display light estimate value) based on color information of an image displayed through the display (512) and information related to the luminance of the display (512).
[0137] In one embodiment, color information of an image displayed through the display (512) may include COPR information of an image displayed through the display (e.g., being displayed through the display (512)). For example, color information of an image displayed through the display (512) may include RGB (red, green, and blue) values of a portion of an image displayed through a first area of the display (512) (e.g., a first area (412-1) of the display panel (412) of FIG. 4).
[0138] In one embodiment, information related to the brightness of the display (512) may include a currently set brightness level (also referred to as a “brightness code”) (or brightness value) of the display (512).
[0139] In one embodiment, the processor (540) can determine (e.g., calculate) the fourth roughness value using [Mathematical Equations 5] to [Mathematical Equations 7] below.
[0140]
[0141] The above mathematical expression 5 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0142] In one embodiment, in [Mathematical Formula 5], COPR R, COPR G, and COPR B may represent R values, G values, and B values, respectively, of an image displayed through the display (512). For example, in [Mathematical Formula 5], COPR R, COPR G, and COPR B may represent an average R value, an average G value, and an average B value, respectively, of a portion of an image displayed through the first area of the display (512). In [Mathematical Formula 5], “2.2” may represent a gamma value of the display (512), and a value different from 2.2 may be used in [Mathematical Formula 5] depending on the setting of the gamma value of the display (512). In [Mathematical Formula 5], a, b, and c may be coefficients for calculating COPR W.
[0143]
[0144] The above mathematical expression 6 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0145] In one embodiment, in [Mathematical Formula 6], the luminance code may be a value corresponding to the current luminance value of the display (512) (e.g., a luminance value currently set for the display (512)). For example, the luminance from the minimum luminance to the maximum luminance of the display (512) (e.g., the entire luminance range of the display (512)) may be classified into a plurality of luminance ranges, a specified number (e.g., 256), according to the magnitude of the luminance. The luminance codes may be set to correspond to each of the classified luminance ranges. For example, when the entire luminance range of the display (512) is classified into 256 luminance codes, the luminance codes may be set such that the minimum luminance of the display (512) belongs to luminance code "0" and the maximum luminance of the display (512) belongs to luminance code "255". In [Mathematical Formula 6], d, e, and f may be coefficients for calculating the brightness coefficient. In [Mathematical Formula 6], the brightness coefficient is expressed as a quadratic equation for the luminance code, but is not limited thereto.
[0146]
[0147] The above mathematical formula 7 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0148] In one embodiment, as shown in [Equation 7], the COPR illuminance value can be calculated by multiplying the COPR W calculated using [Equation 5] and the brightness coefficient calculated using [Equation 6]. For example, the processor (540) can obtain color information of an image displayed through the display (512) from a DDI (e.g., the DDI (511) of FIG. 5) and calculate COPR W by using [Equation 5] based on the color information of the obtained image. The processor (540) can calculate the brightness coefficient of [Equation 6] by checking the luminance code of the display (512) stored in a memory (e.g., the memory (530) of FIG. 5) and currently set. The processor (540) can calculate the COPR illuminance value as the fourth illuminance value based on the color information and brightness coefficient of the obtained image.
[0149] In one embodiment, the fourth illuminance value (e.g., COPR illuminance value) determined through [Mathematical Equation 5] to [Mathematical Equation 7] may correspond to the COPR illuminance value of [Mathematical Equation 4].
[0150] In operation 609, in one embodiment, the processor (540) may determine a correction value for correcting the illuminance value acquired through the illuminance sensor (520) based on the third illuminance value and the fourth illuminance value. For example, the processor (540) may calculate a correction value (correction coefficient) for correcting the illuminance value to be acquired through the illuminance sensor (520) based on the third illuminance value acquired through operation 605 and the fourth illuminance value acquired through operation 607. For example, the processor (540) may determine a correction value for correcting the illuminance value acquired through the illuminance sensor (520) by dividing the fourth illuminance value by the third illuminance value using [Mathematical Formula 4].
[0151] In one embodiment, although not shown in FIG. 6, the processor (540) may obtain an illuminance value through the illuminance sensor (520) after the correction value is determined. The processor (540) may obtain a final illuminance value (e.g., a corrected illuminance value) based on the illuminance value obtained through the illuminance sensor (520) and the correction value using [Mathematical Equation 1]. For example, the processor (540) may obtain an illuminance value (e.g., an illuminance value measured through the illuminance sensor (520)) through the illuminance sensor (520) after the correction value is determined. The processor (540) may calculate a COPR illuminance value using [Mathematical Equation 5], [Mathematical Equation 6], and [Mathematical Equation 7] based on color information of an image displayed through the display (512) and a luminance code currently set for the display (512). The processor (540) can calculate a corrected illuminance value by subtracting the calculated COPR illuminance value from the product of the illuminance value obtained through the illuminance sensor (520) and the correction value using [Mathematical Formula 1].
[0152] Although not shown in FIG. 6, in one embodiment, the processor (540) may detect that the display module (510) and / or the light sensor (520) have been replaced. For example, the processor (540) may compare the identifier (ID) of the display module and / or the light sensor that was stored in the memory (530) before the display module (510) and / or the light sensor (520) was replaced with the identifier of the display module (510) and / or the light sensor (520) currently mounted on the electronic device (501) while the electronic device (501) is performing a booting operation. The processor (540) may determine that the display module (510) and / or the light sensor (520) have been replaced if the identifier of the display module stored in the memory (530) is different from the identifier of the display module (510) currently mounted on the electronic device (501), or if the identifier of the light sensor stored in the memory (530) is different from the identifier of the light sensor (520) currently mounted on the electronic device (501). If it is determined that the display module (510) and / or the light sensor (520) have been replaced, the processor (540) may perform a calibration operation (e.g., operations 601 to 609) for the light sensor (520).
[0153] In FIG. 6, a method for calculating a correction value using a first illuminance value obtained based on illuminance data obtained through the illuminance sensor (520) for a first time period while the display (512) is turned on / off, and a second illuminance value obtained based on illuminance data obtained through the illuminance sensor (520) every second time period while the display (512) is turned on / off has been described, but is not limited thereto. Hereinafter, a method for calculating a correction value using the operations of FIG. 6 will be referred to as a “first method.”
[0154] FIG. 9 is a flowchart (900) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0155] FIG. 10 is a drawing for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0156] Before explaining FIGS. 9 and 10, the principle used to determine the correction value (correction coefficient) to be explained through FIGS. 9 and 10 will be explained.
[0157] In one embodiment, the difference between the final illuminance value calculated while a first image is displayed through a display (e.g., display (512) of FIG. 5) and the final illuminance value calculated while a second image (e.g., an image displayed after displaying the first image) is displayed through the display (512) can be calculated as in [Equation 8] below using [Equation 1] described above.
[0158] [Equation 8]
[0159] (Corrected second illuminance value) - (Corrected first illuminance value) = (Second illuminance value measured by illuminance sensor * Corrected value - Second COPR illuminance value) - (First illuminance value measured by illuminance sensor * Corrected value - First COPR illuminance value)
[0160] The above mathematical expression 8 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0161] In one embodiment, in [Mathematical Expression 8], the "corrected first illuminance value" and the "corrected second illuminance value" may represent a final illuminance value calculated while the first image is displayed and a final illuminance value calculated while the second image is displayed, respectively. In [Mathematical Expression 8], the "first illuminance value measured by the illuminance sensor" and the "second illuminance value measured by the illuminance sensor" may represent an illuminance value measured through the illuminance sensor while the first image is displayed and an illuminance value measured through the illuminance sensor while the second image is displayed, respectively. In [Mathematical Expression 8], the "first COPR illuminance value" and the "second illuminance value" may represent a COPR illuminance value calculated while the first image is displayed and a COPR illuminance value calculated while the second image is displayed, respectively.
[0162] In one embodiment, in [Mathematical Formula 8], the "second illuminance value measured by the illuminance sensor" may be expressed as a sum of an illuminance value measured by the illuminance sensor by external light while the second image is displayed and an illuminance value measured by the illuminance sensor by display light while the second image is displayed. In [Mathematical Formula 8], the "first illuminance value measured by the illuminance sensor" may be expressed as a sum of an illuminance value measured by the illuminance sensor by external light while the first image is displayed and an illuminance value measured by the illuminance sensor by display light while the first image is displayed.
[0163] In one embodiment, as described above, calibration of the light sensor may be performed in a darkroom condition (darkroom environment) where external light is blocked during the process step. Similar to the darkroom condition during the process step, the correction value may be determined by excluding the illuminance value affected by external light while the user is using the electronic device (e.g., while the electronic device is displaying a screen). For example, assuming that the electronic device performs the operation of calibrating the light sensor under darkroom conditions, in [Mathematical Formula 8], the "corrected first illuminance value" and the "corrected second illuminance value" may be replaced with 0. In this case, [Mathematical Formula 8] may be expressed as [Mathematical Formula 9] below.
[0164] [Equation 9]
[0165] Correction value = (2nd COPR illuminance value - 1st COPR illuminance value) / (2nd illuminance value measured by illuminance sensor - 1st illuminance value measured by illuminance sensor)
[0166] The above mathematical expression 9 is merely an example to aid understanding and is not limited thereto, and can be modified, applied, or expanded in various ways.
[0167] In one embodiment, the second illuminance value measured by the illuminance sensor and the first illuminance value measured by the illuminance sensor may include an illuminance value measured by the illuminance sensor due to external light and display light while the second image is displayed, and an illuminance value measured by the illuminance sensor due to external light and display light while the first image is displayed, respectively. In [Mathematical Formula 9], by subtracting the first illuminance value measured by the illuminance sensor from the second illuminance value measured by the illuminance sensor, the illuminance value measured by the illuminance sensor due to external light while the first image is displayed and the illuminance value measured by the illuminance sensor due to external light while the second image is displayed may be excluded. For example, in FIG. 10, the first image may be displayed through the display in the first time interval (0 to t1), and the second image may be displayed through the display in the second time interval (t1 to t2). In the first time interval, the first illuminance value (m2) measured through the illuminance sensor may include an illuminance value (m1) measured through the illuminance sensor by external light and an illuminance value (m2-m1) measured by the display light displaying the first image. In the second time interval, the second illuminance value (m3) measured through the illuminance sensor may include an illuminance value (m1) measured through the illuminance sensor by external light and an illuminance value (m3-m1) measured by the light of the display (512) displaying the second image. In [Mathematical Formula 9], by subtracting the first illuminance value (m2) measured by the illuminance sensor from the second illuminance value (m3) measured by the illuminance sensor, the illuminance value (m1) measured through the illuminance sensor by external light while the first image and the second image are displayed may be excluded.Through this, the correction value can be determined under conditions where the illuminance value affected by external light is excluded, similar to the darkroom conditions of the process step, while the user is using the electronic device (e.g., while the electronic device sequentially displays the first image and the second image as different images).
[0168] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0169] According to one embodiment, operations 901 to 905 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0170] Referring to FIGS. 9 and 10, in operation 901, in one embodiment, the processor (540) may determine a first illuminance value (hereinafter referred to as “first illuminance value”) (e.g., a display light estimation value) based on color information of the first image and information related to the brightness of the display (512) while the first image is displayed through the display (512), and may obtain a second illuminance value (hereinafter referred to as “second illuminance value”) through an illuminance sensor (e.g., illuminance sensor (520) of FIG. 5).
[0171] In one embodiment, the processor (540) may determine a first illuminance value (e.g., a display light estimation value) based on color information of the first image and information related to the luminance of the display (512) while the first image is displayed through the display (512). For example, the processor (540) may calculate a COPR illuminance value as the first illuminance value (e.g., a display light estimation value) using the aforementioned [Mathematical Equations 5] to [Mathematical Equations 7] while the first image is displayed. Since the operation of determining the first illuminance value is at least partially the same as or similar to operation 607 of FIG. 6, a detailed description thereof will be omitted.
[0172] In one embodiment, while a first image is displayed through the display (512), a second illuminance value may be acquired based on illuminance data acquired through the illuminance sensor (520) during a first period of time (e.g., a long itime) while the display (512) is turned on / off. The second illuminance value may be an illuminance value acquired by display light and external light received by the illuminance sensor (520) during the first period of time while the display (512) is turned on / off to display the first image. Since the operation of acquiring the second illuminance value through the illuminance sensor (520) is at least partially the same as or similar to the operation of acquiring long itime lux based on illuminance data acquired during the long itime, which is described through operation 601, reference numeral 701 of FIG. 7, and reference numeral 702 of FIG. 7, a detailed description thereof will be omitted.
[0173] In operation 903, in one embodiment, the processor (540) determines a third illuminance value (hereinafter referred to as “third illuminance value”) (e.g., a display light estimation value) based on color information of the second image and information related to the brightness of the display (512) while the second image is displayed through the display (512), and obtains a fourth illuminance value (hereinafter referred to as “fourth illuminance value”) through the illuminance sensor (520).
[0174] In one embodiment, the second image may be an image displayed through the display (512) after displaying the first image. In one embodiment, the processor (540) may perform operation 901 while the first image is displayed, and then detect that the image displayed through the display (512) has changed from the first image to the second image. Based on detecting that the image displayed through the display (512) has changed from the first image to the second image, the processor (540) may perform operation 903.
[0175] In one embodiment, the processor (540) may determine a third illuminance value (e.g., a display light estimation value) based on color information of the second image and information related to the luminance of the display (512) while the second image is displayed through the display (512). For example, the processor (540) may calculate a COPR illuminance value as the third illuminance value (e.g., a display light estimation value) using the aforementioned [Mathematical Equations 5] to [Mathematical Equations 7] while the second image is displayed. Since the operation of determining the third illuminance value is at least partially the same as or similar to operation 607 of FIG. 6, a detailed description thereof will be omitted.
[0176] In one embodiment, while the second image is displayed through the display (512), the fourth illuminance value can be acquired based on illuminance data acquired through the illuminance sensor (520) during a first period of time (e.g., long itime) while the display (512) is turned on / off. The fourth illuminance value can be an illuminance value acquired by display light and external light received by the illuminance sensor (520) during the first period of time while the display (512) is turned on / off to display the second image. Since the operation of acquiring the fourth illuminance value through the illuminance sensor (520) is at least partially the same as or similar to the operation of acquiring long itime lux based on illuminance data acquired during the long itime, which is described through operation 601, reference numeral 701 of FIG. 7, and reference numeral 702 of FIG. 7, a detailed description thereof will be omitted.
[0177] In operation 905, the processor (540) may determine a correction value for correcting the illuminance value obtained through the illuminance sensor (520) based on a first difference between the third illuminance value and the first illuminance value and a second difference between the fourth illuminance value and the second illuminance value. For example, the third illuminance value, the first illuminance value, the fourth illuminance value, and the second illuminance value may be, respectively, in [Mathematical Formula 9], a second COPR illuminance value, a first COPR illuminance value, a second illuminance value measured by the illuminance sensor (520), and a first illuminance value measured by the illuminance sensor (520). The processor (540) can calculate a correction value (correction coefficient) using [Mathematical Formula 9] based on the third roughness value, the first roughness value, the fourth roughness value, and the second roughness value.
[0178] Hereinafter, the method of calculating the correction value using the operations of Fig. 9 will be referred to as the “second method.”
[0179] In one embodiment, the processor (540) may further perform an operation of adjusting the determined correction value after the correction value is determined using the first method or the second method. For example, since the environment in which the user uses the electronic device (501) and the darkroom environment are different, there may be a difference between the correction value calculated by calibrating the light sensor while the user uses the electronic device (501) (e.g., the correction value determined by performing the operations of FIG. 6 or FIG. 9) and the correction value calculated by calibrating the light sensor in the darkroom environment. Accordingly, the processor (540) may perform an operation of adjusting the determined correction value to compensate for the difference after the correction value is determined. In one embodiment, the processor (540) may determine the final correction value by calculating (e.g., multiplying) a specified ratio on the correction value determined to compensate for the difference. The specified ratio (e.g., about 0.9) that is calculated (e.g., multiplied) by the above-determined correction value may be a value determined by experiment (or testing).
[0180] FIG. 11 is a drawing for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0181] Referring to FIG. 11, as described through operation 603 of FIG. 6, in one embodiment, a processor (e.g., processor (540) of FIG. 5) may obtain long itime lux based on illuminance data acquired through an illuminance sensor (e.g., illuminance sensor (520) of FIG. 5) during a first time (e.g., long itime) during which a display (e.g., display (512) of FIG. 5) is turned on / off, and obtain short itime min lux based on illuminance data acquired through the illuminance sensor (520) during a second time (e.g., short itime) shorter than the first time during which the display (512) is turned on / off, in order to determine a correction value using the first method.
[0182] In one embodiment, if the illuminance value due to external light measured through the illuminance sensor (520) is below the threshold illuminance value, the accuracy of the correction value determined using the first method may be reduced.
[0183] In one embodiment, the second time period used to calculate the short itime min lux is about 0.4 ms, which may be insufficient time for the light sensor (520) to measure light. For example, if the amount of light received by the light sensor (520) (e.g., the light receiving unit (521) of FIG. 5) during the second time period is less than a threshold amount, the light sensor (520) (e.g., the ADC (522) of FIG. 5) may output the amount of light received by the light sensor (520) as 0. Therefore, if the amount of light incident on the light sensor (520) during the second time period (e.g., the amount of light incident on the light sensor (520) and accumulated in the light sensor (520)) is less than the threshold amount, the light sensor (520) may output a value indicating that no light is received, even though there is an actual amount of light incident on the light sensor (520). On the other hand, the first time period (e.g., long time period) used to calculate long itime lux may be a time period within a time range of about 16 ms to 20 ms, which may be a time period sufficient for the illuminance sensor (520) to measure light (e.g., a time period during which relatively refined illuminance values can be measured compared to the second time period). Accordingly, when the illuminance value due to external light is lower than the threshold illuminance value, the illuminance value measured through the illuminance sensor (520) during the first time period may be accurately measured, whereas the illuminance value measured through the illuminance sensor (520) during the second time period may not be accurate.
[0184] In one embodiment, in reference numerals 1101 and 1102, the X-axis may represent a reference illuminance value (unit: lux) (e.g., an illuminance value measured using advanced equipment capable of accurately measuring illuminance values), and the Y-axis may represent a measured illuminance value (unit: lux) (e.g., an illuminance value measured during a first time period or a second time period).
[0185] In one embodiment, in reference numeral 1101, lines (1111) and (1112) may represent illuminance values measured for a first time period relative to a reference illuminance value and illuminance values measured for a second time period relative to the reference illuminance value, respectively. In one embodiment, as in lines (1111) and (1112) of reference numeral 1101, in a range where the reference illuminance value (e.g., the illuminance value measured using advanced equipment capable of accurately measuring illuminance values) exceeds about 100 lux, both the illuminance value measured for the first time period and the illuminance value measured for the second time period may be linear with respect to the reference illuminance value.
[0186] In one embodiment, in reference numeral 1102, in a range where the reference illuminance value is about 100 lux or less, lines (1111-1) and (1112-1) may represent illuminance values measured for a first time period relative to the reference illuminance value and illuminance values measured for a second time period relative to the reference illuminance value, respectively. In one embodiment, as in lines (1111-1) and (1112-1) of reference numeral 1102, in a range where the reference illuminance value is about 100 lux or less, the illuminance value measured for the first time period may be linear with respect to the reference illuminance value, whereas the illuminance value measured for the second time period may not be linear with respect to the reference illuminance value. Accordingly, when the illuminance value due to external light measured through the illuminance sensor (520) is below a threshold illuminance value (e.g., about 100 lux as described above), the accuracy of the correction value determined using the first method may be reduced. In the examples described above, the threshold illuminance value is described as being approximately 100 lux, but is not limited thereto. For example, the threshold illuminance value may be a value different from approximately 100 lux, depending on the display (512) and / or the illuminance sensor (520).
[0187] FIG. 12 is a flowchart (1200) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0188] In one embodiment, as described through Fig. 11, when the illuminance value (e.g., short itime min lux) by external light measured through an illuminance sensor (e.g., illuminance sensor (520) of Fig. 5) is lower than a threshold illuminance value (e.g., about 100 lux), the accuracy of the correction value determined using the first method may be reduced. Fig. 12 may be an example of an operation of calculating a correction value using the first method or an operation of calculating a correction value using the second method, depending on the illuminance value by light measured through the illuminance sensor (520).
[0189] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0190] According to one embodiment, operations 1201 to 1207 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0191] Referring to FIG. 12, in operation 1201, in one embodiment, the processor (540) may obtain an illuminance value (e.g., short itime min lux) based on illuminance data obtained through the illuminance sensor (520) every second time (e.g., short itime) that is shorter than a first time (e.g., long itime) while the display (e.g., display (512) of FIG. 5) is turned on / off.
[0192] In one embodiment, the operation of the processor (540) obtaining the illuminance value (short itime min lux) in operation 1201 may be at least partially identical or similar to the operation of the processor (540) obtaining the second illuminance value in operation 603 of FIG. 6. Accordingly, a detailed description of operation 1201 will be omitted.
[0193] In operation 1203, in one embodiment, the processor (540) may determine whether the illuminance value obtained in operation 1201 exceeds a threshold illuminance value.
[0194] In one embodiment, the threshold illuminance value may be the threshold illuminance value described through FIG. 11 (e.g., approximately 100 lux). In one embodiment, the processor (540) may set the threshold illuminance value differently depending on the display (512) and / or the illuminance sensor (520).
[0195] In one embodiment, the processor (540) may set a minimum reference illuminance value as the threshold illuminance value within a range of reference illuminance values in which the illuminance value measured during the second time period exhibits linearity with respect to a reference illuminance value (e.g., the reference illuminance value described in FIG. 11). For example, the processor (540) may set a minimum reference illuminance value (e.g., about 100 lux) as the threshold illuminance value within a range of reference illuminance values (e.g., a range from about 100 lux to about 1000 lux) in which the illuminance value measured during the second time period exhibits linearity with respect to the reference illuminance value, as indicated by reference numerals 1101 and 1102 of FIG. 11.
[0196] In operation 1205, in one embodiment, the processor (540) may determine a correction value using the first method based on determining that the illuminance value (e.g., short itime min lux) in operation 1203 exceeds a threshold illuminance value. For example, the processor (540) may determine a correction value using the first method described with reference to FIG. 6 if the illuminance value (e.g., short itime min lux) obtained through operation 1201 exceeds the threshold illuminance value (e.g., about 100 lux).
[0197] In operation 1207, in one embodiment, the processor (540) may determine a correction value using a second method based on determining that the illuminance value (e.g., short itime min lux) in operation 1203 is less than or equal to a threshold illuminance value. For example, the processor (540) may determine a correction value using the second method described with reference to FIG. 9 if the illuminance value obtained through operation 1201 is less than or equal to a threshold illuminance value (e.g., about 100 lux).
[0198] In the examples described above, the second method is used to determine the correction value when the illuminance value (e.g., short itime min lux) obtained through operation 1201 is less than or equal to the threshold illuminance value (e.g., approximately 100 lux), but the present invention is not limited thereto. For example, when the processor (540) is set to determine the correction value using the first method, the processor (540) may not perform the operation of determining the correction value using the first method based on the fact that the illuminance value (e.g., short itime min lux) obtained through operation 1201 is less than or equal to the threshold illuminance value (e.g., approximately 100 lux). For example, when the processor (540) is set to determine the correction value using the first method, the processor (540) may perform the operation of determining the correction value using the first method only when it is confirmed that the illuminance value (e.g., short itime min lux) obtained through operation 1201 exceeds the threshold illuminance value (e.g., approximately 100 lux).
[0199] FIG. 13 is a drawing for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0200] Referring to FIG. 13, in one embodiment, when calculating a correction value using the first method, if an illuminance value (hereinafter referred to as a "COPR illuminance value" or a "display light estimation value") obtained based on color information of an image and information related to the brightness of a display is lower than a threshold illuminance value (hereinafter referred to as a "threshold illuminance value") (e.g., about 100 lux), an accurate correction value may not be calculated. In one embodiment, in [Mathematical Formula 4], as the COPR illuminance value is smaller, the illuminance value measured by the illuminance sensor by the display light may also be smaller. As the illuminance value measured by the illuminance sensor by the display light is smaller, the minimum unit of the calculated correction value may be higher. For example, assuming that an accurately measured correction value (e.g., a correction value calculated by measuring light using high-tech equipment) is approximately 1.384, if the illuminance value measured by the illuminance sensor (520) by the display light is approximately 100 lux, the correction value may be determined to be approximately 1.38 in 1 / 100 units, whereas if the illuminance value measured by the illuminance sensor (520) by the display light is approximately 1000 lux, the correction value may be determined to be approximately 1.384 in 1 / 1000 units. Accordingly, if the COPR illuminance value is below the threshold illuminance value, an accurate correction value may not be calculated.
[0201] In one embodiment, when calculating a correction value using the second method, if a difference between an illuminance value (hereinafter, “second COPR illuminance value”) obtained based on color information of the second image and information related to brightness of the display and an illuminance value (hereinafter, “first COPR illuminance value”) obtained based on color information of the first image and information related to brightness of the display is less than or equal to a threshold illuminance value (e.g., about 100 lux), an accurate correction value may not be calculated.
[0202] In one embodiment, in [Mathematical Formula 9], the smaller the difference between the second COPR illuminance value and the first COPR illuminance value, the smaller the difference between the second illuminance value measured by the illuminance sensor and the first illuminance value measured by the illuminance sensor may also be. The smaller the difference between the second illuminance value measured by the illuminance sensor and the first illuminance value measured by the illuminance sensor, the higher the minimum unit of the calculated correction value may be. Accordingly, when the difference between the second COPR illuminance value and the first COPR illuminance value is less than or equal to a threshold illuminance value, an accurate correction value may not be calculated.
[0203] In one embodiment, reference numeral 1301 may be a graph for a combination of displays and light sensors (hereinafter referred to as a "first combination" or "typical set") in which an illuminance value corresponding to an average illuminance value (or a median illuminance value) is measured in combinations of various displays and light sensors under darkroom conditions. Reference numeral 1301 may represent correction values (1311, 1312) that are calculated by changing (e.g., increasing) a luminance code of a display (e.g., changing a COPR illuminance value) while each of 14 images having different brightness and color is displayed through the display in the first combination. In reference numeral 1301, the X-axis (unit: lux) may represent a COPR illuminance value (or a range of COPR illuminance values), and the Y-axis may represent a correction value.
[0204] In one embodiment, reference numeral 1302 may be a graph for a combination of displays and light sensors (hereinafter referred to as a "second combination" or "minimum set") in which an illuminance value corresponding to a minimum illuminance value is measured when measuring illuminance values in combinations of various displays and light sensors under darkroom conditions. Reference numeral 1302 may represent correction values (1321, 1322) that are calculated by changing (e.g., increasing) a luminance code of a display (e.g., changing a COPR illuminance value) while each of 14 images having different brightness and color is displayed through the display in the second combination. In reference numeral 1302, the X-axis (unit: lux) may represent a COPR illuminance value (or a range of COPR illuminance values), and the Y-axis may represent a correction value.
[0205] In one embodiment, reference numeral 1303 may be a graph for a combination of displays and light sensors (hereinafter referred to as a "third combination" or "maximum set") in which an illuminance value corresponding to a maximum illuminance value is measured in combinations of various displays and light sensors under darkroom conditions. Reference numeral 1303 may represent correction values (1331, 1332) that are calculated by changing (e.g., increasing) a luminance code of a display (e.g., changing a COPR illuminance value) while each of 14 images having different brightness and color is displayed through the display in the second combination. In reference numeral 1303, the X-axis (unit: lux) may represent a COPR illuminance value (or a range of COPR illuminance values), and the Y-axis may represent a correction value.
[0206] In one embodiment, reference numerals 1301, 1302, and 1303 may be represented as shown in [Table 1] below.
[0207] 0-5050-100100-150150-200200-250250 Above standard correction value 1st combination 0.901.001.001.021.021.020.99 2nd combination 1.171.641.611.621.611.631.53 3rd combination 0.800.850.840.850.840.840.85
[0208] In one embodiment, in [Table 1], “0-50” may represent a range in which the COPR illuminance value is greater than or equal to 0 lux and less than or equal to 50 lux, “50-100” may represent a range in which the COPR illuminance value is greater than or equal to 50 lux and less than or equal to 100 lux, “100-150” may represent a range in which the COPR illuminance value is greater than or equal to 100 lux and less than or equal to 150 lux, “150-200” may represent a range in which the COPR illuminance value is greater than or equal to 150 lux and less than or equal to 200 lux, “200-250” may represent a range in which the COPR illuminance value is greater than or equal to 200 lux and less than or equal to 250 lux, and “250 or more” may represent a range in which the COPR illuminance value is greater than or equal to 250 lux.
[0209] In one embodiment, in [Table 1], “0.90”, “1.00”, “1.00”, “1.02”, “1.02”, and “1.02” corresponding to the first combination may represent average correction values measured in the ranges of COPR roughness values of “0-50”, “50-100”, “100-150”, “150-200”, “200-250”, and “250 or more”, respectively, in the first combination.
[0210] In one embodiment, in [Table 1], the reference correction value 0.99 corresponding to the first combination may represent a correction value calculated while a white image having maximum brightness is displayed with the brightness of the display (512) set to maximum brightness for the first combination under darkroom conditions.
[0211] In one embodiment, in [Table 1], “1.17”, “1.64”, “1.61”, “1.62”, “1.61”, and “1.63” corresponding to the second combination may represent average correction values measured in the ranges of COPR illuminance values of “0-50”, “50-100”, “100-150”, “150-200”, “200-250”, and “250 or more”, respectively, in the second combination.
[0212] In one embodiment, in [Table 1], the reference correction value 1.53 corresponding to the second combination may represent a correction value calculated while a white image having maximum brightness is displayed while the brightness of the display is set to maximum brightness under darkroom conditions for the second combination.
[0213] In one embodiment, in [Table 1], “0.80”, “0.85”, “0.84”, “0.85”, “0.84”, and “0.84” corresponding to the third combination may represent average correction values measured in the ranges of COPR roughness values of “0-50”, “50-100”, “100-150”, “150-200”, “200-250”, and “250 or more”, respectively, in the second combination.
[0214] In one embodiment, in [Table 1], the reference correction value 0.85 corresponding to the third combination may represent a correction value calculated while a white image having maximum brightness is displayed under darkroom conditions, with the brightness of the display set to maximum brightness, for the third combination.
[0215] In one embodiment, the ratios of the values obtained by subtracting the reference correction value corresponding to the first combination from each of the correction values corresponding to the first combination for the reference correction value corresponding to the first combination (e.g., (correction value - reference correction value) / (reference correction value)*100), the ratios of the values obtained by subtracting the reference correction value corresponding to the second combination from each of the correction values corresponding to the second combination for the reference correction value corresponding to the second combination for the reference correction value corresponding to the second combination for the reference correction value corresponding to the second combination for the reference correction value corresponding to the third combination for the reference correction value corresponding to the third combination for the reference correction value corresponding to the third combination may be as shown in [Table 2] below.
[0216] 0-5050-100100-150150-200200-250250 or higher 1st combination -9%about 1%about 1%about 2%about 3%about 3%2nd combination -24%about 7%about 6%about 6%about 5%about 7%3rd combination -5%about 0%about -1%about 0%about 0%about -1%
[0217] In one embodiment, the standard deviations of the correction values measured in the first combination, the second combination, and the third combination, respectively, in “0-50”, “50-100”, “100-150”, “150-200”, “200-250”, and “250 or more” may be as shown in [Table 3] below.
[0218] 0-5050-100100-150150-200200-250250 Ideal combination 1 0.2650.0600.0420.0320.0170.010 Ideal combination 2 1.860.1090.0680.0490.0380.034 Ideal combination 3 0.2480.0400.0270.0220.0120.007
[0219] In one embodiment, a threshold illuminance value (e.g., a threshold illuminance value compared to a difference between a COPR illuminance value used in an operation of calculating a correction value using the first method and a second COPR illuminance value used in an operation of calculating a correction value using the second method and the first COPR illuminance value) may be set to a minimum COPR illuminance value in a range of COPR illuminance values such that ratios of values obtained by subtracting a reference correction value corresponding to each combination from each of the correction values of each combination (e.g., each of the first combination, the second combination, and the third combination) to a reference correction value corresponding to each combination are less than or equal to a specified ratio (e.g., about 10%), and standard deviations of the correction values of each combination are less than or equal to a specified standard deviation. For example, referring to reference numerals 1301, 1302, and 1303, and [Table 1], [Table 2], and [Table 3], a minimum COPR illuminance value of about 100 lux in a range of COPR illuminance values that is equal to or greater than about 100 lux, in which the ratios of values obtained by subtracting the reference correction value corresponding to each combination from the correction values of each combination are equal to or less than a specified ratio (e.g., about 10%), and the standard deviations of the correction values of each combination are equal to or less than a specified standard deviation, can be set as a threshold illuminance value.
[0220] FIG. 14 is a flowchart (1400) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0221] In one embodiment, as described through FIG. 13, when the threshold illuminance value is less than or equal to the COPR illuminance value used in the operation of calculating the correction value using the first method, or when the difference between the second COPR illuminance value and the first COPR illuminance value used in the operation of calculating the correction value using the second method is less than or equal to the threshold illuminance value, an accurate correction value may not be calculated. FIG. 14 may be a diagram for explaining operations performed by the processor (540) when the threshold illuminance value is less than or equal to the COPR illuminance value used in the operation of calculating the correction value using the first method, or when the difference between the second COPR illuminance value and the first COPR illuminance value used in the operation of calculating the correction value using the second method is less than or equal to the threshold illuminance value.
[0222] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0223] According to one embodiment, operations 1401 to 1405 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0224] In operation 1401, in one embodiment, the processor (540) may determine an illuminance value (display light estimation value) (e.g., a COPR illuminance value) while an image is displayed through a display (e.g., a display (512) of FIG. 5 ). For example, when the processor (540) is set to calculate a correction value using a first method, the processor (540) may determine a COPR illuminance value of an image displayed through the display (512). For example, when the processor (540) is set to calculate a correction value using a second method, the processor (540) may determine a difference between a second COPR illuminance value of a second image and a first COPR illuminance value of a first image while the first image and the second image are sequentially displayed through the display (512).
[0225] In operation 1403, in one embodiment, the processor (540) may determine whether the illuminance value (display illuminance estimate value) determined in operation 1401 exceeds a threshold illuminance value. For example, when the processor (540) is set to calculate the correction value using the first method, the processor (540) may determine whether the COPR illuminance value of the image displayed through the display (512) exceeds the threshold illuminance value. For example, when the processor (540) is set to calculate the correction value using the second method, the processor (540) may determine whether a difference between a second COPR illuminance value of the second image and a first COPR illuminance value of the first image exceeds the threshold illuminance value.
[0226] In operation 1403, in one embodiment, the processor (540) may perform operation 1401 without performing an operation of determining a correction value based on determining that the illuminance value (display illuminance estimate value) determined in operation 1401 is less than or equal to a threshold illuminance value.
[0227] In operation 1403, in one embodiment, the processor (540) may perform an operation of determining a correction value using the first or second method set based on determining that the illuminance value (display illuminance estimate value) determined in operation 1401 exceeds a threshold illuminance value.
[0228] FIG. 15 is a diagram showing an illuminance value obtained by an illuminance sensor (520) when the light source is a flicker light source, according to one embodiment.
[0229] Referring to FIG. 15, in one embodiment, when a light sensor (e.g., the light sensor (520) of FIG. 5) receives sunlight as external light, the light sensor (520) can obtain an illuminance value having a substantially constant value (e.g., a constant value) due to the sunlight as external light. On the other hand, when the light received by the light sensor (520) is light emitted from a flicker light source that periodically blinks (e.g., periodically turns on / off), the illuminance value obtained through the light sensor (520) may not be constant.
[0230] In one embodiment, in reference numeral 1501, the X-axis may represent time, and the Y-axis may represent an illuminance value (unit: lux). Reference numeral 1501 may represent an illuminance value (1511) measured by light emitted from a display (e.g., display (512) of FIG. 5) driven in a PWM manner according to time (e.g., X-axis). For example, when the display (512) is in an on state, the measured illuminance value may be b1, and when the display (512) is in an off state, the measured illuminance value may be substantially 0.
[0231] In one embodiment, in reference numeral 1502, the X-axis may represent time, and the Y-axis may represent an illuminance value (unit: lux). Reference numeral 1502 may represent an illuminance value (1521) measured by light emitted from a flicker light source over time. For example, when the flicker light source is on, the measured illuminance value may be b2, and when the flicker light source is off, the measured illuminance value may be substantially 0.
[0232] In one embodiment, the cycle at which the display (512) turns on / off and the cycle at which the flicker light source turns on / off may be different, as illustrated by reference numerals 1501 and 1502. In one embodiment, reference numeral 1503 may represent an illuminance value (1531) measured by light emitted from the display (512) and light emitted from the flicker light source.
[0233] In one embodiment, in reference numeral 1503, the X-axis may represent time, and the Y-axis may represent an illuminance value (unit: lux). As illustrated in reference numeral 1503, since the cycle in which the display (512) turns on / off and the cycle in which the flicker light source turns on / off are different, the illuminance value measured in certain time intervals (e.g., time intervals (c1, c2, c3)) may be substantially 0 lux. In this case, in a condition (or environment) in which the light source is a flicker light source, the short itime min lux used when calculating the correction value using the first method may be determined to be substantially 0 lux, and thus, an accurate correction value may not be determined.
[0234] FIG. 16 is a diagram showing an illuminance value obtained by an illuminance sensor (520) when the light source is a light source having a form in which the intensity of light changes, according to one embodiment.
[0235] Referring to FIG. 16, in one embodiment, as described above, when a light sensor (e.g., the light sensor (520) of FIG. 5) receives sunlight as external light, the light sensor (520) can obtain an illuminance value having a substantially constant value (e.g., a constant value) due to the sunlight as external light. On the other hand, when the light received by the light sensor (520) is light emitted from a light source (hereinafter referred to as a “first light source”) that emits light having a form in which the intensity of the light changes (e.g., a sinusoidal form), the illuminance value obtained through the light sensor (520) may not be constant.
[0236] In one embodiment, in reference numeral 1601, the X-axis may represent time, and the Y-axis may represent an illuminance value (unit: lux). Reference numeral 1601 may represent an illuminance value (1611) measured by light emitted from a display (512) driven in a PWM manner over time. For example, when the display (e.g., the display (512) of FIG. 5) is in an on state, the measured illuminance value may be d1, and when the display (512) is in an off state, the measured illuminance value may be substantially 0.
[0237] In one embodiment, in reference numeral 1602, the X-axis may represent time, and the Y-axis may represent an illuminance value (unit: lux). Reference numeral 1602 may represent an illuminance value (1621) measured by light emitted from a first light source (e.g., a light source in the form of a sinusoidal wave) over time. For example, the maximum illuminance value measured by the light emitted from the first light source may be d2, and the minimum illuminance value may be substantially 0.
[0238] In one embodiment, reference numeral 1603 may represent an illuminance value (1631) measured by light emitted from the display (512) and light emitted from the first light source.
[0239] In one embodiment, in reference numeral 1603, the X-axis may represent time, and the Y-axis may represent an illuminance value (unit: lux). As illustrated in reference numeral 1603, since the cycle of turning the display (512) on / off and the cycle of the first light source are different, the illuminance value measured in a certain time interval (e.g., time interval (e1)) may be smaller than the short itime min lux used when calculating the correction value using the first method when sunlight is external light.
[0240] In one embodiment, [Table 4] below may represent a correction value determined using the first method when the external light is sunlight and the light source is the first light source.
[0241] If the external light is sunlight, if the light source is the primary light source, long itime lux300 lux300 luxshort itime min lux100 lux0 luxDifference between long itime lux and short itime min lux200 lux300 luxCOPR illuminance value150150Correction value0.750.5
[0242] In one embodiment, in [Table 4], the COPR illuminance value determined by the light of the display (512) is about 150 lux, and when the external light is sunlight and the light source is the first light source, the long itime lux may be the same about 300 lux. In this case, the short itime min lux may be about 0 lux when the light source is the first light source, which may be smaller than about 100 lux measured when the external light is sunlight. Accordingly, using [Mathematical Formula 4], the correction value of about 0.5 determined using the first method when the light source is the first light source may be smaller than the correction value of about 0.75 determined using the first method when the external light is sunlight.
[0243] In one embodiment, [Table 4] exemplifies a case where the light source is the first light source, but can be similarly applied even when the light source is a flicker light source, as in FIG. 15. For example, when the light source is a flicker light source, the correction value determined using the first method may be smaller than the correction value determined using the first method when the external light is sunlight.
[0244] FIG. 17 is a drawing for explaining an illuminance value obtained by a light sensor (520) when the light sensor (520) is covered by an object, according to one embodiment.
[0245] Referring to FIG. 17, in one embodiment, reference numeral 1701 may represent light incident on the light sensor (415) (e.g., light sensor (520) of FIG. 5) when the light sensor (415) is not obscured by an object (e.g., a user's hand (1721)). For example, when the light sensor (415) is not obscured by an object, light emitted through the display (412) (e.g., display (512) of FIG. 5) may include light emitted to the outside (1711) and light incident on the light sensor (415) (1712).
[0246] In one embodiment, reference numeral 1702 may represent light incident on the light sensor (415) when the light sensor (415) is obscured by an object (e.g., a user's hand (1721)). For example, when the light sensor (415) is obscured by an object, the light sensor (415) may receive, in addition to the light emitted from the display (412) and directly incident on the light sensor (415), some light (1724) (e.g., light diffusely reflected by the hand (1721)) among the light (e.g., light (1722)) emitted through the display (412). Accordingly, the illuminance value (long itime lux) measured by the display light when the light sensor (415) is obscured by an object may be greater than the illuminance value measured by the display light when the light sensor (415) is not obscured by the object. In this case, in both cases of determining the correction value using the first method and the second method, the correction value determined when the light sensor (415) is covered by an object may be smaller than the correction value determined when the light sensor (415) is not covered by an object. For example, [Table 5] below may represent the correction value determined using the second method (e.g., using [Mathematical Formula 9]) when the light sensor (415) is not covered by an object and when the light sensor (415) is covered by an object.
[0247] When the light sensor is not covered by an objectWhen the light sensor is covered by an objectFirst illuminance value measured by the light sensor200360Second illuminance value measured by the light sensor400720Difference between the second illuminance value and the first illuminance value200360Second COPR illuminance value150150First COPR illuminance value300300Difference between the second COPR illuminance value and the first COPR illuminance value150150Correction value0.750.42
[0248] In one embodiment, as shown in [Table 5], the correction value of about 0.42 determined when the light sensor (415) is covered by an object may be smaller than the correction value of about 0.75 determined when the light sensor (415) is not covered by an object.
[0249] As described through FIGS. 15 and 16, in one embodiment, when the light source is a flicker light source or when the light source is a first light source, the correction value determined using the first method may be smaller than the correction value determined using the first method when the external light is sunlight. In addition, when the light sensor (415) is covered by an object, the correction value determined using the first or second method may be smaller than the correction value determined using the first or second method when the light sensor (415) is not covered by an object. Hereinafter, a method for determining a more accurate correction value when the light source is a flicker light source, when the light source is a first light source, or when the light sensor (415) is covered by an object will be described through FIGS. 18 and 19.
[0250] FIG. 18 is a flowchart (1800) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0251] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0252] According to one embodiment, operations 1801 to 1805 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0253] Referring to FIG. 18, in operation 1801, in one embodiment, the processor (540) may obtain a plurality of first correction values by performing an operation of determining a correction value using the first method or the second method a specified number of times.
[0254] In one embodiment, the processor (540) can obtain a plurality of first correction values by repeatedly performing an operation of determining a correction value using the first method a specified number of times. For example, the processor (540) can obtain ten first correction values by repeatedly performing operations 601 to 609 of FIG. 6 a specified number of times, ten times.
[0255] In one embodiment, the processor (540) may perform the operation of determining the correction value using the first method once each time the display (e.g., the display (512) of FIG. 5) is switched from an off state (e.g., a deactivated state) to an on state (e.g., an activated state) by a user input or a specified setting. For example, the processor (540) may perform the operation of determining the correction value using the first method once when the display (512) is turned on by inputting an input for turning on (e.g., powering on) the display. The processor (540) may obtain ten first correction values by performing the operation of determining the correction value using the first method ten times in cases where the display (512) is turned on ten times. However, the present invention is not limited thereto. For example, the processor (540) may obtain a plurality of first correction values by repeatedly performing the operation of determining the correction value using the first method once each time at specified time periods.
[0256] In one embodiment, the processor (540) can obtain a plurality of first correction values by repeatedly performing the operation of determining the correction value using the second method a specified number of times. For example, the processor (540) can obtain ten first correction values by repeatedly performing operations 901 to 905 of FIG. 9 a specified number of times, ten times.
[0257] In one embodiment, the processor (540) may perform the operation of determining the correction value using the second method once each time the image displayed through the display (512) changes. For example, the processor (540) may perform the operation of determining the correction value using the second method once when the image displayed through the display (512) changes from a first image to a second image. In this way, the processor (540) may obtain ten first correction values by performing the operation of determining the correction value using the second method ten times in cases where the image displayed through the display (512) changes ten times.
[0258] In one embodiment, the processor (540) may determine a plurality of first correction values by performing an operation of determining a correction value using the first method or the second method a most recently specified number of times based on a current point in time. For example, if the specified number of times is 10, the processor (540) may determine a correction value obtained by the operation of determining a correction value that was most recently performed and nine correction values obtained by performing operations of determining correction values nine times prior to the operation of determining a correction value that was most recently performed as the plurality of first correction values.
[0259] In operation 1803, in one embodiment, the processor (540) may determine a second correction value (e.g., a final correction value) (hereinafter referred to as a “second correction value”) based on a plurality of first correction values. For example, the processor (540) may determine a maximum value (e.g., the second correction value) among the plurality of first correction values as the final correction value.
[0260] As described through FIGS. 15 to 17, when the light source is a flicker light source or the light source is the first light source, the correction value determined using the first method may be smaller than the correction value determined using the first method when the external light is sunlight. In addition, when the light sensor (520) is covered by an object, the correction value determined using the first or second method may be smaller than the correction value determined using the first or second method when the light sensor (520) is not covered by an object.
[0261] In one embodiment, the operation of determining a correction value performed while the user is using the electronic device (501) may be performed in an environment where the light source is a flickering light source (or the light source is a first light source) or in an environment where the external light is sunlight. By performing the operation of determining the correction value a plurality of times (e.g., a specified number of times), the operation of determining the correction value in an environment where the external light is sunlight may be performed at least once among the plurality of times.
[0262] In one embodiment, the operation of determining a correction value performed while the user is using the electronic device (501) may be performed in a state where the light sensor (520) is covered by an object or in a state where the light sensor (520) is not covered by an object. By performing the operation of determining the correction value a plurality of times (e.g., a specified number of times), the operation of determining the correction value in a state where the light sensor (520) is not covered by an object may be performed at least once among the plurality of times.
[0263] In one embodiment, the maximum value (the second correction value) among the plurality of first correction values may be a correction value calculated by performing an operation of determining a correction value in an environment where the external light is sunlight. For example, the plurality of first correction values may be obtained by performing the operations of determining the first correction value a specified number of times in an environment where the light source is a flicker light source (or the first light source) or in an environment where the external light is sunlight. The first correction value calculated by performing the operation of determining the first correction value in an environment where the external light is sunlight may be a value greater than the first correction value calculated by performing the operation of determining the first correction value in an environment where the light source is a flicker light source (or the first light source). The maximum value (the second correction value) among the plurality of first correction values may be a correction value calculated by performing the operation of determining a correction value in an environment where the external light is sunlight. For example, the maximum value (the second correction value) among the plurality of first correction values may be a correction value calculated by performing the operation of determining a correction value in an environment where the external light is sunlight. For example, the larger the value among the plurality of first correction values, the higher the probability that it corresponds to a correction value calculated by performing an operation for determining a correction value in an environment where the external light is sunlight. Accordingly, the processor (540) may determine the largest value among the plurality of first correction values as the second correction value.
[0264] In one embodiment, the maximum value among the plurality of first correction values may be a correction value calculated by performing an operation of determining a correction value in a state in which the light sensor (520) is not obstructed by an object. For example, the plurality of first correction values may be obtained by performing a specified number of operations of determining the first correction value in a state in which the light sensor (520) is obstructed by an object or in a state in which the light sensor (520) is not obstructed by an object. The first correction value calculated by performing an operation of determining the first correction value in a state in which the light sensor (520) is not obstructed by an object may be a value greater than the first correction value calculated by performing an operation of determining the first correction value in a state in which the light sensor (520) is obstructed by an object. The maximum value among the plurality of first correction values may be a correction value calculated by performing an operation of determining a correction value in a state in which the light sensor (520) is not obstructed by an object. For example, the maximum value (second correction value) among the plurality of first correction values may be a correction value calculated by performing an operation of determining a correction value in a state in which the light sensor (520) is not obstructed by an object. For example, the larger the value among the plurality of first correction values, the higher the probability that the correction value is calculated by performing an operation of determining a correction value in a state in which the light sensor (520) is not obstructed by an object. Accordingly, the processor (540) may determine the maximum value among the plurality of first correction values as the second correction value.
[0265] In one embodiment, the processor (540) may repeatedly perform the operation of FIG. 18 (e.g., the operation of determining a correction value using the first method or the second method, thereby determining a second correction value) (hereinafter referred to as “the operation for determining a second correction value”). For example, the processor (540) may perform the operation of determining the second correction value based on the first correction values obtained by performing the operation of determining the correction value using the first method or the second method a most recently specified number of times based on the current time, whenever a specified condition is satisfied (e.g., when a display (e.g., the display (512) of FIG. 5) is switched from an off state (e.g., an inactive state) to an on state (e.g., an activated state), and / or when an image displayed through the display (512) is changed).
[0266] In one embodiment, the processor (540) may determine (e.g., update) the currently determined second correction value as the final correction value if, while repeatedly performing the operation for determining the second correction value, the currently determined second correction value is greater than the second correction value that was previously determined as the final correction value. In one embodiment, the processor (540) may maintain the previously determined second correction value as the final correction value if, while repeatedly performing the operation for determining the second correction value, the currently determined second correction value is less than or equal to the second correction value that was previously determined as the final correction value.
[0267] In one embodiment, since the environment in which the user uses the electronic device (501) is different from the darkroom environment, there may be a difference between the correction value calculated by calibrating the light sensor while the user uses the electronic device (501) (e.g., the second correction value determined by performing operation 1803) and the correction value calculated by calibrating the light sensor in the darkroom environment. Accordingly, after the second correction value is determined, the processor (540) may perform an operation of adjusting the second correction value to compensate for the difference.
[0268] In one embodiment, the processor (540) may determine the final compensation value by calculating (e.g., multiplying) a specified ratio to the second compensation value to compensate for the difference. The specified ratio calculated (e.g., multiplied) by the second compensation value may be a value determined through experimentation (or testing).
[0269] In one embodiment, [Table 6] below may represent correction values calculated using the method described through FIG. 18, according to the ranges of COPR illuminance values in the first combination, the second combination, and the third combination.
[0270] 100-150150-200200-250250 or higher 1st combination MAX1.101.101.061.04MAX*0.90.990.990.950.94 2nd combination MAX1.771.771.691.67MAX*0.91.601.591.521.50 3rd combination MAX0.930.930.880.85MAX*0.90.840.850.790.77
[0271] In one embodiment, in [Table 6], “100-150” may represent a range in which the COPR illuminance value is greater than or equal to about 100 lux and less than or equal to about 150 lux, “150-200” may represent a range in which the COPR illuminance value is greater than or equal to about 150 lux and less than or equal to about 200 lux, “200-250” may represent a range in which the COPR illuminance value is greater than or equal to about 200 lux and less than or equal to about 250 lux, and “250 or more” may represent a range in which the COPR illuminance value is greater than or equal to about 250 lux.
[0272] In one embodiment, in [Table 6], the MAXs corresponding to the first combination, "1.10", "1.10", "1.06", and "1.04", may represent correction values (e.g., a plurality of second correction values) calculated using the method described through FIG. 18, respectively, in each of the ranges of a plurality of COPR illuminance values.
[0273] In one embodiment, in [Table 6], 0.9 may represent a specified ratio. In [Table 6], MAX*0.9s (0.99, 0.99, 0.95, and 0.94) corresponding to the first combination may be values obtained by multiplying 0.9 by the MAXs corresponding to the first combination, respectively.
[0274] In one embodiment, in [Table 6], the MAXs corresponding to the second combination, "1.77", "1.77", "1.69", and "1.67", may represent correction values (e.g., a plurality of second correction values) calculated using the method described through FIG. 18, respectively, in each of the ranges of a plurality of COPR illuminance values.
[0275] In one embodiment, in [Table 6], the MAX*0.9s (1.60, 1.59, 1.52, and 1.50) corresponding to the second combination may be values obtained by multiplying the MAXs corresponding to the second combination by 0.9, respectively.
[0276] In one embodiment, in [Table 6], the MAXs corresponding to the third combination, "0.93", "0.93", "0.88", and "0.85", may represent correction values (e.g., a plurality of second correction values) calculated using the method described through FIG. 18, respectively, in each of the ranges of a plurality of COPR illuminance values.
[0277] In one embodiment, in [Table 6], the MAX*0.9s (0.84, 0.84, 0.79, and 0.77) corresponding to the third combination may be values obtained by multiplying 0.9 by MAX corresponding to the third combination, respectively.
[0278] In one embodiment, in [Table 6], the MAX*0.9 corresponding to the first combination, the second combination, and the third combination may be values whose difference from the correction values calculated from the first combination, the second combination, and the third combination in a darkroom environment is less than or equal to a specified difference.
[0279] FIG. 19 is a flowchart (1900) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0280] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0281] According to one embodiment, operations 1901 to 1907 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0282] Referring to FIG. 19, in operation 1901, in one embodiment, the processor (540) may determine whether the light source is a designated light source. For example, the processor (540) may determine whether the light source is a flicker light source or a first light source (e.g., a light source that emits light having a form in which the intensity of the light varies), or whether the external light is sunlight.
[0283] In one embodiment, the processor (540) can determine whether a light source is a designated light source by obtaining a short itime min lux. For example, the processor (540) can obtain the short itime min lux through a light sensor (e.g., the light center (520) of FIG. 5) by the operation described through operation 603 of FIG. 6. The processor (540) can compare the obtained short itime min lux with a designated illuminance value (e.g., the short itime min lux obtained through the light sensor (520) when the external light is sunlight and stored in a memory (e.g., the memory (530) of FIG. 5)). The processor (540) can determine that the light source is a designated light source if the obtained short itime min lux is less than the designated illuminance value. The processor (540) can determine that the external light is sunlight if the obtained short itime min lux is greater than or equal to the designated illuminance value. For example, the processor (540) may acquire a plurality of illuminance values based on illuminance data acquired through the illuminance sensor (520) every second time period shorter than the first time period while the display (e.g., the display (512) of FIG. 5) is turned on / off. The processor (540) may determine whether the light source is a designated light source based on a waveform (or frequency) indicated by the acquired plurality of illuminance values.
[0284] If it is determined in operation 1903 that the light source is a designated light source, in operation 1905, in one embodiment, the processor (540) may determine a correction value using a first method-based max filter. For example, the processor (540) may perform an operation of determining a correction value using the first method a designated number of times, as described with reference to FIG. 18, thereby obtaining a plurality of first correction values, and an operation of determining a second correction value based on the plurality of first correction values, thereby determining a final correction value.
[0285] However, it is not limited thereto. For example, if the light source is determined to be a designated light source, the processor (540) may determine a correction value using the second method. For example, if the light source is determined to be a designated light source, the processor (540) may determine a correction value using a max filter based on the second method. As described with reference to FIG. 18, the processor (540) may perform an operation of determining a correction value using the second method a designated number of times, thereby obtaining a plurality of first correction values, and an operation of determining a second correction value based on the plurality of first correction values, thereby determining a final correction value.
[0286] If the light source is determined to be not a designated light source in operation 1903, in one embodiment, in operation 1907, the processor (540) may determine a correction value using the first method. For example, if the external light is sunlight, the processor (540) may determine a correction value using the first method.
[0287] FIG. 20 is a flowchart (2000) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0288] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0289] According to one embodiment, operations 2001 to 2007 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0290] Referring to FIG. 20, in operation 2001, in one embodiment, the processor (540) may determine whether the light sensor (520) is obscured by an object. For example, the processor (540) may determine that the light sensor (520) is obscured by an object when, using a touch sensor, a user's finger is touching a first area of the display (512) or hovering over a first area of the display (e.g., the display (512) of FIG. 5) so as to obscure the light sensor (e.g., the light sensor (520) of FIG. 5). For example, the processor (540) may determine that the light sensor (520) is obscured by an object when, using a sensor (e.g., a proximity sensor, a time of flight (TOF) module), a user's finger is in proximity to the first area of the display (512) so as to obscure the light sensor (520). However, the method for determining whether the light sensor (520) is covered by an object is not limited to the examples described above.
[0291] If it is determined in operation 2003 that the light sensor (520) is obscured by an object, in operation 2005, in one embodiment, the processor (540) may determine a correction value using a first method or a second method based max filter.
[0292] In one embodiment, the processor (540) may determine a correction value using a first method-based max filter when the light sensor (520) is determined to be covered by an object. For example, the processor (540) may determine a final correction value by performing an operation of determining a correction value using the first method a specified number of times, thereby obtaining a plurality of first correction values, and an operation of determining a second correction value based on the plurality of first correction values, as described with reference to FIG. 18.
[0293] In one embodiment, the processor (540) may determine a correction value using a second method-based max filter when the light sensor (520) is determined to be covered by an object. For example, the processor (540) may determine a final correction value by performing an operation of determining a correction value using the second method a specified number of times, as described with reference to FIG. 18, thereby obtaining a plurality of first correction values, and performing an operation of determining a second correction value based on the plurality of first correction values.
[0294] If it is determined in operation 2003 that the light sensor (520) is not obscured by an object, in operation 2007, in one embodiment, the processor (540) may determine a correction value using the first method or the second method.
[0295] FIG. 21 is a flowchart (2100) for explaining a method of calibrating a light sensor (520) according to one embodiment.
[0296] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.
[0297] According to one embodiment, operations 2101 to 2113 may be understood to be performed in a processor (e.g., processor (540) of FIG. 5) of an electronic device (e.g., electronic device (501) of FIG. 5).
[0298] Referring to FIG. 21, in operation 2101, in one embodiment, the processor (540) may detect that a display module (e.g., the display module (510) of FIG. 5) and / or a light sensor (e.g., the light sensor (520) of FIG. 5) is replaced while performing a booting operation. For example, the processor (540) may compare an identifier (ID) of the display module (510) and / or the light sensor (520) stored in a memory (e.g., the memory (530) of FIG. 5) before the display module (510) and / or the light sensor (520) was replaced with an identifier of the display module (510) and / or the light sensor (520) currently mounted on the electronic device (501) while the electronic device (501) is performing a booting operation. The processor (540) may determine that the display module (510) and / or the light sensor (520) have been replaced if the identifier of the display module (510) stored in the memory (530) and the identifier of the display module (510) currently mounted on the electronic device (501) are different, or if the identifier of the light sensor (520) stored in the memory (530) and the identifier of the light sensor (520) currently mounted on the electronic device (501) are different.
[0299] In operation 2103, in one embodiment, the processor (540) may determine a first illuminance value (e.g., a fourth illuminance value determined via operation 607 of FIG. 6) (a display light estimate value) based on color information of an image displayed via the display (512) and information related to a luminance of the display (512) based on determining that the display module (510) and / or the illuminance sensor (520) are replaced. For example, the processor (540) may determine a COPR illuminance value of an image displayed via the display (512) based on determining that the display module (510) and / or the illuminance sensor (520) are replaced.
[0300] In operation 2105, in one embodiment, the processor (540) may determine whether the first illuminance value (display illuminance estimate value) determined in operation 2103 exceeds a first threshold illuminance value (e.g., the threshold illuminance value described through operation 1403 of FIG. 14) (e.g., about 100 lux).
[0301] In one embodiment, if the first illuminance value (display illuminance estimate value) in operation 2105 is less than or equal to the first threshold illuminance value, the processor (540) may perform operation 2103.
[0302] If the first illuminance value (display light estimate value) in operation 2105 exceeds the first threshold illuminance value, in operation 2107, in one embodiment, the processor (540) may obtain a second illuminance value (short itime min lux) (e.g., the second illuminance value in operation 603 of FIG. 6) based on illuminance data obtained through the illuminance sensor (520) every second time shorter than the first time while the display (512) is turned on / off.
[0303] In operation 2109, in one embodiment, the processor (540) may determine whether the second illuminance value (short itime min lux) exceeds a second threshold illuminance value. For example, the processor (540) may determine whether the second illuminance value (short itime min lux) exceeds a threshold illuminance value (e.g., about 100 lux) described through operation 1203 of FIGS. 11 and 12 as the second threshold illuminance value.
[0304] If it is determined in operation 2109 that the second illuminance value (short itime min lux) exceeds the second threshold illuminance value, in operation 2111, in one embodiment, the processor (540) may determine a correction value using the first method.
[0305] If it is determined in operation 2109 that the second illuminance value (short itime min lux) is less than or equal to the second threshold illuminance value, in operation 2113, in one embodiment, the processor (540) may determine a correction value using the second method.
[0306] An electronic device (501) according to one embodiment may include a display (512), an illumination sensor (520) disposed under at least a portion of the display (512), at least one processor (540), and a memory (530) storing instructions. The instructions, when executed by the at least one processor (540), may cause the electronic device (501) to obtain a first illumination value based on illumination data acquired through the illumination sensor (520) for a first period of time while the display (512) is turned on / off. The instructions, when executed by the at least one processor (540), may cause the electronic device (501) to obtain a second illumination value based on illumination data acquired through the illumination sensor (520) for a second period of time shorter than the first period of time while the display (512) is turned on / off. The above instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine a third illuminance value associated with light emitted from the display (512) based on the first illuminance value and the second illuminance value. The instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine a fourth illuminance value based on color information of an image displayed through the display (512) and information related to a luminance of the display (512). The instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine a correction value for correcting an illuminance value acquired through the illuminance sensor (520) based on the third illuminance value and the fourth illuminance value.
[0307] In one embodiment, the instructions, when executed by the at least one processor (540), may cause the electronic device (501) to obtain a plurality of illuminance values based on illuminance data obtained through the illuminance sensor (520) every second time, and to determine a minimum value among the plurality of illuminance values as the second illuminance value.
[0308] In one embodiment, the instructions, when executed by the at least one processor (540), may cause the electronic device (501) to perform an operation of determining the correction value based on the second illuminance value exceeding the first threshold illuminance value.
[0309] In one embodiment, the instructions, when executed by the at least one processor (540), cause the electronic device (501) to: determine a third illuminance value based on color information of a first image and information related to a luminance of the display (512) while a first image is displayed through the display (512), obtain a fourth illuminance value through the illuminance sensor (520), determine a fifth illuminance value based on color information of a second image and information related to a luminance of the display (512) while a second image different from the first image is displayed through the display (512), obtain a sixth illuminance value through the illuminance sensor (520), and based on a first difference between the fifth illuminance value and the third illuminance value and a second difference between the sixth illuminance value and the fourth illuminance value, It can cause a correction value to be determined for correcting the illuminance value obtained through the above illuminance sensor (520).
[0310] In one embodiment, the instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine the third illuminance value associated with light emitted from the display (512) while the display (512) displays an image by subtracting the second illuminance value from the first illuminance value.
[0311] In one embodiment, the instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine a COPR illuminance value obtained based on color on pixel ratio (COPR) information of the image and a luminance code of the display (512), as the fourth illuminance value.
[0312] In one embodiment, the instructions, when executed by the at least one processor (540), may cause the electronic device (501) to perform an operation of determining the correction value based on the fourth illuminance value exceeding the second threshold illuminance value.
[0313] In one embodiment, the instructions, when executed by the at least one processor (540), may cause the electronic device (501) to perform the operations of obtaining the first illuminance value, obtaining the second illuminance value, obtaining the third illuminance value, determining the fourth illuminance value, and determining the correction value a specified number of times, thereby obtaining a plurality of first correction values, and determining a maximum value among the plurality of first correction values as a final correction value.
[0314] In one embodiment, the instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine whether the display (512) and / or the light sensor (520) has been replaced, and based on determining that the display (512) and / or the light sensor (520) has been replaced, perform the operations of obtaining the first illuminance value, obtaining the second illuminance value, obtaining the third illuminance value, determining the fourth illuminance value, and determining the correction value.
[0315] In one embodiment, a method of calibrating an illuminance sensor (520) in an electronic device (501) may include obtaining a first illuminance value based on illuminance data acquired through the illuminance sensor (520) for a first period of time while a display (512) of the electronic device (501) is turned on / off. The method may include obtaining a second illuminance value based on illuminance data acquired through the illuminance sensor (520) every second period of time shorter than the first period of time while the display (512) is turned on / off. The method may include determining a third illuminance value related to light emitted from the display (512) based on the first illuminance value and the second illuminance value. The method may include determining a fourth illuminance value based on color information of an image displayed through the display (512) and information related to a luminance of the display (512). The above method may include an operation of determining a correction value for correcting the illuminance value obtained through the illuminance sensor (520) based on the third illuminance value and the fourth illuminance value.
[0316] In one embodiment, the operation of obtaining the second illuminance value may include an operation of obtaining a plurality of illuminance values based on illuminance data obtained through the illuminance sensor (520) every second time, and an operation of determining a minimum value among the plurality of illuminance values as the second illuminance value.
[0317] In one embodiment, the operation of determining the correction value may be performed based on the second illuminance value exceeding the first threshold illuminance value.
[0318] In one embodiment, the method comprises: determining a third illuminance value based on color information of the first image and information related to brightness of the display (512) while a first image is displayed through the display (512), and obtaining a fourth illuminance value through the illuminance sensor (520); determining a fifth illuminance value based on color information of the second image and information related to brightness of the display (512), while a second image different from the first image is displayed through the display (512), and obtaining a sixth illuminance value through the illuminance sensor (520); and determining a correction value for correcting the illuminance value obtained through the illuminance sensor (520) based on a first difference between the fifth illuminance value and the third illuminance value and a second difference between the sixth illuminance value and the fourth illuminance value. It can include more.
[0319] In one embodiment, the operation of determining the third illuminance value may include determining the third illuminance value associated with light emitted from the display (512) while the display (512) displays an image by subtracting the second illuminance value from the first illuminance value.
[0320] In one embodiment, the operation of determining the fourth illuminance value may include an operation of determining a COPR illuminance value obtained based on COPR information of the image and a luminance code of the display (512) as the fourth illuminance value.
[0321] In one embodiment, the operation of determining the correction value may be performed based on the fourth illuminance value exceeding the second threshold illuminance value.
[0322] In one embodiment, the method may further include an operation of obtaining a plurality of first correction values by performing the operation of obtaining the first illuminance value, the operation of obtaining the second illuminance value, the operation of obtaining the third illuminance value, the operation of determining the fourth illuminance value, and the operation of determining the correction value a specified number of times, and an operation of determining a maximum value among the plurality of first correction values as a final correction value.
[0323] In one embodiment, the method may further include the operations of determining whether the display (512) and / or the light sensor (520) has been replaced, and based on determining that the display (512) and / or the light sensor (520) has been replaced, performing the operations of obtaining the first illuminance value, the operation of obtaining the second illuminance value, the operation of obtaining the third illuminance value, the operation of determining the fourth illuminance value, and the operation of determining the correction value.
[0324] An electronic device (501) according to one embodiment may include a display (512), an illumination sensor (520) disposed under at least a portion of the display (512), at least one processor (540), and a memory (530) storing instructions. The instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine a first illumination value based on color information of a first image and information related to a luminance of the display (512) while a first image is displayed through the display (512), and to obtain a second illumination value through the illumination sensor (520). The above instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine a third illuminance value based on color information of the second image and information related to the brightness of the display (512) while a second image different from the first image is displayed through the display (512), and to obtain a fourth illuminance value through the illuminance sensor (520). The above instructions, when executed by the at least one processor (540), may cause the electronic device (501) to determine a correction value for correcting the illuminance value obtained through the illuminance sensor (520) based on a first difference between the third illuminance value and the first illuminance value, and a second difference between the fourth illuminance value and the second illuminance value.
[0325] In one embodiment, the at least one processor (540) may be configured to determine the correction value by dividing the first difference by the second difference.
[0326] An electronic device according to an embodiment disclosed in this document may take various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. The electronic device according to an embodiment of this document is not limited to the aforementioned devices.
[0327] It should be understood that the embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0328] The term "module" used in one embodiment of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0329] An embodiment of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, "non-transitory" simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0330] According to one embodiment, the method according to one embodiment disclosed in the present document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0331] According to one embodiment, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to one embodiment, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to one embodiment, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0332] Additionally, the structure of the data used in the embodiments of the present document described above can be recorded on a computer-readable recording medium through various means. The computer-readable recording medium includes storage media such as magnetic storage media (e.g., ROM, floppy disk, hard disk) and optical reading media (e.g., CD-ROM, DVD).
Claims
1. In an electronic device (501), display(512); A light sensor (520) positioned under at least a portion of the display (512); at least one processor (540); and Contains a memory (530) that stores commands, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: While the above display (512) is turned on / off, a first illuminance value is obtained based on illuminance data obtained through the illuminance sensor (520) for a first time period, While the above display (512) is turned on / off, a second illuminance value is acquired based on the illuminance data acquired through the illuminance sensor (520) every second time shorter than the first time, Based on the first illuminance value and the second illuminance value, a third illuminance value related to light emitted from the display (512) is determined, Based on the color information of the image displayed through the display (512) and the information related to the brightness of the display (512), the fourth contrast value is determined, and An electronic device (501) that causes a correction value for correcting the illuminance value obtained through the illuminance sensor (520) to be determined based on the third illuminance value and the fourth illuminance value.
2. In paragraph 1, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: Based on the illumination data acquired through the illumination sensor (520) every second hour, multiple illumination values are acquired, and An electronic device (501) causing the minimum value among the plurality of illuminance values to be determined as the second illuminance value.
3. In paragraph 1 or 2, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: An electronic device (501) causing an operation to be performed to determine the correction value based on the second threshold illuminance value exceeding the first threshold illuminance value.
4. In any one of paragraphs 1 to 3, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: Based on the above second threshold value being less than or equal to the first threshold value: While the first image is displayed through the display (512), a third illuminance value is determined based on color information of the first image and information related to the brightness of the display (512), and a fourth illuminance value is obtained through the illuminance sensor (520). While a second image different from the first image is displayed through the display (512), a fifth illuminance value is determined based on color information of the second image and information related to brightness of the display (512), and a sixth illuminance value is obtained through the illuminance sensor (520), and An electronic device (501) that causes a correction value for correcting an illuminance value obtained through the illuminance sensor (520) to be determined based on a first difference between the fifth illuminance value and the third illuminance value, and a second difference between the sixth illuminance value and the fourth illuminance value.
5. In any one of paragraphs 1 to 4, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: An electronic device (501) causing the display (512) to determine the third illuminance value associated with light emitted from the display (512) while displaying an image by subtracting the second illuminance value from the first illuminance value.
6. In any one of paragraphs 1 to 5, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: An electronic device (501) that causes a COPR illuminance value obtained based on the COPR (color on pixel ratio) information of the image and the luminance code of the display (512) to be determined as the fourth illuminance value.
7. In any one of paragraphs 1 to 6, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: An electronic device (501) causing an operation to be performed to determine the correction value based on the fourth threshold value exceeding the second threshold value.
8. In any one of paragraphs 1 to 7, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: By performing the operation of obtaining the first roughness value, the operation of obtaining the second roughness value, the operation of obtaining the third roughness value, the operation of determining the fourth roughness value, and the operation of determining the correction value a specified number of times, a plurality of first correction values are obtained, and An electronic device (501) causing the maximum value among the plurality of first correction values to be determined as the final correction value.
9. In any one of paragraphs 1 to 8, The above instructions, when executed by the at least one processor (540), cause the electronic device (501) to: Determining whether the above display (512) and / or the light sensor (520) has been replaced, and An electronic device (501) that causes the operation of obtaining the first illuminance value, the operation of obtaining the second illuminance value, the operation of obtaining the third illuminance value, the operation of determining the fourth illuminance value, and the operation of determining the correction value to be performed based on determining that the display (512) and / or the illuminance sensor (520) is replaced.
10. A method for calibrating a light sensor (520) in an electronic device (501), An operation of obtaining a first illuminance value based on illuminance data obtained through the illuminance sensor (520) during a first time period while the display (512) of the electronic device (501) is turned on / off; An operation of acquiring a second illuminance value based on illuminance data acquired through the illuminance sensor (520) every second time shorter than the first time while the display (512) is turned on / off; An operation of determining a third illuminance value related to light emitted from the display (512) based on the first illuminance value and the second illuminance value; An operation of determining a fourth brightness value based on color information of an image displayed through the display (512) and information related to the brightness of the display (512); and A method including an operation of determining a correction value for correcting the illuminance value obtained through the illuminance sensor (520) based on the third illuminance value and the fourth illuminance value.
11. In Article 10, The operation of obtaining the above second clause value is as follows: An operation of acquiring multiple illuminance values based on illuminance data acquired through the illuminance sensor (520) every second hour; and A method comprising an operation of determining a minimum value among the plurality of illuminance values as the second illuminance value.
12. In clause 10 or 11, A method wherein the operation of determining the above correction value is performed based on the second roughness value exceeding the first threshold roughness value.
13. In any one of paragraphs 10 to 12, Based on the above second threshold value being less than or equal to the first threshold value: An operation of determining a third illuminance value based on color information of the first image and information related to brightness of the display (512) while the first image is displayed through the display (512), and obtaining a fourth illuminance value through the illuminance sensor (520); An operation of determining a fifth illuminance value based on color information of the second image and information related to brightness of the display (512) while a second image different from the first image is displayed through the display (512), and obtaining a sixth illuminance value through the illuminance sensor (520); and A method further comprising an operation of determining a correction value for correcting the illuminance value obtained through the illuminance sensor (520) based on a first difference between the fifth illuminance value and the third illuminance value and a second difference between the sixth illuminance value and the fourth illuminance value.
14. In any one of paragraphs 10 to 13, The operation of determining the value of the third clause above is as follows: A method comprising the action of determining a third illuminance value associated with light emitted from the display (512) while the display (512) displays an image by subtracting the second illuminance value from the first illuminance value.
15. In a non-transitory computer-readable medium having recorded thereon computer-executable instructions, said computer-executable instructions, when executed by one processor (540) of an electronic device (501), cause said electronic device (501) to: While the display (512) of the electronic device (501) is turned on / off, a first illuminance value is obtained based on illuminance data obtained through the illuminance sensor (520) of the electronic device (501) for a first time period, While the above display (512) is turned on / off, a second illuminance value is acquired based on the illuminance data acquired through the illuminance sensor (520) every second time shorter than the first time, Based on the first illuminance value and the second illuminance value, a third illuminance value related to light emitted from the display (512) is determined, Based on the color information of the image displayed through the display (512) and the information related to the brightness of the display (512), the fourth contrast value is determined, and A non-transitory computer-readable medium for determining a correction value for correcting the illuminance value obtained through the illuminance sensor (520) based on the third illuminance value and the fourth illuminance value.
Citation Information
Patent Citations
Display device
CN211149988U
Method for adjusting screen brightness of display device, and display device and television receiver
JP2010113301A
Display apparatus and liquid crystal display apparatus
KR1020150030555A
Method for estimating illuminance and an electronic device thereof
KR1020180024299A
Electronic device including speaker
KR1020240127828A
