Electronic device and method for controlling brightness of display in electronic device
By arranging rear surface and front surface sensors on the electronic device and selecting the data source according to the status of the camera module, the brightness adjustment problem caused by the position change of the electronic device is solved, and appropriate brightness adjustment and function are achieved when the ambient light source is not detected. Consumption is reduced.
Patent Information
- Application Number
- CN202280092661.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-27
- Filing Date
- 2022-12-15
- Publication Date
- 2024-09-24
AI Technical Summary
When the electronic device changes its position, the field of view of the illumination sensor cannot measure the illumination of the ambient light source, causing the display brightness to be unable to be adjusted appropriately, especially when the folding angle or position changes.
A first sensor is arranged on the rear surface of the electronic device and a second sensor is arranged on the front surface of the electronic device, and the processor adjusts the display brightness based on the data of the two when the camera module is in an inactive state; when the camera module is in an active state, the brightness of the display is adjusted only based on the first sensor. The second sensor data adjusts the brightness.
Even when no ambient light source is detected in the illumination sensor's field of view, the display brightness can be appropriately adjusted to reduce power consumption.
Smart Images

Figure CN118696367A_ABST
Abstract
Description
Technical Field
[0001] Various embodiments relate to an electronic device and a method for adjusting brightness of a display in the electronic device. Background Art
[0002] Advanced information communication technology and semiconductor technology have accelerated the spread and use of various electronic devices. In particular, recent electronic devices can perform communication while being carried, and may include one or more sensors for obtaining various types of environmental information. Sensors in electronic devices can obtain various information. Depending on the information to be obtained, there may be multiple types of sensors.
[0003] Among the sensors of the electronic device, a camera sensor, an ultraviolet (UV) sensor, an iris sensor, a spectral sensor, an infrared (IR) (proximity / gesture) sensor, an RGB sensor, an illumination sensor (or an ambient light sensor or an ALS sensor), and / or a flicker sensor use light. Summary of the invention
[0004] Technical issues
[0005] The electronic device may adjust the brightness of a display by measuring the illuminance of an ambient light source by an illuminance sensor disposed on a front surface thereof.
[0006] However, when the electronic device changes its position, for example, the folding angle of a foldable electronic device changes or a bar-type electronic device lies down or tilts, the illuminance of an ambient light source in a field of view (FOV) of an illuminance sensor disposed on a front surface of the electronic device may not be measured.
[0007] In particular, as the angle between an illuminance sensor disposed on the front surface of an electronic device and an ambient light source increases due to a change in the folding angle or position of the electronic device, the illuminance of the light source in the field of view (FOV) of the illuminance sensor may not be measured, so that the brightness of the display may change to dark regardless of the ambient brightness.
[0008] Various embodiments are directed to a method for adjusting the brightness of a display in an electronic device.
[0009] Technical Solutions
[0010] According to various embodiments, an electronic device may include a display, a camera module, a sensor module, and a processor, the sensor module including a first sensor disposed on a rear surface of the electronic device and operating based on light and a second sensor disposed on a front surface of the electronic device and operating based on light, and the processor including a first processor and a second processor. The processor may be configured to adjust the brightness of the display based on data received from the first sensor and data received from the second sensor when the camera module is in an inactive state, and to adjust the brightness of the display based on data received from the second sensor and not based on data received from the first sensor when the camera module is in an active state.
[0011] According to various embodiments, a method for adjusting the brightness of a display in an electronic device may include: when a camera module of the electronic device is in an inactive state, adjusting the brightness of the display of the electronic device based on data received from a first sensor disposed on a rear surface of the electronic device and operating based on light and data received from a second sensor disposed on a front surface of the electronic device and operating based on light. When the camera module is in an active state, adjusting the brightness of the display by a processor of the electronic device based on the data received from the second sensor and not based on the data received from the first sensor.
[0012] Beneficial Effects
[0013] According to various embodiments, even when an ambient light source is not detected in a field of view (FOV) of an illumination sensor disposed on a front surface of an electronic device due to a change in a folding angle or position of the electronic device, the brightness of a display may be appropriately adjusted with less power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a diagram showing an electronic device in a network environment according to various embodiments;
[0015] Figure 2 is a block diagram showing a display device according to various embodiments;
[0016] Figure 3 is a block diagram illustrating an electronic device according to various embodiments;
[0017] Figure 4 is a block diagram illustrating a sensor included in an electronic device according to various embodiments;
[0018] Figure 5a to Figure 5c is a view illustrating an operation of adjusting brightness of a display according to a change in a position of the electronic device in an electronic device according to various embodiments;
[0019] Figure 6is a flow chart illustrating the operation of a first sensor of an electronic device according to various embodiments;
[0020] Figure 7a and 7b is a flowchart illustrating the operation of a first sensor of an electronic device according to various embodiments; and
[0021] Figure 8 is a flow chart illustrating an operation of adjusting the brightness of a display of an electronic device according to various embodiments. DETAILED DESCRIPTION
[0022] Figure 1 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. Figure 1 , the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with at least one of the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound 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 user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the above components (e.g., the connection terminal 178) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the above-described components (eg, sensor module 176, camera module 180, or antenna module 197) may be implemented as a single integrated component (eg, display module 160).
[0023] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may store a command or data received from another component (e.g., sensor module 176 or communication module 190) in the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is independent of or combined with the main processor 121 in operation. For example, when the electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be dedicated to a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121, or as part of the main processor 121.
[0024] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 (rather than the main processor 121) may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190), or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., a camera module 180 or a communication module 190) that is functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model may be generated through machine learning. For example, such learning may be performed by the electronic device 101 where the artificial intelligence is executed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, for example. The artificial intelligence model may include multiple artificial neural network layers. The artificial neural network may be 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), or a deep Q network or a combination of two or more thereof, but is not limited thereto. Additionally or optionally, the artificial intelligence model may include a software structure in addition to a hardware structure.
[0025] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.
[0026] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .
[0027] The input module 150 may receive commands or data to be used by other components (e.g., the processor 120) of the electronic device 101 from outside (e.g., a user) of the electronic device 101. The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus).
[0028] The sound output module 155 can output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. Depending on the embodiment, the receiver can be implemented as a separate part from the speaker, or as part of the speaker.
[0029] The display module 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display module 160 may include a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of a force caused by a touch.
[0030] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input module 150, or output sound via the sound output module 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.
[0031] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) outside the electronic device 101, and then generate an electrical signal or a data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.
[0032] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly with an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
[0033] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0034] The haptic module 179 may convert the electric signal into mechanical stimulation (eg, vibration or motion) or electric stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
[0035] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0036] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0037] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0038] The communication module 190 may support establishing 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 perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. According to an 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 (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multiple components (e.g., multiple chips) separated from each other. The wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0039] The wireless communication module 192 can support 5G networks after 4G networks and next-generation communication technologies (e.g., new radio (NR) access technology). NR access technology can support enhanced mobile broadband (eMBB), massive machine type communication (mMTC), or ultra-reliable low-latency communication (URLLC). The wireless communication module 192 can support high-frequency bands (e.g., millimeter wave bands) to achieve, for example, high data transmission rates. The wireless communication module 192 can support various technologies for ensuring performance on high-frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 can support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., a second network 199). According to an embodiment, the wireless communication module 192 may support a peak data rate for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane delay for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less for a round trip).
[0040] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiation element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an 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 scheme 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 (e.g., the wireless communication module 192). A signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiation element may be additionally formed as a part of the antenna module 197.
[0041] According to various embodiments, the antenna module 197 may form a millimeter wave antenna module. According to an embodiment, the millimeter wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and a plurality of antennas (e.g., array antennas), wherein the RFIC is disposed on a first surface (e.g., bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a designated high frequency band (e.g., millimeter wave band), and the plurality of antennas are disposed on a second surface (e.g., top surface or side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving signals of the designated high frequency band.
[0042] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicatively transfer signals (e.g., commands or data) therebetween.
[0043] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 or the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed in the electronic device 101 may be executed in one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically execute a function or service or should execute a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service instead of executing the function or service, or the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service in addition to executing the function or service. The one or more external electronic devices receiving the request may execute at least part of the requested function or service, or execute another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing the result. To this end, cloud computing technology, distributed computing technology, mobile edge computing (MEC) technology, or client-server computing technology, for example, may be used. The electronic device 101 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. The server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology or IoT-related technologies.
[0044] Figure 2 is a block diagram 200 illustrating a display module 160 according to various embodiments.
[0045] refer to Figure 2, the display module 160 may include a display 210 and a display driver integrated circuit (DDI) 230 for controlling the display 110. 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 image information containing image data or an image control signal corresponding to a command to control the image data from another component of the electronic device 101 via the interface module 231. For example, according to an embodiment, the image information may be received from a processor 120 (e.g., a main processor 121 (e.g., an application processor)) or an auxiliary processor 123 (e.g., a graphics processing unit) that operates independently of the functions of the main processor 121. The DDI 230 may communicate with a touch circuit 250 or a sensor module 276 (e.g., a graphics processing unit) via the interface module 231, for example. Figure 1 The DDI 230 may also store at least a portion of the received image information in the memory 233, for example, frame by frame. The image processing module 235 may perform pre-processing or post-processing (e.g., adjustment of resolution, brightness, or size) with respect to at least a portion of the image data. According to an embodiment, the pre-processing or post-processing may be performed, for example, at least in part based on one or more characteristics of the image data or one or more characteristics of the display 210. The mapping module 237 may generate a voltage value or a current value corresponding to the image data pre-processed or post-processed by the image processing module 235. According to an embodiment, the generation of the voltage value or the current value may be performed, for example, at least in part based on one or more properties of the pixels of the display 210 (e.g., an array of pixels, such as RGB stripes or a pentile structure, or the size of each sub-pixel). For example, at least some pixels of the display 210 may be driven at least in part based on the voltage value or the current value, so that visual information (e.g., text, an image, or an icon) corresponding to the image data may be displayed via the display 210.
[0046] According to an 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 touch sensor 151. The touch sensor IC 253 may control the touch sensor 251 to sense a touch input or a hovering input relative to a specific position on the display 210. To achieve this, for example, the touch sensor IC 253 may detect (e.g., measure) a change in a signal (e.g., voltage, light amount, resistance, or one or more amounts of electric charge) corresponding to a specific position on the display 210. The touch sensor IC 253 may provide a processor (e.g., Figure 1The processor 120 of the display module 160 provides input information (e.g., position, area, pressure, or time) indicating the detected touch input or hovering input. According to an embodiment, at least a portion of the touch circuit 250 (e.g., the touch sensor IC 253) may be formed as a part of the display 210 or the DDI 230, or as a part of another component (e.g., the auxiliary processor 123) provided outside the display module 160.
[0047] According to an 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 illumination sensor) of the sensor module 276 or a control circuit for at least one sensor. In this case, the at least one sensor or the control circuit for at least one sensor may be embedded in a portion of a component (e.g., the display 210, the DDI 230, or the touch circuit 250) of the display module 160. For example, when the sensor module 276 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) corresponding to a touch input received via a portion of the display 210. As another example, when the sensor module 276 embedded in the display module 160 includes a pressure sensor, the pressure sensor may obtain pressure information corresponding to a touch input received via a portion or the entire area of the display 210. According to an embodiment, the touch sensor 251 or the sensor module 276 may be disposed between pixels in a pixel layer of the display 210, or disposed above or below the pixel layer.
[0048] Figure 3 is a block diagram 300 illustrating an electronic device according to an example embodiment.
[0049] Reference Figure 3 According to various embodiments, the electronic device 301 (eg, Figure 1 The electronic device 101 may include a first processor 320 , a second processor 350 , a sensor module 390 , a camera module 380 , and a display 360 .
[0050] According to various embodiments, the electronic device 301 may include a processor (eg, Figure 1 The processor may include instructions for the main processor (e.g., Figure 1 The first processor 320 (eg, a main processor 121) (eg, a central processing unit or an application processor) and the auxiliary processor (eg, a CPU) that operates independently of the first processor 320 or together with the first processor 320 are indicated. Figure 1 A second processor 350 of the auxiliary processor 123) (e.g., a sensor hub).
[0051] According to various embodiments, the electronic device 301 may separately include an instruction main processor (eg, Figure 1 The first processor 320 of the main processor 121 (eg, a central processing unit or an application processor) and instructs the auxiliary processor (eg, Figure 1 A second processor 350 (eg, a sensor hub) is provided that is an auxiliary processor 123 of the system.
[0052] According to various embodiments, if the camera module 380 is activated, the first processor 320 may remove flicker noise (or band noise) from an image obtained by the camera module 380 based on data (eg, raw data or light source frequency) received from the first sensor 370 included in the sensor module 390 .
[0053] According to an embodiment, the first processor 320 may transmit an activation signal of the camera module to the first sensor 370 to activate the camera module 380 by executing a camera application, and activate a first block (eg, Figure 4 b1).
[0054] According to an embodiment, the first processor 320 may detect the frequency of a source of 100 Hz or 120 Hz having flicker noise based on data received from the first sensor 370 , and remove flicker noise (or band noise) to be generated from an image obtained by the camera module 380 .
[0055] According to various embodiments, the second processor 350 may include a microcontroller unit (MCU) that may calculate and process data received from a plurality of sensors included in the sensor module 390 with less power consumption.
[0056] According to an embodiment, the second processor 350 may process data received from a plurality of sensors, remaining active and operating with less power consumption.
[0057] According to various embodiments, the second processor 350 can control the brightness of the display 360 based on the active or inactive state of the camera module 380 and based on data (e.g., digital raw data) received from at least one of the first sensor 370 that can operate based on light and the second sensor 375 that can operate based on light, among the sensors included in the sensor module 390.
[0058] According to an embodiment, when the camera module 380 is in an inactive state, the second processor 350 may compare data (e.g., digital raw data) received from the first sensor 370 disposed on the rear surface of the electronic device 301 with data (e.g., digital raw data or uncalibrated digital raw data) received from the second sensor 375 disposed on the front surface of the electronic device 301. If the result of the comparison reveals that the data received from the first sensor 370 has a larger raw value than the data received from the second sensor 375, the second processor 350 may calculate the data received from the first sensor 370 as an illuminance value and adjust the brightness of the display 360 based on the calculated illuminance value. If the result of the comparison reveals that the data received from the second sensor 375 has a larger raw value than the data received from the first sensor 370, the second processor 350 may calculate the data received from the second sensor 375 as an illuminance value and adjust the brightness of the display 360 based on the calculated illuminance value.
[0059] According to an embodiment, when the camera module 380 is in an active state, the second processor 350 may calculate data received from the second sensor 375 provided on the front surface of the electronic device as an illuminance value and control the brightness of the display 360 based on the calculated illuminance value.
[0060] According to an embodiment, when the camera module 380 is in an inactive state, the second processor 350 may compare data (e.g., digital raw data) received from the first sensor 370 disposed on the rear surface of the electronic device 301 with data (e.g., digital raw data) received from the first sensor 370 disposed on the rear surface of the electronic device 301, and may control the brightness of the display based on the result of the comparison using an illuminance value calculated using the data received from the first sensor 370 or an illuminance value calculated using the data received from the second sensor 375, and the operation of controlling the brightness may also be performed by the first processor 320 in the same manner.
[0061] According to various embodiments, the electronic device may be a foldable electronic device. The foldable electronic device may include a sensor module 390 including at least one third sensor (e.g., an angle sensor, a tilt sensor, and / or an acceleration sensor) capable of detecting the position of the electronic device. When the folding state (e.g., an open state, a closed state, or an intermediate state) of the foldable electronic device is detected using the third sensor, the second processor 350 may send a second block (e.g., a second block) capable of activating the detection of ambient light in the first sensor 370 based on the folding state of the foldable electronic device to the first sensor 370. Figure 4 b2) signal.
[0062] According to an embodiment, when it is recognized that the folding angle of the foldable electronic device is at least a reference angle, wherein the folding angle can be determined based on the folding state of the foldable electronic device using the third sensor, the second processor 350 can send a signal to the first sensor 370 that can activate the second block (e.g., Figure 4 b2) signal.
[0063] According to an embodiment, the second processor may detect a folding state of a hinge connecting two housings in which the foldable display is disposed using a third sensor, and detect a folding angle of the foldable electronic device according to the folding state.
[0064] According to an embodiment, the reference angle may refer to an angle for determining whether the illuminance of an ambient light source within a field of view (FOV) of the second sensor 375 disposed on the front surface of the electronic device 301 may be measured.
[0065] According to an embodiment, a reference position (eg, a reference angle) may be determined depending on the type of the second sensor 375 provided on the front surface of the electronic device 301 and the mounting structure of the second sensor 375 .
[0066] According to one embodiment, numbers 947 to 3191 of Table 1 below represent ADC values and may be values representing brightness at 300 Lux. When the second sensor 375 receives light from the light source, each R, G, B, C channel in the second sensor may respond to the light to output R, G, B, and C values, which are represented as ADC and ADC for each channel and f (x, y, z) formulas. In this case, x, y, and z may represent ADC values for RGB channels. Under the same illumination, as shown in Table 1 below, a reduction in the data of the second sensor means a reduction in FOV, and the ratio may indicate the degree of reduction in the data of the second sensor compared to 300 Lux.
[0067] According to an embodiment, when the ratio of the data values (e.g., R values, G values, B values, and / or C values converted into digital values) received from the second sensor 375 is 50% or less, the second processor 350 may determine that it will not (e.g., because it is impossible) measure the illuminance of the ambient light source within the field of view (FOV) of the second sensor 375 disposed on the front surface of the electronic device. The light received in the second sensor 375 may include various colors, which may be represented as red (R), green (G), blue (B), and / or transparent (C) values in the data shown in Table 1 below.
[0068] [Table 1]
[0069]
[0070] Table 1 is a non-limiting example and shows the intensity of the introduced light according to the angle between the direction of the sensor drum and the direction of the light source (e.g., a 300 Lux light source). In Table 1, "upward" indicates an illuminance value measured when the electronic device is tilted upward toward the position where the light source is located with the rear of the electronic device on the floor and the front of the electronic device facing the light source, and "downward" indicates an illuminance value measured when the electronic device is tilted downward opposite to the position of the light source with the rear of the electronic device on the floor and the front of the electronic device facing the light source.
[0071] In Table 1, when the foldable type electronic device is fully unfolded and faces the ambient light source, or when the bar type electronic device faces the ambient light source, the angle between the second sensor 375 disposed on the front surface of the electronic device and the ambient light source may be expressed as 0 degrees.
[0072] In Table 1, at an angle of zero degree between the second sensor 375 set on the front surface of the electronic device and the ambient light source, when the foldable electronic device is in a state of being folded inward at an angle of Θ degrees (e.g., 10 degrees, 20 degrees, 30 degrees, 35 degrees, 40 degrees, 45 degrees, or 50 degrees), or when the bar-type electronic device is in a state of being tilted at an angle of Θ degrees (e.g., 10 degrees, 20 degrees, 30 degrees, 35 degrees, 40 degrees, 45 degrees, or 50 degrees), the angle between the second sensor 375 set on the front surface of the electronic device and the ambient light source can be expressed as Θ degrees (e.g., 10 degrees, 20 degrees, 30 degrees, 35 degrees, 40 degrees, 45 degrees, or 50 degrees).
[0073] According to various embodiments, the sensor module 390 (eg, Figure 1 The sensor module 176 and / or Figure 2 The sensor module 276 may include a plurality of sensors, and may include a first sensor 370 disposed on a rear surface of the electronic device 301 and operating based on light, and a second sensor 375 disposed on a front surface of the electronic device 301 and operating based on light among the plurality of sensors.
[0074] According to various embodiments, when the camera module 380 is in an active state, the first sensor 370 may send data (e.g., raw data or light source frequency) for removing flicker noise (or banding noise) from an image obtained by the camera module to the first processor 320, and when the camera module 380 is in an inactive state, may send data (e.g., digital raw data) for adjusting the brightness of the display 360 to the second processor 350.
[0075] According to an embodiment, the first sensor 370 may include a flicker sensor.
[0076] According to an embodiment, if the first sensor 370 receives an activation signal of the camera module from the first processor 320, a first block (eg, Figure 4 b1) may be activated, and a second block for detecting ambient light included in the first sensor 370 (eg, Figure 4 In order for the first processor 320 to remove flicker noise (or band noise) from an image obtained by the camera module 380, the first sensor 370 may be activated by the first block (eg, Figure 4 b1) sending the data obtained by the first sensor 370 to the first processor 320 .
[0077] According to an embodiment, when the second block for detecting ambient light (eg, Figure 4 b2) is active and includes a first block for detecting flicker in the first sensor 370 (eg, Figure 4 b1) is inactive, the first sensor 370 can be activated by the second block (e.g., Figure 4 b2) sending the data obtained by the first sensor 370 to the second processor 350 as illumination data for adjusting the brightness of the display.
[0078] According to an embodiment, when the first sensor 370 receives an activation signal of the camera module from the first processor 320, the second block (eg, Figure 4 b2) is active and includes a first block for detecting flicker in the first sensor 370 (eg, Figure 4 b1) is inactive, the first block for detecting flicker (eg, Figure 4 b1) may be activated, and a second block for detecting ambient light included in the first sensor 370 (eg, Figure 4 b2) can be deactivated. By the first sensor 370 through the first block (eg, Figure 4 The data obtained in b1) may be sent to the first processor 320 .
[0079] According to various embodiments, upon receiving a signal from the second processor 350 for activating a second block (eg, Figure 4 b2), the first sensor 370 may activate the second block (eg, Figure 4 b2).
[0080] According to an embodiment, if the first sensor 370 receives a signal from the second processor 350 for activating a second block (eg, Figure 4 b2) and does not receive an activation signal of the camera module from the first processor 320, while including a second block for detecting ambient light in the first sensor 370 (eg, Figure 4 b2) is inactive and includes a first block for detecting flicker in the first sensor 370 (eg, Figure 4 b1) is inactive, the first block for detecting flicker included in the first sensor 370 (eg, Figure 4 b1) may be deactivated, and a second block for detecting ambient light included in the first sensor 370 (eg, Figure 4 b2). The first sensor 370 may be a second block (eg, Figure 4 b2) can be activated. The first sensor 370 can be activated by activating the second block (for example, Figure 4 The data obtained in b2) is sent to the second processor 350 as illumination data.
[0081] According to an embodiment, if the first sensor 370 receives a signal from the second processor 350 for activating a second block (eg, Figure 4 b2) and receives an activation signal of the camera module from the first processor 320, and at the same time includes a second block for detecting ambient light in the first sensor 370 (eg, Figure 4 b2) is inactive and includes a first block for detecting flicker in the first sensor 370 (eg, Figure 4 b1) is inactive, then the first block for detecting flicker (eg, Figure 4 b1) may be activated, and a second block for detecting ambient light included in the first sensor 370 (eg, Figure 4 In order for the first processor 320 to remove flicker noise (or band noise) from the image obtained by the camera module, the first sensor 370 may be activated by the first block (eg, Figure 4 b1) The obtained data is sent to the first processor 320.
[0082] According to various embodiments, the second sensor 375 may transmit data (eg, digital raw data) capable of adjusting the brightness of the display 360 to the second processor 350 .
[0083] According to an embodiment, the second sensor 375 may include an illumination sensor.
[0084] According to various embodiments, the sensor module 390 may include at least one of an angle sensor, a tilt sensor, or an acceleration sensor capable of detecting a position change of the electronic device (eg, a folding angle and / or posture (or installation) of the electronic device).
[0085] According to various embodiments, the display 360 may be Figure 1 The display module 160 is implemented in substantially the same or similar manner.
[0086] According to an embodiment, the brightness of the display 360 may be adjusted based on data received from the first sensor 370 and the second sensor 375 .
[0087] According to various embodiments, the camera module 380 may be Figure 1 The camera module 180 and / or Figure 2 The camera module 280 is implemented in substantially the same or similar manner.
[0088] Figure 4 is an example block diagram 400 illustrating sensors included in an electronic device according to various embodiments.
[0089] Reference Figure 4 , provided in an electronic device (e.g. Figure 1 The electronic device 101 and / or Figure 3 The first sensor 370 on the rear surface of the electronic device 301 may include a light receiving unit 371, an analog-to-digital converter (ADC) 373, a first block b1 for detecting flicker, and a second block b2 for detecting ambient light.
[0090] According to various embodiments, the first sensor 370 may be disposed at a position adjacent to a rear camera module disposed on a rear surface of the electronic device.
[0091] According to various embodiments, the light receiving unit 371 may include a 4×4 16-photodiode array. An analog electrical signal corresponding to each of the red (R) light amount, the green (G) light amount, the blue (B) light amount, or the transparent (C) light amount of light incident through the light receiving unit 371 may be transmitted to the ADC 373. The R (red) light amount, the G (green) light amount, the B (blue) light amount, or the C (transparent) light amount may be the intensity of light received from the R channel, the G channel, the B channel, and the C channel, respectively.
[0092] According to an embodiment, the light receiving unit 371 may include a plurality of channels, for example, an R channel, a G channel, a B channel, and a C channel, or may further include two channels (for example, a C channel and an IR channel) capable of receiving visible light and IR band light. A channel may include a plurality of light receiving elements capable of receiving light. For example, each of the R channel, the G channel, the B channel, and the C channel may include a plurality of (for example, four) photodiodes capable of receiving external light.
[0093] According to various embodiments, the ADC 373 may convert an analog electric signal corresponding to each of the amount of R (red), G (green), B (blue), or C (clear) light received from the light receiving unit 371 into a digital value.
[0094] According to various embodiments, the first block b1 for detecting flicker may include a buffer 375 (e.g., a first-in, first-out (FIFO) buffer) and a first communication interface 377, wherein the buffer 375 is capable of storing a digital value of a certain segment of the digital values (e.g., digital raw data) converted by the ADC 373, and the first communication interface 377 is capable of sending the digital values (e.g., digital raw data) stored in the buffer 375 to the first processor 320.
[0095] According to an embodiment, the buffer 375 may include at least one storage length of a flicker period or longer. According to an embodiment, the first processor 320 may calculate a flicker frequency using at least a portion of the data stored in the buffer.
[0096] According to an embodiment, if an activation signal of the camera module is received from the first processor 320, the first block b1 for detecting flicker may be activated.
[0097] According to an embodiment, when an activation signal of the camera module is not received from the first processor 320 , the first block b1 for detecting flicker may be deactivated.
[0098] According to an embodiment, if an activation signal of a camera module is received from the first processor 320 so that the first block b1 for detecting flicker is activated, a digital value of a certain interval of digital values (e.g., data) received from the ADC 373 during a specified short period of time for detecting a frequency of a light source having 100 Hz or 120 Hz may be stored in a buffer 375 (e.g., a first-in-first-out (FIFO) buffer), and the data stored in the buffer may be sent to the first processor 320 to remove flicker noise (or banding noise) from an image obtained by the camera module.
[0099] According to an embodiment, an activation signal of the camera module may be received from the first processor 320 through the first communication interface 377 .
[0100] According to an embodiment, the data stored in the buffer 375 may be transmitted to the first processor 320 through the first communication interface 377 .
[0101] According to an embodiment, the first communication interface 377 enables transmission / reception of data and / or signals between the first processor 320 and the first block b1 using a digital communication scheme such as Inter-Integrated Circuit (I2C), Serial Peripheral Interface (SPI) and / or Mobile Industry Processor Interface (MIPI).
[0102] According to various embodiments, the second block b2 for detecting ambient light may include a second communication interface 379 .
[0103] According to an embodiment, if an activation signal of the camera module is received from the first processor 320, the second block b2 for detecting ambient light may be deactivated.
[0104] According to an embodiment, when an activation signal of the camera module is not received from the first processor 320, the second block b2 for detecting ambient light may be activated.
[0105] According to an embodiment, if an activation signal of the camera module is not received from the first processor 320 so that the second block b2 for detecting ambient light is activated, a digital value (eg, data) received from the ADC 373 may be transmitted to the second processor 350 through the second communication interface 379 .
[0106] According to an embodiment, the second communication interface 379 enables transmission / reception of data and / or signals between the second processor 350 and the second block b2 using a digital communication scheme such as I2C, SPI, and / or MIPI.
[0107] Reference Figure 4 , provided in an electronic device (e.g. Figure 1 The electronic device 101 and / or Figure 3 The second sensor 375 on the front surface of the electronic device 301 may include a light receiving unit 381 , an ADC 383 , and a third communication interface 385 .
[0108] According to various embodiments, the second sensor 375 may be disposed at a lower end of one area of the display to overlap with one area of the display on the front surface of the electronic device.
[0109] According to various embodiments, the light receiving unit 381 may include a 4×4 16-photodiode array. An analog electrical signal corresponding to each of the red (R) light amount, green (G) light amount, blue (B) light amount, or transparent (C) light amount of light incident through the light receiving unit 381 may be transmitted to the ADC 373. The R (red) light amount, the G (green) light amount, the B (blue) light amount, or the C (transparent) light amount may be the intensity of light received from the R channel, the G channel, the B channel, and the C channel, respectively.
[0110] According to an embodiment, the light receiving unit 381 may include a plurality of channels, for example, an R channel, a G channel, a B channel, and a C channel, and may also include two channels (for example, a C channel and an IR channel) capable of receiving visible light and IR band light. A channel may include a plurality of light receiving elements capable of receiving light. For example, each of the R channel, the G channel, the B channel, and the C channel may include a plurality of (for example, four) photodiodes capable of receiving external light.
[0111] According to various embodiments, the ADC 383 may convert an analog electric signal corresponding to each of the amount of R (red), G (green), B (blue), or C (clear) light received from the light receiving unit 371 into a digital value.
[0112] According to various embodiments, the digital value (eg, data) received from the ADC 383 may be transmitted to the second processor 350 through the third communication interface 377 .
[0113] According to an embodiment, the third communication interface 377 enables transmission / reception of data and / or signals between the second processor 320 and the second sensor 375 using a digital communication scheme such as I2C, SPI, and / or MIPI.
[0114] Data for removing flicker noise (or band noise) from an image obtained by the camera module may be transmitted from the first sensor 370 to the first processor 320 and processed by the first processor 320. Data for adjusting the brightness of the display may be transmitted to the second processor 350 (e.g., a sensor hub) capable of processing data with low power and processed by the second processor 350. Therefore, the electronic device may adjust the brightness of the display 360 based on the data received from each of the first sensor 370 and the second sensor 375 with less current consumption.
[0115] Figure 5a , Figure 5b and Figure 5c Example views 500a, 500b, and 500c are respectively illustrated, which illustrate an operation of adjusting brightness of a display according to a change in a position of the electronic device in an electronic device according to various embodiments.
[0116] refer to Figure 5a , when set in the electronic device 301 (for example, Figure 1 The electronic device 101 and / or Figure 3 The second sensor 375 (eg, Figure 3 and Figure 4 When the angle between the second sensor 375 of the first sensor 370 and the ambient light source 530 is 0 degrees (when measuring the illuminance of the ambient light source within the FOV of the second sensor 375), in this state, the first sensor 370 (for example, Figure 1 The electronic device 101 and / or Figure 3 The first block for detecting flicker in the electronic device 301 (eg, Figure 4 b1) is inactive, and includes a second block for detecting ambient light in the first sensor 370 (eg, Figure 4 b2) is active, upon receiving data from the first sensor 370 (eg, indicating 50 Lux) and data from the second sensor 375 (eg, indicating 500 Lux), the second processor (eg, Figure 3 and 4 The second processor 350 of the display may adjust the brightness of the display based on the data received from the second sensor 375 (eg, 500 Lux) instead of the data received from the first sensor 370 (eg, 50 Lux).
[0117] refer to Figure 5b , when set in the electronic device 301 (for example, Figure 1 The electronic device 101 and / or Figure 3 The second sensor 375 (eg, Figure 3 and Figure 4 When the angle between the second sensor 375 of the first sensor 370 and the ambient light source 530 is 90 degrees (when the illuminance of the ambient light source is not measured within the FOV of the second sensor 375), in this state, the light included in the first sensor 370 (for example, Figure 1 The electronic device 101 and / or Figure 3 The first block for detecting flicker in the electronic device 301 (eg, Figure 4 b1) is inactive, and includes a second block for detecting ambient light in the first sensor 370 (eg, Figure 4 b2) is active, upon receiving data from the first sensor 370 (eg, indicating 300 Lux) and data from the second sensor 375 (eg, indicating 200 Lux), the second processor (eg, Figure 3 and 4The second processor 350 of the first sensor 370 may adjust the brightness of the display based on the data received from the first sensor 370 (eg, 300 Lux) but not based on the data received from the second sensor 375 (eg, 200 Lux).
[0118] refer to Figure 5c , when set in the electronic device 301 (for example, Figure 1 The electronic device 101 and / or Figure 3 The second sensor 375 (eg, Figure 3 and Figure 4 When the angle between the second sensor 375 of FIG. 375 and the ambient light source 530 is 135 degrees (when the ambient light source is not measured within the FOV of the second sensor 375), in this state, the ambient light source 530 included in the first sensor 370 (for example, Figure 1 The electronic device 101 and / or Figure 3 The first block for detecting flicker in the electronic device 301 (eg, Figure 4 b1) is inactive, and includes a second block for detecting ambient light in the first sensor 370 (eg, Figure 4 b2) is active, upon receiving data from the first sensor 370 (eg, indicating 500 Lux) and data from the second sensor 375 (eg, indicating 100 Lux), the second processor (eg, Figure 3 and 4 The second processor 350 of the first sensor 370 may adjust the brightness of the display based on the data received from the first sensor 370 (eg, 500 Lux) but not based on the data received from the second sensor 375 (eg, 100 Lux).
[0119] According to various embodiments, an electronic device (e.g., Figure 3 The electronic device 301 may include a display (eg, Figure 3 , a display 360 ), a camera module (eg, a camera module 380 ), a sensor module (eg, Figure 4 A sensor module 390) and a processor, the sensor module including a first sensor (eg, Figure 4 A first sensor 370) and a second sensor (eg, Figure 4 The processor includes a first processor (eg, Figure 4 320 and a second processor (eg, Figure 3The processor may be configured to adjust the brightness of the display based on the data received from the first sensor and the data received from the second sensor when the camera module is inactive, and to adjust the brightness of the display based on the data received from the first sensor and not based on the data received from the second sensor when the camera module is active.
[0120] According to various embodiments, the first processor may be a main processor and the second processor may include an auxiliary processor including the sensor hub.
[0121] According to various embodiments, the first sensor may include a light receiving unit (eg, Figure 4 The light receiving unit 371), ADC (for example, Figure 4 ADC 373), a first block for flicker detection (e.g., Figure 4 b1) and a second block for detecting ambient light (e.g. Figure 4 b2), the first block includes a buffer for storing data of a certain section of the data received from the ADC (for example, Figure 4 A buffer 375 or a first-in first-out (FIFO) buffer) and a first communication interface (eg, Figure 4 The first interface 377 of the second block includes a second communication interface (eg, Figure 4 second communication interface 379).
[0122] According to various embodiments, if the first sensor does not receive an activation signal of the camera module from the first processor, the first block (eg, Figure 4 b1) is deactivated, and the second block of the first sensor (e.g., Figure 4 b2) is activated so that the data received from the ADC can be configured to be sent to the second processor through the second communication interface.
[0123] According to various embodiments, if the first sensor receives an activation signal of the camera module from the first processor, the first block (eg, Figure 4 b1) is activated, and the second block of the first sensor (e.g., Figure 4 b2) is deactivated, so that the data stored in the buffer can be configured to be sent to the first processor through the first communication interface.
[0124] According to various embodiments, the second sensor may include a light receiving unit (eg, Figure 4 The light receiving unit 381), ADC (for example, Figure 4ADC 383) and a third communication interface for transmitting data received from the ADC to a second processor (e.g., Figure 4 The third communication interface 385).
[0125] According to various embodiments, the second processor can be configured to compare data received from the first sensor with data received from the second sensor when the camera module is in an inactive state, and upon identifying that the data received from the first sensor has a greater raw value than the data received from the second sensor, use the data received from the first sensor to adjust the brightness of the display.
[0126] According to various embodiments, the second processor may be configured to adjust the brightness of the display using the data received from the second sensor upon recognizing that the data received from the second sensor has a greater raw value than the data received from the first sensor.
[0127] According to various embodiments, the second processor may be configured to detect the folding state of the electronic device, and when recognizing that the folding angle of the electronic device is equal to or greater than the reference angle based on the folding state of the electronic device, the second processor may be configured to activate the second block (e.g., Figure 4 The signal of b2) is sent to the first sensor.
[0128] According to various embodiments, if the first sensor receives a signal from the second processor capable of activating the second block of the first sensor and no activation signal of the camera module is received from the first processor, the first block for flicker detection included in the first sensor is deactivated and the second block included in the first sensor is activated, so that the data of the first sensor is configured to be sent to the second processor.
[0129] Figure 6 600 is an example flowchart illustrating an operation of a first sensor of an electronic device according to various embodiments. The operation of the first sensor may include operations 601 to 617. According to an embodiment, at least one of operations 601 to 617 may be omitted or changed in order, or other operations may be added.
[0130] In operation 601, a first sensor 370 (eg, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) may be deactivated and included in the first sensor 370 (eg, Figure 3 A second block (eg, Figure 4 b2) can be activated.
[0131] According to an embodiment, a first block for detecting flicker (eg, Figure 4 b1) can be deactivated, and the second block for detecting ambient light (e.g., Figure 4 b2) can be activated.
[0132] In operation 603, the second block (eg, Figure 4 b2) sends the data of the first sensor (eg, digital raw data) to the second processor (eg, Figure 3 and Figure 4 of the second processor 350).
[0133] According to an embodiment, when the second block (e.g., Figure 4 b2) is activated, through the ADC of the first sensor (for example, Figure 3 The digital value (eg, digital raw data) converted by the ADC 373 of the first sensor may be sent to the second processor 350 through the second communication interface 379 of the first sensor to adjust the brightness of the display.
[0134] In operation 605, the second processor 350 (eg, Figure 3 and Figure 4 The second processor 350 may be based on the data of the first sensor 370 and the second sensor (eg, Figure 3 and Figure 4 The second sensor) is used to adjust the brightness of the display.
[0135] In operation 607, the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320) may recognize activation of the camera module.
[0136] According to an embodiment, the first processor may activate the camera module 380 by executing a camera application.
[0137] In operation 609, the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320 of the embodiment may send an activation signal of the camera module to the first sensor 370 (eg, Figure 3 To the first sensor 370 of Figure 5).
[0138] According to an embodiment, the first processor 320 may transmit an activation signal of the camera module to the first sensor 370 for requesting data for removing flicker noise (or band noise) from an image obtained by the camera module.
[0139] In operation 611, the first sensor 370 (eg, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) may be activated and include a first sensor 370 (eg, Figure 3 A second block (eg, Figure 4 b2) can be deactivated.
[0140] According to an embodiment, based on the activation signal of the camera module received from the first processor 320, the first block (eg, Figure 4 b1) can be activated, and the second block for detecting ambient light (e.g., Figure 4 b2) can be deactivated.
[0141] In operation 613, the first sensor 370 (eg, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) sends data of the first sensor (e.g., raw data or light source frequency) to the first processor (e.g., Figure 3 and Figure 4 first processor 320).
[0142] According to an embodiment, when the first block (e.g., Figure 4 b1) is activated, the ADC of the first sensor (for example, Figure 3 The digital value (eg, digital raw data) converted by the ADC 373 is stored in a certain section of the digital value included in the first block (eg, Figure 4 b1) in the buffer (e.g., Figure 4 The data stored in the buffer may be sent to the first processor 320.
[0143] In operation 615, the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320 may be configured to generate a signal based on the data from the first sensor 370 (eg, Figure 3 The data received by the first sensor 370 of FIG. 5 is received by the camera module (eg, Figure 3 The flicker noise (or banding noise) is removed from the image obtained by the camera module 380).
[0144] According to an embodiment, the first processor 320 may detect the frequency of the light source having 100 Hz or 120 Hz based on data received from the first sensor 370 , and remove flicker noise (or band noise) from an image obtained by the camera module.
[0145] In operation 617, if there is no data from the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320 of the embodiment of the present invention receives an activation signal of the camera module, then includes in the first sensor 370 (for example, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) can be deactivated, and the second block for detecting ambient light (e.g., Figure 4 b2) can be activated to perform operations 601 to 603 for the second block (e.g., Figure 4 b2) sends the data of the first sensor (eg, digital raw data) to the second processor (eg, Figure 3 and Figure 4 of the second processor 350).
[0146] In operation 617, if the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320 of the embodiment of the present invention receives an activation signal of the camera module, then includes in the first sensor 370 (for example, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) can be activated, and the second block for detecting ambient light (e.g., Figure 4 b2) may be deactivated, and operations 611 to 613 are performed for the first block through the first sensor (eg, Figure 4 b1) sends the data of the first sensor (digital raw data or light source frequency) to the first processor 320 (for example, Figure 3 and Figure 4 first processor 320).
[0147] Figure 7a and 7b Example flow charts 700a and 700b are shown respectively, which illustrate the operation of the first sensor of the electronic device according to various embodiments. The operation of the first sensor may include operations 701 to 723. According to the embodiment, at least one of operations 701 to 723 may be omitted or changed in order, or other operations may be added.
[0148] In operation 701, a first sensor 370 (eg, Figure 3 5) in the first block for detecting flicker (eg, Figure 4 b1) may be deactivated and included in the first sensor 370 (eg, Figure 3A second block (eg, a first sensor 370 to 5) for detecting ambient light Figure 4 b2) can be deactivated.
[0149] According to an embodiment, a first block for detecting flicker (eg, Figure 4 b1) can be deactivated, and the second block for detecting ambient light (e.g., Figure 4 b2) can be deactivated.
[0150] In operation 703, the second processor 350 (eg, Figure 3 and Figure 4 The second processor 350 can use the sensor module (e.g., Figure 3 At least one sensor (for example, at least one third sensor among an angle sensor, a tilt sensor, or an accelerometer) among the sensors included in the sensor module 390 that is capable of detecting the position of the electronic device is used to detect the folding state of the electronic device.
[0151] According to an embodiment, the second processor 350 may recognize that the location value of the electronic device is a reference location value or greater using at least one sensor capable of detecting the location of the electronic device.
[0152] According to an embodiment, the second processor 350 may recognize that the folding angle of the electronic device is a reference angle or more using at least one sensor capable of detecting a folding state of the electronic device.
[0153] In operation 705, the second processor 350 (eg, Figure 3 and Figure 4 The second processor 350 may send a signal to the first sensor 370 that can activate the second block (eg, Figure 4 b2) signal.
[0154] In operation 707, the first sensor 370 (eg, Figure 3 5) in the first block for detecting flicker (eg, Figure 4 b1) may be deactivated and included in the first sensor 370 (eg, Figure 3 A second block (eg, a first sensor 370 to 5) for detecting ambient light Figure 4 b2) can be deactivated.
[0155] According to an embodiment, the first sensor 370 may be configured to detect ambient light based on the second block (eg, Figure 4 b2) signal to activate the second block for detecting ambient light (e.g., Figure 4 b2).
[0156] In operation 709, the second block (eg, Figure 4 b2) sends the data of the first sensor (eg, digital raw data) to the second processor (eg, Figure 3 and Figure 4 of the second processor 350).
[0157] According to an embodiment, when the second block (e.g., Figure 4 b2) is activated, through the ADC of the first sensor (for example, Figure 3 The digital value (eg, digital raw data) converted by the ADC 373 of the first sensor may be sent to the second processor 350 through the second communication interface 379 of the first sensor to adjust the brightness of the display.
[0158] In operation 711, the second processor 350 (eg, Figure 3 and Figure 4 The second processor 350 may be based on the data of the first sensor 370 and the second sensor (eg, Figure 3 and Figure 4 The second sensor) is used to adjust the brightness of the display.
[0159] In operation 713, the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320) may recognize activation of the camera module.
[0160] According to an embodiment, the first processor may activate the camera module 380 by executing a camera application.
[0161] In operation 715, the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320 of the embodiment may send an activation signal of the camera module to the first sensor 370 (eg, Figure 3 To the first sensor 370 of Figure 5).
[0162] According to an embodiment, the first processor 320 may transmit an activation signal of the camera module to the first sensor 370 for requesting data for removing flicker noise (or band noise) from an image obtained by the camera module.
[0163] In operation 717, the first sensor 370 (eg, Figure 3 5) in the first block for detecting flicker (eg, Figure 4 b1) may be activated and include a first sensor 370 (eg, Figure 3 A second block (eg, a first sensor 370 to 5) for detecting ambient light Figure 4 b2) can be deactivated.
[0164] According to an embodiment, based on the activation signal of the camera module received from the first processor 320, the first block (eg, Figure 4 b1) can be activated, and the second block for detecting ambient light (e.g., Figure 4 b2) can be deactivated.
[0165] In operation 719, the first sensor 370 (eg, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) sends data of the first sensor (e.g., raw data or light source frequency) to the first processor (e.g., Figure 3 and Figure 4 first processor 320).
[0166] According to an embodiment, when the first block (e.g., Figure 4 b1) is activated, the ADC of the first sensor (for example, Figure 3 The digital value (eg, digital raw data) converted by the ADC 373 is stored in a certain section of the digital value included in the first block (eg, Figure 4 b1) in the buffer (e.g., Figure 4 The data stored in the buffer may be sent to the first processor 320 .
[0167] In operation 721, the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320 may be configured to generate a signal based on the data from the first sensor 370 (eg, Figure 3 The data received by the first sensor 370 of FIG. 5 is received by the camera module (eg, Figure 3 The flicker noise (or banding noise) is removed from the image obtained by the camera module 380).
[0168] According to an embodiment, the first processor 320 may detect the frequency of the light source having 100 Hz or 120 Hz based on data received from the first sensor 370 , and remove flicker noise (or band noise) from an image obtained by the camera module.
[0169] In operation 723, if there is no data from the first processor 320 (eg, Figure 3 and Figure 4The first processor 320 of the embodiment of the present invention receives an activation signal of the camera module, then includes in the first sensor 370 (for example, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) can be deactivated, and the second block for detecting ambient light (e.g., Figure 4 b2) can be activated to perform operations 707 to 709 for the second block (e.g., Figure 4 b2) sends the data of the first sensor (eg, digital raw data) to the second processor (eg, Figure 3 and Figure 4 of the second processor 350).
[0170] In operation 723, if the first processor 320 (eg, Figure 3 and Figure 4 The first processor 320 of the embodiment of the present invention receives an activation signal of the camera module, then includes in the first sensor 370 (for example, Figure 3 5 ) for detecting a first block (eg, Figure 4 b1) can be activated, and the second block for detecting ambient light (e.g., Figure 4 b2) may be deactivated, and operations 717 to 719 are performed for the first block (eg, Figure 4 b1) sends the data of the first sensor (eg, digital raw data or light source frequency) to the first processor 320 (eg, Figure 3 and Figure 4 first processor 320).
[0171] Figure 8 800 is an example flowchart illustrating an operation of adjusting the brightness of a display of an electronic device according to various embodiments. The operation of adjusting the brightness of the display may include operations 801 to 809. According to an embodiment, at least one of operations 801 to 809 may be omitted or changed in order, or other operations may be added. The operation of adjusting the brightness of the display may be performed by Figure 1 The electronic device 101, Figure 1 processor 120, Figure 3 The electronic device 301 or Figure 3 processor (for example, Figure 3 The first processor 320 and / or the second processor 350) is executed.
[0172] In operation 801, the electronic device 301 (eg, Figure 3 and Figure 4 The second processor 350 of the embodiment may identify whether the first sensor 370 (eg, Figure 3To the first sensor 370 of Figure 5) receives the data.
[0173] When it is not recognized that data is received from the first sensor in operation 801, in operation 809, the electronic device 301 (eg, Figure 3 and Figure 4 The second processor 350 may be configured to receive a signal from a second sensor (eg, Figure 3 and Figure 4 The display may be adjusted based on data (eg, illuminance value) received from the second sensor 375 .
[0174] When it is recognized in operation 801 that data is received from the first sensor, in operation 803, the electronic device 301 (eg, Figure 3 and Figure 4 The second processor 350 of the embodiment can combine the data received from the first sensor with the data received from the second sensor ( Figure 3 and Figure 4 The data received by the second sensor 375 is compared.
[0175] According to an embodiment, when a first block for detecting flicker (eg, Figure 4 b1) is deactivated and a second block for detecting ambient light is included in the first sensor (eg, Figure 4 b2) is activated, the electronic device 301 may be activated before the first processor (eg, Figure 3 and Figure 4 The first processor 320) receives the camera activation signal from the first sensor (eg, Figure 3 and Figure 4 370), by including a second block in the first sensor (eg, Figure 4 b2) receiving data that can be used as illumination data.
[0176] According to an embodiment, the electronic device 301 can obtain information from a second sensor (eg, Figure 3 and Figure 4 The second sensor 375) receives data that can be used as illumination data.
[0177] In operation 805, it is determined that the first sensor 370 (eg, Figure 3 5) has a higher value than the data (eg, illuminance value) from the second sensor (eg, Figure 3 and Figure 4 When the data (eg, the illuminance value) received by the second sensor 375 is greater than the original value, in operation 807, the electronic device 301 (eg, Figure 3 and Figure 4The second processor 350 can adjust the brightness of the display based on the data (eg, illuminance value) from the first sensor.
[0178] In operation 805, it is determined that the second sensor (eg, Figure 3 and Figure 4 The data (e.g., illuminance value) received by the second sensor 375 is greater than that received by the first sensor 370 (e.g., Figure 3 5) is greater than the original value, in operation 809, the electronic device 301 (eg, Figure 3 and Figure 4 The second processor 350 may adjust the brightness of the display based on data (eg, illuminance value) received from the second sensor.
[0179] According to various embodiments, a method for adjusting the brightness of a display in an electronic device may include: when a camera module of the electronic device is in an inactive state, adjusting the brightness of the display of the electronic device based on data received from a first sensor disposed on a rear surface of the electronic device and operating based on light and data received from a second sensor disposed on a front surface of the electronic device and operating based on light. When the camera module is in an active state, adjusting the brightness of the display by a processor of the electronic device based on the data received from the second sensor and not based on the data received from the first sensor.
[0180] According to various embodiments, the processor may include a first processor and a second processor. The first processor may indicate a main processor, and the second processor may include an auxiliary processor including a sensor hub.
[0181] According to various embodiments, the method may further include: if the first sensor does not receive an activation signal of the camera module from the first processor of the processor, if a first block for flicker detection included in the first sensor (e.g., Figure 4 b1) is deactivated and a second block for detecting ambient light is included in the first sensor (eg, Figure 4 b2) is activated, the data of the first sensor is sent to the second processor of the processor.
[0182] According to various embodiments, the method may further include: when a second block (eg, Figure 4 b2) is activated by the second block (e.g. Figure 4 b2) The second communication interface sends the data received from the ADC of the first sensor to the second processor of the processor.
[0183] According to various embodiments, the method may further include: if the first sensor receives an activation signal of the camera module from the first processor of the processor, if a first block for flicker detection (eg, Figure 4 b1) is activated and includes a second block for detecting ambient light in the first sensor (e.g., Figure 4 b2) is deactivated, the data of the first sensor is sent to the first processor of the processor.
[0184] According to various embodiments, the method may further include: when a first block (eg, Figure 4 b1) is activated by the first block (e.g. Figure 4 b1) of the first communication interface will be stored in the first block (for example, Figure 4 b1) sends data of a certain section of the data of the first sensor in the buffer to the first processor of the processor.
[0185] According to various embodiments, the method may further include: when the camera module is in an inactive state, comparing data received from the first sensor with data received from the second sensor, and when it is identified that the data received from the first sensor has a larger raw value than the data received from the second sensor, using the data received from the first sensor to adjust the brightness of the display.
[0186] According to various embodiments, the method may further include, when identifying that the data received from the second sensor has a greater original value than the data received from the first sensor, adjusting the brightness of the display using the data received from the second sensor.
[0187] According to various embodiments, the method may further include detecting a folding state of the electronic device, and when recognizing that a folding angle of the electronic device is greater than or equal to a reference angle based on the folding state of the electronic device, activating a second block (e.g., Figure 4 The signal of b2) is sent to the first sensor.
[0188] According to various embodiments, the method may further include: if the first sensor receives a signal from the second processor of the processor that can activate the second block (e.g., Figure 4 b2) signal and does not receive an activation signal of the camera module from the first processor, if the first block for flicker detection included in the first sensor (eg, Figure 4 b1) is deactivated and a second block for detecting ambient light is included in the first sensor (eg, Figure 4 b2) is activated, then the second block (e.g., Figure 4b2) The second communication interface sends the data received from the ADC of the first sensor to the second processor of the processor.
[0189] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.
[0190] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalent forms or alternative forms for the corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "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" may include any one or all possible combinations of the items listed together with the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “coupled with another element (e.g., the second element)”, “coupled to another element (e.g., the second element)”, “connected with another element (e.g., the second element)”, or “connected to another element (e.g., the second element)” with or without the terms “operably” or “communicatively” being used, it means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.
[0191] As used in connection with various embodiments of the present disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or a minimum unit or portion of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).
[0192] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.
[0193] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be published in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be published online (e.g., downloaded or uploaded) via an application store (e.g., Play StoreTM), or may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a manufacturer's server, an application store's server, or a memory of a forwarding server).
[0194] According to various embodiments, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities, and some of the multiple entities may be separately arranged in different components. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., a module or a program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each of the multiple components in the same or similar manner as a corresponding one of the multiple components performing one or more functions before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more of the operations may be run or omitted in a different order, or one or more other operations may be added.
Claims
1. An electronic device, include: monitor; Camera module; a sensor module including a first sensor disposed on a rear surface of the electronic device and operating based on light and a second sensor disposed on a front surface of the electronic device and operating based on light; and A processor, comprising a first processor and a second processor, Wherein, the processor is configured to: When the camera module is in an inactive state, adjusting the brightness of the display based on the data received from the first sensor and the data received from the second sensor, and When the camera module is active, the brightness of the display is adjusted based on data received from the second sensor and not based on data received from the first sensor.
2. The electronic device according to claim 1, in, The first processor is a main processor, and Wherein, the second processor includes an auxiliary processor, and the auxiliary processor includes a sensor hub.
3. The electronic device according to claim 1, in, The first sensor comprises: A light receiving unit; Analog-to-digital converter ADC; A first block for flicker detection, comprising a buffer for storing data of a certain section of data received from the ADC and a first communication interface for sending the data stored in the buffer to the first processor; and A second block for detecting ambient light includes a second communication interface for sending data received from the ADC to the second processor.
4. The electronic device according to claim 3, in, If the first sensor does not receive an activation signal of the camera module from the first processor, the first block of the first sensor is deactivated and the second block of the first sensor is activated, so that data received from the ADC is configured to be sent to the second processor through the second communication interface.
5. The electronic device according to claim 3, in, If the first sensor receives an activation signal of the camera module from the first processor, the first block of the first sensor is activated and the second block of the first sensor is deactivated, so that the data stored in the buffer is configured to be sent to the first processor through the first communication interface.
6. The electronic device according to claim 1, in, The second sensor comprises: A light receiving unit; Analog-to-digital converter ADC; and The third communication interface is used to send the data received from the ADC to the second processor.
7. The electronic device according to claim 1, in, The second processor is configured to: When the camera module is in the inactive state, comparing data received from the first sensor with data received from the second sensor, and Upon identifying that the data received from the first sensor has a greater raw value than the data received from the second sensor, the brightness of the display is adjusted using the data received from the first sensor.
8. The electronic device according to claim 7, in, The second processor is configured to adjust the brightness of the display using the data received from the second sensor upon recognizing that the data received from the second sensor has a greater raw value than the data received from the first sensor.
9. The electronic device according to claim 1, in, The second processor is configured to: detecting a folding state of the electronic device, and When it is recognized that a folding angle of the electronic device is equal to or greater than a reference angle based on a folding state of the electronic device, a signal capable of activating a second block for detecting ambient light included in the first sensor is transmitted to the first sensor.
10. The electronic device according to claim 9, in, If the first sensor receives a signal from the second processor capable of activating the second block of the first sensor and no activation signal of the camera module is received from the first processor, the first block for flicker detection included in the first sensor is deactivated and the second block included in the first sensor is activated, so that data of the first sensor is configured to be sent to the second processor.
11. A method for adjusting the brightness of a display in an electronic device, the method include: When a camera module of the electronic device is in an inactive state, a processor of the electronic device adjusts brightness of the display of the electronic device based on data received from a first sensor disposed on a rear surface of the electronic device and operating based on light and data received from a second sensor disposed on a front surface of the electronic device and operating based on light; as well as When the camera module is active, the brightness of the display is adjusted based on data received from the second sensor and not based on data received from the first sensor.
12. The method according to claim 11, further comprising: include: If the first sensor does not receive an activation signal of the camera module from the first processor of the processor, if the first block for flicker detection included in the first sensor is deactivated and the second block for detecting ambient light included in the first sensor is activated, the data of the first sensor is sent to the second processor of the processor.
13. The method according to claim 11, further comprising: include: If the first sensor receives an activation signal of the camera module from the first processor of the processor, if the first block for flicker detection included in the first sensor is activated and the second block for detecting ambient light included in the first sensor is deactivated, the data of the first sensor is sent to the first processor of the processor.
14. The method according to claim 11, further comprising: include: comparing data received from the first sensor with data received from the second sensor when the camera module is in an inactive state; upon identifying that the data received from the first sensor has a greater raw value than the data received from the second sensor, adjusting the brightness of the display using the data received from the first sensor; Upon identifying that the data received from the second sensor has a greater raw value than the data received from the first sensor, the brightness of the display is adjusted using the data received from the second sensor.
15. The method according to claim 11, further comprising: include: detecting a folding state of the electronic device; After recognizing that the folding angle of the electronic device is equal to or greater than a reference angle based on the folding state of the electronic device, sending a signal capable of activating a second block of the first sensor for detecting ambient light to the first sensor; as well as If the first sensor receives a signal capable of activating the second block of the first sensor from the second processor of the processor and does not receive an activation signal of the camera module from the first processor, if the first block for flicker detection included in the first sensor is deactivated and the second block for detecting ambient light included in the first sensor is activated, data received from the analog-to-digital converter ADC of the first sensor is sent to the second processor of the processor through the second communication interface of the second block.
