Display methods, electronic devices and storage media
By using a preset number of control signals and Gamma parameters to gradually adjust the brightness when the OLED display switches dimming modes, the problems of uneven brightness and color shift in the display are solved, and a stable display effect is achieved in different scenarios.
Patent Information
- Application Number
- CN202410661437.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-07-03
AI Technical Summary
OLED displays have poor efficiency and color reproduction at low brightness and low grayscale, resulting in uneven brightness and color shift, and are prone to flickering when switching dimming modes.
By determining a preset number of control signals and Gamma parameters when switching dimming modes, the brightness of the display screen is gradually adjusted to avoid screen flickering. Different dimming modes and Gamma parameters are used to adjust the brightness in different display scenarios.
This effectively avoids screen flickering during dimming mode switching in OLED displays, ensuring uniform brightness and color performance, and improving display quality.
Smart Images

Figure CN118471139B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a display method, electronic device, and storage medium. Background Technology
[0002] Organic light-emitting diode (OLED) displays can individually light up and control each pixel, offering advantages such as clear black and white contrast and high color saturation. As a result, more and more terminal devices are adopting OLED displays.
[0003] Based on the principle and characteristics of OLED displays that emit light through current, the operating current of an OLED display is very small under low brightness and low grayscale conditions. Operating at low current density, OLED efficiency and color reproduction are poor, resulting in poor color and brightness uniformity of the displayed image, and severe color shift and mura issues (e.g., uneven brightness). Typically, when adjusting the display brightness, direct current (DC) dimming can be used for high brightness, while pulse width modulation (PWM) dimming can be used for low brightness. However, using low-frequency PWM dimming at low brightness can negatively affect the human eye; therefore, high-frequency PWM dimming is used. However, flickering may occur at the moment of switching between DC and PWM dimming modes, or between high-frequency and low-frequency PWM dimming modes. Summary of the Invention
[0004] In view of the above, it is necessary to provide a display method, an electronic device, and a storage medium to solve the problem of screen flickering.
[0005] In a first aspect, this application provides a display method applied in an electronic device, the electronic device including an application processor and a display screen, the display screen including a display driving circuit, the method comprising: receiving a dimming request; the display driving circuit determining a currently corresponding first dimming mode and a first number of control signals corresponding to the first dimming mode; according to the dimming request, the application processor sending a target brightness to the display driving circuit; if the display driving circuit determines that the dimming mode corresponding to the target brightness is a second dimming mode, determining a second number of control signals corresponding to the second dimming mode; determining a preset number of control signals based on the first number and the second number, the preset number of control signals corresponding to a preset display brightness; controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode, transmitting the preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the preset display brightness; and controlling the display driving circuit to operate in the second dimming mode, transmitting the second number of control signals in each control cycle, so that the brightness of the display screen is adjusted from the preset display brightness to the target brightness. The above technical solution can determine a preset number of control signals when the dimming mode of the display screen is switched. First, the display screen is adjusted to a preset display brightness according to the preset number of control signals. Then, the display brightness of the display screen is adjusted from the preset display brightness to the target brightness according to the dimming mode after the switch, which can avoid the screen flickering phenomenon.
[0006] In one embodiment of this application, determining a preset number of control signals based on the first quantity and the second quantity, wherein the preset number of control signals corresponds to a preset display brightness, includes: determining N preset number of control signals based on the first quantity and the second quantity, wherein the N preset number of control signals are all different and each preset number of control signals corresponds to a preset display brightness, and N is an integer greater than 1; controlling the display driving circuit to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset number of control signals. Through the above scheme, N preset number of control signals can be determined when the display screen dimming mode is switched, thereby avoiding screen flickering.
[0007] In one embodiment of this application, controlling the display driving circuit to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset number of control signals includes: controlling the display driving circuit to operate in the PWM dimming mode, transmitting a first preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to a first preset brightness corresponding to the first preset number of control signals; continuing to control the display driving circuit to transmit a second preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to a second preset brightness corresponding to the second preset number of control signals; repeating the above process until the brightness of the display screen is adjusted to the Nth preset brightness corresponding to the Nth preset number of control signals. Through this scheme, when the dimming mode of the display screen is switched, N preset number of control signals can be determined, and the brightness of the display screen can be gradually adjusted to the target brightness according to the N preset number of control signals, thereby avoiding screen flickering.
[0008] In one embodiment of this application, the control signal for determining a preset quantity based on the first quantity and the second quantity includes: determining the control signal for the preset quantity if the absolute difference between the first quantity and the second quantity is greater than or equal to a first preset value. Through the above technical solution, it can be determined that when the difference between the first quantity and the second quantity is large, a control signal for the preset quantity is determined, and the brightness of the display screen is adjusted according to the control signal for the preset quantity to avoid screen flickering.
[0009] In one embodiment of this application, if the absolute difference between the first quantity and the second quantity is less than the first preset value, the display driving circuit is controlled to operate in the second dimming mode, transmitting the control signal of the second quantity in each control cycle, so that the brightness of the display screen is adjusted to the target brightness. Through the above technical solution, it can be determined that when the difference between the first quantity and the second quantity is small, the display screen will not exhibit screen flickering when switching dimming modes, and the brightness of the display screen can be directly adjusted according to the control signal of the second quantity.
[0010] In one embodiment of this application, determining a preset number of control signals based on the first quantity and the second quantity includes: calculating a first duty cycle of the control signal based on the first quantity; calculating a second duty cycle of the control signal based on the second quantity; and determining the preset number of control signals if the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to a second preset value. Through this technical solution, it is possible to determine a preset number of control signals when the difference between the duty cycles corresponding to the first quantity and the second quantity is large, and to adjust the display screen brightness according to the preset number of control signals, thereby avoiding screen flickering.
[0011] In one embodiment of this application, the method further includes: if the absolute difference between the first duty cycle and the second duty cycle is less than the second preset value, controlling the display driving circuit to operate in the second dimming mode, transmitting the second number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the target brightness. Through the above technical solution, it can be determined that when the difference between the duty cycles corresponding to the first and second numbers is small, the display screen will not exhibit screen flickering when switching dimming modes, and the display screen brightness can be adjusted according to the second number of control signals.
[0012] In one embodiment of this application, the method further includes: determining a dimming mode corresponding to the target brightness based on the magnitude of the target brightness and a preset brightness. Through the above technical solution, a dimming mode corresponding to the target brightness can be determined to ensure the display effect of the screen.
[0013] In one embodiment of this application, determining the dimming mode corresponding to the target brightness based on the magnitude of the target brightness and the preset brightness includes: when the target brightness is less than or equal to the preset brightness, determining the dimming mode corresponding to the target brightness as the PWM dimming mode; or when the target brightness is greater than the preset brightness, determining the dimming mode corresponding to the target brightness as the DC dimming mode. Through the above technical solution, in order to ensure the display effect of the screen, the display brightness can be adjusted using the PWM dimming mode when the display brightness is low, and the display brightness can be adjusted using the DC dimming mode when the display brightness is high.
[0014] In one embodiment of this application, the first dimming mode is a DC dimming mode, and the second dimming mode is the PWM dimming mode; or the first dimming mode is the PWM dimming mode, and the second dimming mode is the DC dimming mode. Through the above technical solutions, different dimming modes can be used to adjust the display brightness of the screen to ensure the display effect.
[0015] Secondly, this application provides a display method applied in an electronic device, the electronic device including an application processor and a display screen, the display screen including a display driving circuit, the method comprising: when the electronic device is in a first display scene, determining a first number of control signals and a first set of Gamma parameters corresponding to the display driving circuit operating in a first dimming mode; if the electronic device enters a second display scene, determining a second number of control signals and a second set of Gamma parameters corresponding to the display driving circuit operating in a second dimming mode; determining a preset number of control signals and a third set of Gamma parameters based on the first number and the second number; controlling the display driving circuit to operate in a pulse width modulation (PWM) dimming mode, adjusting the brightness of the display screen based on the preset number of control signals and the third set of Gamma parameters; controlling the display driving circuit to operate in a second dimming mode, adjusting the brightness of the display screen based on the second number of control signals and the second set of Gamma parameters. Through the above technical solution, when the display scene of the display screen is switched, a preset number of control signals and corresponding Gamma parameters can be determined to adjust the brightness of the display screen according to the preset number of control signals and corresponding Gamma parameters, avoiding screen flickering.
[0016] In one embodiment of this application, N preset quantities of control signals and M sets of Gamma parameters are determined based on the first quantity and the second quantity, wherein the N preset quantities of control signals are all different, N is an integer greater than 1, and M = N.
[0017] In one embodiment of this application, the display driving circuit is controlled to operate in the PWM dimming mode, and the brightness of the display screen is adjusted based on the N preset number of control signals and M sets of Gamma parameters.
[0018] In one embodiment of this application, controlling the display driving circuit to operate in the PWM dimming mode and adjusting the brightness of the display screen based on the N preset number of control signals and M sets of Gamma parameters includes: controlling the display driving circuit to operate in the PWM dimming mode, transmitting a third preset number of control signals in each control cycle, determining a fourth set of Gamma parameters according to a pre-established correspondence between display brightness and a fourth set of Gamma parameters, and adjusting the brightness of the display screen according to the determined fourth set of Gamma parameters; continuing to control the display driving circuit to operate in the PWM dimming mode, transmitting a fourth preset number of control signals in each control cycle, determining a fifth set of Gamma parameters according to a pre-established correspondence between display brightness and a fifth set of Gamma parameters, and adjusting the brightness of the display screen according to the determined fifth set of Gamma parameters; repeating the above process until controlling the display driving circuit to operate in the PWM dimming mode, transmitting an Nth preset number of control signals in each control cycle, determining an Mth set of Gamma parameters according to a pre-established correspondence between display brightness and an Mth set of Gamma parameters, and adjusting the brightness of the display screen according to the determined Mth set of Gamma parameters. The above technical solution can determine N preset control signals and M corresponding Gamma parameters when the display scene is switched, so as to adjust the brightness of the display screen according to the N preset control signals and M corresponding Gamma parameters, and avoid screen flickering.
[0019] In one embodiment of this application, the step of determining the control signal for the preset quantity and the third set of Gamma parameters based on the first quantity and the second quantity includes: if the absolute difference between the first quantity and the second quantity is greater than or equal to a third preset value, determining the control signal for the preset quantity and the third set of Gamma parameters. Through the above technical solution, it can be determined that when the difference between the first quantity and the second quantity is large, the control signal for the preset quantity and the third set of Gamma parameters are determined, and the brightness of the display screen is adjusted according to the control signal for the preset quantity and the third set of Gamma parameters to avoid screen flickering.
[0020] In one embodiment of this application, determining a preset number of control signals and a third set of Gamma parameters based on the first quantity and the second quantity includes: calculating a first duty cycle of the control signal based on the first quantity; calculating a second duty cycle of the control signal based on the second quantity; and determining the preset number of control signals and the third set of Gamma parameters when the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to a fourth preset value. Through this technical solution, when the difference between the duty cycles corresponding to the first quantity and the second quantity is large, a preset number of control signals and the third set of Gamma parameters can be determined, and the display screen brightness can be adjusted according to the preset number of control signals and the third set of Gamma parameters to avoid screen flickering.
[0021] In one embodiment of this application, the first set of Gamma parameters, the second set of Gamma parameters, and the third set of Gamma parameters are all different from each other. Through this technical solution, the brightness of the display screen can be adjusted in different display scenarios using different Gamma parameters, thus avoiding screen flickering.
[0022] In one embodiment of this application, controlling the display driving circuit to operate in pulse width modulation (PWM) dimming mode and adjusting the brightness of the display screen based on the preset number of control signals and the third set of Gamma parameters includes: controlling the display driving circuit to operate in the PWM dimming mode, transmitting the preset number of control signals in each control cycle, determining the third set of Gamma parameters according to a pre-established correspondence between display brightness and the third set of Gamma parameters, and adjusting the brightness of the display screen using the third set of Gamma parameters. Through this technical solution, the brightness of the display screen can be adjusted using the determined third set of Gamma parameters, avoiding screen flickering.
[0023] In one embodiment of this application, controlling the display driving circuit to operate in the second dimming mode and adjusting the brightness of the display screen based on the second number of control signals and the second set of Gamma parameters includes: controlling the display driving circuit to operate in the second dimming mode, transmitting the second number of control signals in each control cycle, determining the second set of Gamma parameters according to a pre-established correspondence between display brightness and the second set of Gamma parameters, and adjusting the brightness of the display screen using the second set of Gamma parameters. Through this technical solution, the brightness of the display screen can be adjusted using the determined second set of Gamma parameters, avoiding screen flickering.
[0024] In one embodiment of this application, when the electronic device is in a first display scene, the frequency of the control signal corresponding to the first dimming mode is greater than or equal to a preset frequency; when the electronic device is in a second display scene, the frequency of the control signal corresponding to the second dimming mode is less than the preset frequency. Through the above technical solution, screen flickering can be avoided during the switching of display scenes by the electronic device.
[0025] In one embodiment of this application, the first dimming mode is either a DC dimming mode or a PWM dimming mode; or the second dimming mode is either a PWM dimming mode or a DC dimming mode. Through the above technical solutions, different dimming modes can be used to adjust the display brightness of the screen to ensure the display effect.
[0026] Thirdly, this application provides an electronic device, which includes a display screen, a memory, and a processor; the memory is used to store program instructions; the processor is used to read the program instructions stored in the memory to adjust the display brightness of the display screen using the above-described display method.
[0027] Fourthly, this application provides a computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the above-described display method.
[0028] Furthermore, the technical effects brought about by the third and fourth aspects can be found in the descriptions of the methods in the above-mentioned method section, and will not be repeated here. Attached Figure Description
[0029] Figure 1 This is a hardware architecture diagram of an electronic device provided in one embodiment of this application;
[0030] Figure 2 This is a schematic diagram of the structure of a pixel driving circuit provided in one embodiment of this application;
[0031] Figure 3 A software architecture diagram of an electronic device provided in one embodiment of this application;
[0032] Figure 4 A timing diagram of relevant signals during screen scanning provided in an embodiment of this application;
[0033] Figure 5 This is a schematic diagram illustrating the EM signal insertion during screen scanning according to an embodiment of this application;
[0034] Figure 6 A flowchart illustrating a display method provided in one embodiment of this application;
[0035] Figure 7A This is a schematic diagram of a brightness adjustment curve provided in an embodiment of this application;
[0036] Figure 7B This is a schematic diagram of a brightness adjustment curve provided in another embodiment of this application;
[0037] Figure 8 This is a timing diagram of an EM signal provided in an embodiment of this application.
[0038] Figure 9 A flowchart illustrating a display method provided in yet another embodiment of this application;
[0039] Figure 10 This is a timing diagram of the EM signal provided in another embodiment of this application;
[0040] Figure 11A This is a schematic diagram of a brightness adjustment curve provided in an embodiment of this application;
[0041] Figure 11B This is a schematic diagram of a brightness adjustment curve provided in another embodiment of this application;
[0042] Figure 11C This is a schematic diagram of a brightness adjustment curve provided in another embodiment of this application. Detailed Implementation
[0043] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0044] To facilitate understanding of the following description of the display method provided in the embodiments of this application, some terms used in the embodiments of this application will be explained below for comprehension.
[0045] (1) The gate driver on array (GOA) signal (also known as the gate signal) is used to control the drive circuit (e.g., reference). Figure 2The switching state signals of the transistors in the 7T1C driving circuit shown can control the display state of the OLED screen via the GOA signal. Specifically, in an OLED screen, each pixel can be individually controlled by a driving circuit, which can include multiple transistors and a capacitor. Pixel control is achieved by controlling the switching states of multiple transistors. The GOA signal can control the switching time and sequence of multiple transistors in the driving circuit to achieve precise control of pixel brightness and color.
[0046] (2) The emission (EM) signal (also known as the enable signal or control signal) is used to control the state of pixels in an OLED display. The on / off state of pixels in an OLED display can be controlled by the EM signal. Specifically, the EM signal is a low-level signal; when an EM signal is sent to the OLED display, the corresponding pixel is illuminated. To turn off a pixel, its EM signal can be set to a high level. In practical applications, the brightness of the OLED display can be adjusted by changing the power and duty cycle of the EM signal. For example, in DC dimming mode, the EM is always on (low level), and the brightness of the OLED display can be adjusted by changing the current or voltage corresponding to the EM signal; in PWM dimming mode, the brightness of the OLED display can be adjusted by changing the duty cycle of the EM signal.
[0047] (3) Principle of PWM dimming: If the EM signal is a PWM signal (for ease of understanding, the EM signal will be used as a PWM signal in the following embodiments), when an EM signal is input to a row of pixels on the display screen, the pixels in that row will be lit when the EM signal is at a low level and turned off (not lit) when the EM signal is at a high level. Therefore, under the control of the EM signal, the pixels in that row will alternately flash "on → off → on → off → on → off" according to the frequency of the EM signal (a flicker frequency that is difficult for the human eye to perceive). Furthermore, by adjusting the duty cycle of the EM signal, the proportion of the high-level width (i.e., the high-level duration) and the low-level width (low-level duration) of the EM signal in a single flicker cycle can be adjusted, thereby adjusting the "on" and "off" time ratio of the pixels in that row, achieving screen brightness adjustment from 0% to 100%. For example, by extending the high-level width of the EM signal, that is, extending the duration of the "off" state, the human eye can be given the illusion that the screen has become dimmer due to the persistence of vision. Conversely, extending the low-level width of the EM signal, i.e., extending the duration of the "on" state, will make the screen appear brighter. It's important to note that screen brightness depends on the proportion of time each row of pixels is "on" and "off" within a flicker cycle (i.e., the duty cycle of the EM signal), not on the frequency of the EM signal. In other words, as long as the proportion of on and off time within a flicker cycle remains constant, the screen brightness remains constant. Furthermore, the flickering process of a row of pixels being "on" or "off" is invisible to the human eye. What the human eye perceives as a screen-off state is when that row of pixels is constantly in an "off" state; what the human eye perceives as a bright screen is when that row of pixels switches between on and off states. The different on / off times will result in different perceived brightness levels for the human eye.
[0048] (4) Screen scan time h: The screen scanning process is the process of refreshing one frame of the image on the screen. The screen refresh rate, such as 120Hz, usually means that 120 frames are refreshed per second, that is, the screen is scanned 120 times per second. For a screen with a resolution of 1200×2800RGB, scanning each pixel on the screen until the scan of each pixel is completed is considered to complete one screen scan process. When the screen scan is completed, the screen will display one frame of the image. When the screen is working, it is usually driven by the display driver IC (DDIC) to drive the relevant GOA signal, EM signal and TFT timing of the screen to complete the screen reset, initialization, charging and light emission. For the scanning of each row of pixels in the screen, there is precise hardware timing control, which can be set by the internal clock of the electronic device to the scanning time of each row of pixels in the screen, that is, the screen scan time h (Hsync). For example, for a screen with a resolution of 1200×2800 and a refresh rate of 120Hz, assuming that the interval between each frame (porch) includes the vertical front pitch (VFP) and the vertical back pitch (VBP) and totals 80 hours (which can be flexibly set according to the needs of different products), then the approximate duration of the scanning time h per line of the display screen is h = 1 / 120 / (2800+80) = 2.894µs.
[0049] (5) Calculation of EM duty: If the EM signal is a PWM signal, the high or low level duration of the PWM signal can usually be calculated based on the number of hours (h). Taking a screen with a resolution of 1200×2800 and a refresh rate of 120Hz as an example, assuming that VFP and VBP total 80 hours, the approximate duration of each line scan time (h) is 2.894µs. In this case, the screen can be lit up by adjusting the duty cycle of the PWM signal. Assuming the duty cycle of the PWM signal is x%, the EM duty is approximately 1 - (x / (2800+80)) × 100%. This means that when the duty cycle of the PWM signal is x%, the screen will remain lit for a period of 1-x% of a complete cycle. Therefore, by adjusting the duty cycle of the PWM signal, precise control of the screen brightness can be achieved.
[0050] (6) Display Brightness Value (DBV): To provide users with a good user experience, a Display Brightness Value (DBV) can be preset in electronic devices to adjust the brightness of the display screen. Users can adjust the brightness of the display screen by changing the DBV. When the ambient light is strong, users can increase the DBV of the display screen so that they can see the content displayed on the screen clearly; when the ambient light is weak, users can decrease the DBV of the display screen to avoid excessive difference between the ambient light and the brightness of the display screen, which may cause eye strain. The preset DBV (without units) and the actual brightness value of the display screen (in nits) generally have a one-to-one correspondence. For example, taking a maximum actual brightness value of 1600 nits and a DBV value of 12 bits (i.e., 4095 DBV values) as an example, a DBV value of 4095 corresponds to a maximum brightness value of 1600 nits.
[0051] In some embodiments, the DBV value can also be, for example, 8 bits (i.e., 256 DBV values) or 10 bits (i.e., 1024 DBV values). When the maximum actual brightness value is determined, the larger the range of DBV values, the smaller the actual brightness value changed by each DBV adjustment, which means that the actual brightness adjustment accuracy of the display screen is higher.
[0052] (7) Grayscale: Grayscale divides the brightness variation between the brightest and darkest areas of a display screen into several parts to facilitate brightness control. Each frame of the display screen is composed of colors displayed by multiple sub-pixels P. Typically, each pixel can display a different color, and each color is composed of the three primary colors: red, green, and blue. Each pixel includes multiple sub-pixels P, for example, each pixel includes a red sub-pixel, a green sub-pixel, and a blue sub-pixel. Each sub-pixel P can display different brightness levels, and grayscale represents the different brightness levels between the darkest and brightest areas. The more brightness levels between the darkest and brightest areas, the more delicate the image effect can be.
[0053] There is a definite correspondence between gray levels and gamma voltages; each gray level corresponds to a different gamma voltage. For example, as the gray level increases, the gamma voltage also increases. Figure 2In the 7T1C driver circuit shown, the data signal transmitted at the data signal terminal Vdata is generated based on gamma voltage, with each data signal voltage value roughly corresponding to a gamma voltage. Therefore, gamma voltage can be used to characterize the voltage value of the data signal. It can be seen that there is a definite correspondence between display brightness value and grayscale, and also a definite correspondence between gamma voltage and display brightness value. By adjusting the gamma parameter corresponding to the gamma voltage, the display brightness of the screen can be adjusted.
[0054] More and more mobile phones and other electronic devices are starting to use organic light-emitting diode (OLED) screens as displays. Compared with traditional displays, OLED screens have advantages such as being thinner and lighter, and having higher luminous efficiency. It should be noted that, for ease of description, the following discussion will use OLED displays as an example.
[0055] In the embodiments provided in this application, the electronic device can be of various forms, such as a mobile phone, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, an in-vehicle terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a wearable terminal device, and so on.
[0056] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0057] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0058] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0059] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0060] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0061] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instructions or data again, it can directly retrieve them from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves system efficiency.
[0062] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0063] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0064] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.
[0065] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0066] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.
[0067] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.
[0068] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0069] USB interface 130 is an interface compliant with the USB standard specification, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. The interface can also be used to connect other electronic devices 100, such as AR devices.
[0070] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0071] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via a USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device 100 via the power management module 141.
[0072] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0073] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0074] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0075] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0076] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0077] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0078] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0079] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0080] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0081] Taking an OLED display as an example, an OLED display can contain multiple OLED pixels arranged in an array. Each pixel is controlled by a pixel driving circuit to display different colors and brightness. Thus, each OLED pixel in the OLED display can display a corresponding image under different driving voltages output by the driving circuit. The pixel driving circuit can have various structures, which can be selected according to actual needs. For example, the pixel driving circuit structure can include "6T1C", "7T1C", "6T2C", or "7T2C". Here, "T" represents a transistor, and the number before "T" indicates the number of transistors; "C" represents a storage capacitor, and the number before "C" indicates the number of storage capacitors. It should be noted that the pixel driving circuit includes driving transistors and at least one light-emitting control transistor.
[0082] like Figure 2 As shown, taking the 7T1C structure of the pixel driving circuit as an example, the pixel driving circuit includes a driving transistor and two light-emitting control transistors. The driving transistor can provide a driving signal (i.e., driving current) to the corresponding light-emitting device L according to the control signal input to the pixel driving circuit (this control signal comes from the data signal terminal Vdata). The light-emitting control transistor can control the conduction and cutoff between the driving transistor and the light-emitting device L under the control of the enable signal transmitted by the enable signal terminal EM. In one embodiment, the voltage value of the control signal can control the magnitude of the driving current provided to the light-emitting device L; the enable signal can control whether the driving current is transmitted to the light-emitting device L and the duration of the driving current transmitted to the light-emitting device L, that is, the enable signal can control whether the light-emitting device L emits light and control the duration of the light-emitting device L's emission.
[0083] For example, the enable signal is a pulse width modulation (PWM) signal. Within a light-emitting phase, by adjusting the duty cycle of the PWM signal, the duration of drive current transmission to the light-emitting device L can be controlled, thereby adjusting the display brightness. The method of adjusting display brightness described here is the PWM dimming mode described above. For example, the higher the duty cycle of the PWM signal, the longer the light-emitting duration of the light-emitting device L within a light-emitting phase, and the higher the display brightness. Conversely, the lower the duty cycle of the PWM signal, the shorter the light-emitting duration of the light-emitting device L within a light-emitting phase, and the lower the display brightness.
[0084] For example, within a light-emitting phase, the magnitude of the drive current can be controlled by adjusting the voltage value of the control signal, thereby adjusting the display brightness. The method of adjusting the display brightness described here is the DC dimming mode described above. For instance, the higher the voltage value of the control signal, the lower the drive current, resulting in lower brightness of the light-emitting device L within a light-emitting phase, and thus lower display brightness. Conversely, the lower the voltage value of the control signal, the higher the drive current, resulting in higher brightness of the light-emitting device L within a light-emitting phase, and thus higher display brightness.
[0085] Here, Figure 2 The pixel driving circuit shown here includes P-type transistors as an example. When the pixel driving circuit includes N-type transistors, the higher the voltage value of the control signal, the greater the driving current, resulting in higher brightness of the light-emitting device L during a single emission stage, and thus higher display brightness. Conversely, the lower the voltage value of the control signal, the smaller the driving current, resulting in lower brightness of the light-emitting device L during a single emission stage, and thus lower display brightness. Therefore, it can be seen that the display brightness of each pixel and the overall display brightness of an OLED display are controlled by at least the control signal (Gamma parameter) and the enable signal (EM signal).
[0086] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0087] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0088] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0089] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0090] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0091] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0092] Internal memory 121 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM).
[0093] Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, fifth generation DDR SDRAM is generally called DDR5 SDRAM), etc.
[0094] Non-volatile memory can include disk storage devices and flash memory.
[0095] Flash memory can be classified according to its operating principle, including NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.; according to the level of the storage cell, including single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc.; and according to the storage specification, including universal flash storage (UFS) and embedded multimedia card (eMMC), etc.
[0096] The random access memory can be directly read and written by the processor 110. It can be used to store executable programs (such as machine instructions) of the operating system or other running programs, as well as user and application data.
[0097] Non-volatile memory can also store executable programs and user and application data, and can be pre-loaded into random access memory for direct reading and writing by the processor 110.
[0098] The external memory interface 120 can be used to connect to external non-volatile memory, thereby expanding the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to perform data storage functions. For example, music, video, and other files can be stored in the external non-volatile memory.
[0099] Electronic device 100 can implement audio functions through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor, such as media data playback and recording.
[0100] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, audio module 170 may be located in processor 110, or some functional modules of audio module 170 may be located in processor 110. Speaker 170A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. Electronic device 100 can listen to music or receive hands-free calls through speaker 170A.
[0101] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0102] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0103] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0104] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0105] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.
[0106] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0107] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.
[0108] The accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in various directions (typically three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic device 100, and can be applied to applications such as screen orientation switching and pedometers.
[0109] A distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.
[0110] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 100 emits infrared light outward through the LED. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 may use the proximity sensor 180G to detect when a user holds the electronic device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.
[0111] The ambient light sensor 180L is used to sense the brightness of ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0112] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0113] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0114] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0115] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.
[0116] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0117] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0118] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0119] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0120] Figure 3 This is a software structure block diagram of an electronic device 100 provided in an embodiment of this application.
[0121] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. Taking the Android system as an example, in some implementations, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system libraries, and the kernel layer.
[0122] The application layer may include a series of application packages. In this embodiment, the application package may include applications related to fingerprint recognition, such as fingerprint recognition itself, for example, fingerprint unlocking, accessing application locks, taking photos with fingerprints, and answering calls with fingerprints. Optionally, such as Figure 3 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0123] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example... Figure 3 As shown, the application framework layer may also include: window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0124] System libraries can include multiple functional modules. For example, a surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), image processing libraries, etc.
[0125] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0126] In this embodiment, the hardware layer is the hardware of the electronic device, and the hardware layer includes at least a pixel driving circuit, a display driving circuit, and a display screen.
[0127] Understandable, Figure 3 The layers in the illustrated software structure and the components contained in each layer do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer layers than illustrated, and each layer may include more or fewer components; this application does not impose any limitations.
[0128] It should be noted that, although the embodiments of this application are based on... This system is used as an example for explanation, but its basic principles also apply to systems based on HarmonyOS. or Electronic devices with operating systems, etc.
[0129] Before providing a detailed description of the display method and electronic device provided in the embodiments of this application, we will first combine... Figures 4 to 5 The process and principles of screen scanning are explained.
[0130] Screen scanning is the process of refreshing one frame of the image on the screen. A screen refresh rate, such as 120Hz, typically means refreshing 120 frames per second, or completing 120 screen scans per second. For a screen with a resolution of 1200*2800 RGB, scanning each pixel on the screen until every pixel is scanned is considered one screen scan cycle. Once the screen scan is complete, one frame of the image will be displayed. For ease of explanation, in this embodiment, the frame being scanned is referred to as the current frame, the previous frame as the previous frame, and the frame following the current frame as the next frame.
[0131] After completing the screen scan of the previous frame, the vertical synchronization (Vsync) signal of the display driver circuit generates a rising edge, and then begins the screen scan of the current frame. For the current frame, the scan proceeds from top to bottom and left to right, starting with the first row of pixels, until the 1200th row of pixels is scanned, thus completing the scan of the current frame. At this point, the display driver circuit generates another rising edge, and then begins the scan of the next frame. Therefore, one cycle of Vsync is the time required to complete one screen scan (hereinafter referred to as the screen scan cycle), and also the refresh time required to refresh one frame. Based on this, the frequency and cycle of Vsync depend on the screen refresh rate.
[0132] The scanning process for a single row of pixels will be illustrated below using the Mth row of pixels (1≤M≤1200, and M is an integer) as an example.
[0133] The GOA signal is used to control the M-row pixels to turn on (which can be understood as turning on the power; after the power is turned on, the brightness can be controlled using the EM signal), and the EM signal (such as...) is then used to control the brightness of the pixels in the M-row. Figure 4 The EM1 or EM2 shown is connected to the Mth row of pixels to drive the pixels in that row, thereby controlling the brightness of the Mth row of pixels and completing the scan of the Mth row of pixels. After the scan of the Mth row of pixels is completed, the Hsync signal of the display driver circuit group will generate a rising edge, and then the scan of the (M+1)th row of pixels will begin. It can be seen that one cycle of Hsync is the scan time required to scan one row. Since a frame has 1200 rows of pixels, completing the scan of one frame will generate 1200 Hsync cycles, meaning one cycle of Vsync will have 1200 Hsync cycles.
[0134] OLED screens typically scan line by line (including reset, initialization, charging, and illumination stages). For each row of pixels, reset, initialization, and charging are usually completed within the first EM high level (no illumination). Specifically, the first EM signal at the beginning of the current frame for each pixel is high, indicating an off state; reset and charging cannot be performed when the pixel is lit. Illumination occurs in the subsequent EM intervals after the first EM high level. Because the signals for reset, initialization, and charging operations require corresponding scan operation signals, such as... Figure 4Scan1, Scan2, Scan3 shown (there may be 2, 3, 4, or 5 signals, and different circuit architectures correspond to different scanning operation signals). This requires a relatively wide width of the corresponding EM signal to ensure the validity of the above scanning signals within the time range corresponding to the first high level of the EM. For other EM signals in the non-scanning charging interval, usually meeting the minimum requirements of the display circuit is sufficient. As Figure 4 shown, EM1 is the EM signal waveform corresponding to the DC dimming mode in the high-brightness interval, and EM2 is the EM signal waveform corresponding to the PWM dimming mode in the low-brightness interval. Scan1, Scan2, and Scan3 are valid within the time range corresponding to the first high level of EM1 and are also valid within the time range corresponding to the first high level of EM2.
[0135] Refer Figure 5 shown, during the screen scanning of the OLED display, when the OLED display adjusts the brightness of the display using the PWM dimming mode, it will cause a rolling screen with alternating bright stripes (blank areas) and dark stripes (black areas) on the pixels of the OLED display. When the OLED display adjusts the brightness of the display using the DC dimming mode, there will be no rolling screen with alternating bright and dark stripes. However, during the process of refreshing one frame of the display, if the black insertion of the EM signal is wider (i.e., the dark stripe is wider), it means that the EM duty is smaller, and the brightness of the display is darker; if the black insertion of the EM signal is narrower, it means that the EM duty is larger, and the brightness of the display is brighter. Generally, when the OLED display adjusts the brightness of the display using the DC dimming mode, the EM duty can reach more than 90%, even more than 98%. When the OLED display adjusts the brightness of the display using the PWM dimming mode, due to the increasing PWM specifications, such as 2160Hz, 3840Hz, etc., and the use of new low-temperature polycrystalline oxide (LTPO) displays (the scanning and reset compensation time requirements of LTPO displays are long), the EM duty is getting smaller.
[0136] In some embodiments, when the display is at high brightness, the EM duty of the control signal is typically large when using DC dimming mode, while when the display is at low brightness, the EM duty of the control signal is typically small when using PWM dimming mode. During the switching between low and high brightness modes, it is necessary to switch between DC dimming mode and PWM dimming mode. Since the EM duty corresponding to DC dimming mode differs significantly from that of PWM dimming mode, the switching between the two increases the risk of display flicker. For example, if the display uses DC dimming mode for brightness adjustment, the number of control signals transmitted per control cycle is 1 pulse; if the display uses PWM dimming mode for brightness adjustment, the number of control signals transmitted per control cycle is 32 pulses. If the black insertion width of each control signal is 40h, and the porch duration is assumed to be 80h, the total duration is 2800 + 80 = 2880h. Then, in PWM dimming mode, the EM duty is 1 - (40 * 32 / 2800) * 100% = 55.6%, and in DC dimming mode, the EM duty is 1 - (40 * 1 / 2880) * 100% = 98.6%. The difference is significant. Therefore, if the dimming mode of the display is switched from DC dimming mode to PWM dimming mode, screen flickering will occur.
[0137] To improve the aforementioned screen flickering phenomenon, embodiments of this application provide a display method, electronic device, and storage medium. During the process of adjusting the brightness of the display screen, one or more preset number of control signals can be added when switching dimming modes, and the display brightness of the display screen is adjusted based on the dimming mode corresponding to the preset number of control signals. The following will be combined with... Figure 4 This application provides a detailed description of the display method provided in its embodiments. This display method is applied to an electronic device, which may include an application processor (AP), a display driver IC (DDIC), and a display screen. The display method includes the following steps:
[0138] S100, in response to changes in ambient light or human adjustment, the application processor generates a dimming request.
[0139] In one embodiment of this application, the application processor may determine whether the display brightness needs to be adjusted based on changes in ambient light or manual adjustments to the display brightness, and generate a dimming request when it is determined that the display brightness needs to be adjusted.
[0140] S101, the application processor sends a dimming request to the display driver circuit.
[0141] In one embodiment of this application, after the application processor generates a dimming request, it sends the dimming request to the display driver circuit to control the display driver circuit to adjust the brightness of the display screen.
[0142] S102, the display driving circuit determines the current corresponding first dimming mode and the first number of control signals corresponding to the first dimming mode.
[0143] Typically, to ensure optimal display performance both when the screen brightness is less than or equal to a preset brightness and when it exceeds the preset brightness, different dimming modes can be used to adjust the screen brightness for different brightness levels. For example, when the screen brightness exceeds the preset brightness (i.e., in the high-brightness, low-frequency range), DC dimming (Gamma dimming, adjusting the current / voltage of the EM signal) is typically used to adjust the screen brightness. This involves setting the number of control signals transmitted in each control cycle in DC dimming mode to a few pulses, such as 1, 2, or 3. Gamma dimming is then applied by fixing the EM duty cycle of the control signal. Specifically, the screen brightness is adjusted by calling the Gamma parameter corresponding to the current / voltage of the EM signal. When the screen brightness is less than or equal to the preset brightness (i.e., in the low-brightness, high-frequency range), PWM dimming (adjusting the duty cycle of the EM signal) is typically used to adjust the screen brightness. In one embodiment of this application, the preset brightness can be 90 nits or other values; this application does not limit this.
[0144] It should be noted that in some embodiments, in the low brightness and high frequency range, in addition to adjusting the brightness of the display screen by adjusting the duty cycle of the EM signal, the brightness of the display screen can also be adjusted by fixing the duty cycle of the high frequency EM signal in some brightness ranges (such as 2 nit to 5 nit) and adjusting the brightness of the display screen by Gamma dimming.
[0145] In this embodiment, before adjusting the display brightness, the current dimming mode of the display screen and the number of control signals transmitted in each control cycle under the current dimming mode are determined first. Thus, when the AP receives a dimming request, it can first determine the corresponding first dimming mode and the first number of control signals corresponding to the first dimming mode.
[0146] In one embodiment of this application, it is assumed that the current dimming mode of the display screen is a first dimming mode, that is, the display driving circuit is determined to be operating in the first dimming mode, and a first number of control signals is determined corresponding to the display driving circuit operating in the first dimming mode. The first dimming mode can be a DC dimming mode or a PWM dimming mode. If the display driving circuit is operating in DC dimming mode, then the display driving circuit adjusts the display brightness of the display screen by transmitting a first number of control signals in each control cycle. The first number can be 1, that is, when the display driving circuit is operating in DC dimming mode, 1 control signal (1 pulse) is transmitted in each control cycle. If the display driving circuit is operating in PWM dimming mode, then the display driving circuit adjusts the display brightness of the display screen by transmitting a first number of control signals in each control cycle. The first number can be 32, that is, when the display driving circuit is operating in PWM dimming mode, 32 control signals (32 pulses) are transmitted in each control cycle. In other embodiments, the first number can also be a smaller value such as 2 or 3, which is not limited in this application.
[0147] S103, the application processor (AP) determines the target brightness based on the dimming request.
[0148] In one embodiment of this application, after the application processor (AP) generates a dimming request, the AP determines the target brightness based on the dimming request. For example, in one application scenario, when a user moves their handheld electronic device from outdoors to indoors, the application processor can determine the need to adjust the display brightness based on changes in outdoor and indoor ambient light. Upon determining that the display brightness needs to be adjusted, the application processor generates a dimming request and determines the target brightness based on the dimming request.
[0149] The application processor can also determine whether the display brightness needs to be adjusted based on user input. For example, in response to a user's sliding motion on the brightness bar in the brightness adjustment interface, if the application processor determines that the display brightness needs to be adjusted, it generates a dimming request and determines the target brightness based on the dimming request.
[0150] S104, the application processor sends the target brightness to the display driver circuit.
[0151] S105, the display driver circuit determines whether the corresponding dimming mode is the first dimming mode or the second dimming mode based on the target brightness.
[0152] In this embodiment, to ensure the display effect, during the process of adjusting the brightness of the display screen to the target brightness, the display driving circuit needs to determine whether the dimming mode corresponding to the target brightness is a first dimming mode or a second dimming mode, so as to adjust the display brightness of the screen to the target brightness according to the determined dimming mode. It then determines whether to switch the dimming mode based on the current dimming mode and the target brightness. If it is determined that a dimming mode switch is needed, the brightness of the display screen can be adjusted to the target brightness according to the switched dimming mode.
[0153] In this embodiment, the dimming mode corresponding to the target brightness can be determined as either a first dimming mode or a second dimming mode based on the magnitude of the target brightness and the preset brightness. Specifically, if the target brightness is less than or equal to the preset brightness, the dimming mode corresponding to the target brightness is determined to be the first dimming mode; or if the target brightness is greater than the preset brightness, the dimming mode corresponding to the target brightness is determined to be the second dimming mode.
[0154] For example, when the target brightness is less than or equal to the preset brightness, in order to ensure the display effect of the screen when the display brightness is low, the corresponding dimming mode is determined to be the first dimming mode, which is the PWM dimming mode. When the target brightness is greater than the preset brightness, in order to ensure the display effect of the screen when the display brightness is high, the corresponding dimming mode is determined to be the second dimming mode, which is the DC dimming mode.
[0155] If the dimming mode corresponding to the target brightness is determined to be the second dimming mode, the process proceeds to steps S105-S109. If the dimming mode corresponding to the target brightness value is determined to be the first dimming mode, the process proceeds to step S110.
[0156] The dimming mode corresponding to the target brightness is determined to be the second dimming mode. Step S105 is executed to determine the second number of control signals corresponding to the second dimming mode.
[0157] In this embodiment, if the dimming mode corresponding to the target brightness is determined to be the second dimming mode, before adjusting the display brightness of the screen to the target brightness, it is also necessary to determine the second number of control signals transmitted under the second dimming mode. For example, when the second dimming mode is determined to be a DC dimming mode, a control signal of 1 pulse is determined to be transmitted under the DC dimming mode; when the second dimming mode is determined to be a PWM dimming mode, a control signal of 32 pulses is determined to be transmitted under the PWM dimming mode.
[0158] S106, a control signal for determining a preset quantity based on the first quantity and the second quantity.
[0159] In one embodiment of this application, in order to ensure that the display driving circuit does not flicker during the process of adjusting the display brightness of the display screen, it is necessary to ensure that the display driving circuit does not flicker during the process of switching from the first dimming mode to the second dimming mode.
[0160] For example, when the display driver circuit adjusts the display brightness in DC mode using a 1+pulse control signal, after the application processor sends the target brightness to the display driver circuit, the display driver circuit determines that it needs to switch the dimming mode to PWM dimming mode based on the target brightness, and determines that a 32-pulse control signal needs to be transmitted in PWM dimming mode. Because the EM duty of the control signal differs significantly during the switch from transmitting a 1-pulse control signal to transmitting a 32-pulse control signal, for example, the EM duty of the control signal is 98.6% in 1-pulse DC dimming mode and 55.6% in 32-pulse PWM dimming mode, a significant difference will cause screen flickering. To improve the flickering problem, during the dimming mode switching process, the display driver circuit can first adjust the display brightness using a preset number of control signals, and then adjust the display brightness to the target brightness using the control signal corresponding to the switched dimming mode (e.g., PWM dimming mode, such as the 32-pulse control signal). This gradually reduces the EM duty of the control signal from 98.6% to 55.6%, thus improving the flickering problem.
[0161] In one embodiment of this application, the preset brightness is the inflection point brightness when the display switches from PWM dimming mode to DC dimming mode, or vice versa, during the dimming process. For example, assuming the inflection point brightness between DC dimming mode and PWM dimming mode is n1 nit, that is, DC dimming mode is used when the display brightness is greater than or equal to n1 nit, and high-frequency PWM dimming mode is used when the display brightness is less than n1 nit (e.g., n2 nit). If the EM duty difference is too large when switching from DC dimming mode to PWM dimming mode, the display screen will exhibit flickering. To avoid flickering, an n12 nit is added between n1 nit and n2 nit (i.e., the preset display brightness is n12 nit), and a Gamma parameter is set to correspond to n12 nit, with the number of control signals corresponding to the Gamma parameter being 16 pulses. Then, the EM duty corresponding to the display brightness of n12 nit is 1 - (16 * 40 / 2880) = 77.8%. Thus, the dimming mode can be switched from DC dimming mode to 16-pulse PWM dimming mode, and then from 16-pulse PWM dimming mode to 32-pulse PWM dimming mode. This reduces the EM duty from 98.6% to 77.8%, and then from 77.8% to 55.6%, thereby solving the screen flickering problem. In one embodiment of this application, the brightness range between n1 nit and n2 nit can be set very narrow, such as less than 1 nit, or even smaller. This is to ensure that the user remains within the more eye-friendly 32-pulse PWM dimming and DC dimming range as much as possible. In this way, it is possible to stay in the more eye-friendly high-frequency PWM dimming mode and DC dimming mode as much as possible during the dimming process.
[0162] In the embodiments of this application, the preset quantity can be located between the first quantity and the second quantity. For example, if the first quantity is 1 pulse and the second quantity is 32 pulses, then the preset quantity can be 24 pulses, 16 pulses, or 8 pulses, and this application does not limit this.
[0163] In one embodiment of this application, determining a preset number of control signals based on the first quantity and the second quantity includes: comparing the absolute difference between the first quantity and the second quantity with a first preset value. If the absolute difference between the first quantity and the second quantity is greater than or equal to the first preset value, it is determined that the EM duty of the control signal in the first dimming mode is significantly different from that in the second dimming mode. This would easily lead to screen flickering during dimming mode switching, requiring an additional transition point for dimming. For example, the preset display brightness corresponding to the preset number of control signals mentioned in the above embodiment. That is, in addition to adjusting the brightness of the display screen by transmitting the second quantity of control signals within the control cycle, the brightness of the display screen can also be adjusted by transmitting the preset number of control signals within the control cycle. If the absolute difference between the first quantity and the second quantity is less than the first preset value, it is determined that the EM duty of the control signal in the first dimming mode is significantly different from that in the second dimming mode. Therefore, no additional transition point is needed for dimming during dimming mode switching. For example, when the first quantity is 1 pulse and the second quantity is 32 pulses, the first preset value can be 31. In this embodiment, the magnitude of the first preset value is not limited.
[0164] In another embodiment of this application, determining the preset number of control signals based on the first quantity and the second quantity further includes: calculating a first duty cycle of the control signal based on the first quantity; calculating a second duty cycle of the control signal based on the second quantity; comparing the absolute difference between the first duty cycle and the second duty cycle with a second preset value. If the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to the second preset value, it is determined that the EM duty of the control signal in the first dimming mode differs significantly from that in the second dimming mode. During the switching of dimming modes, screen flickering is likely to occur, requiring the addition of a transition point for dimming. That is, in addition to adjusting the brightness of the display screen by transmitting a second quantity of control signals within the control cycle, the brightness of the display screen can also be adjusted by transmitting a preset number of control signals within the control cycle. If the absolute difference between the first duty cycle and the second duty cycle is less than the second preset value, it is determined that the EM duty of the control signal in the first dimming mode differs significantly from that in the second dimming mode. During the switching of dimming modes, no transition point is needed for dimming. For example, when the first quantity is 1 pulse and the second quantity is 32 pulses, the second preset value can be 43%. In this embodiment of the application, the size of the second preset value is not limited.
[0165] It should be noted that, for specific examples of adjusting the brightness of the display screen according to a preset number of control signals in the embodiments of this application, please refer to the following text. Figure 7Aand Figure 7B The details of that will not be repeated here.
[0166] In one embodiment of this application, if after determining a preset number of control signals based on the first and second quantities, the duty cycle of the first number of control signals still differs significantly from that of the preset number of control signals, the problem of screen flickering during dimming may still persist. In this case, N preset numbers of control signals can be determined based on the first and second quantities, wherein each of the N preset numbers of control signals is distinct and corresponds to a preset display brightness, where N is an integer greater than 1. The display driving circuit is then controlled to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset numbers of control signals, thereby resolving the screen flickering problem.
[0167] In one embodiment of this application, in order to avoid screen flickering, N preset number of control signals are all different and each preset number of control signals corresponds to a preset display brightness, where N is an integer greater than or equal to 1.
[0168] In some embodiments, according to Figure 7A and Figure 7B As shown in the brightness adjustment curve, the preset display brightness corresponds to an actual brightness DBV, and the actual brightness DBV corresponds to a set of corresponding Gamma parameter points. Thus, based on the determined N preset number of control signals, the Gamma parameter points corresponding to the preset display brightness of each of the N preset number of control signals can be added within a set of Gamma parameters, so as to correct the display screen to achieve the target color and brightness and meet the color and brightness specifications.
[0169] S108, control the display driving circuit to work in pulse width modulation (PWM) dimming mode, and transmit the preset number of control signals in each control cycle, so that the brightness of the display screen is adjusted to the preset display brightness.
[0170] In one embodiment of this application, a preset number of control signals is determined based on the first quantity and the second quantity. The preset number of control signals corresponds to a preset display brightness, and the display brightness of the screen can be adjusted to the preset display brightness according to the preset number of control signals. Specifically, the display driving circuit is controlled to operate in pulse width modulation (PWM) dimming mode, and the preset number of control signals are transmitted in each control cycle, so that the brightness of the display screen is adjusted to the preset display brightness.
[0171] In one embodiment of this application, if N preset numbers of control signals are determined based on the first number and the second number, the display driving circuit is controlled to gradually adjust the brightness of the display screen to the Nth preset display brightness corresponding to the Nth preset number of control signals based on the PWM dimming mode and the N preset number of control signals, thus avoiding screen flickering. Specifically, the display driving circuit is controlled to operate in the PWM dimming mode, transmitting a first preset number of control signals in each control cycle, causing the brightness of the display screen to be adjusted to a first preset brightness corresponding to the first preset number of control signals; the display driving circuit is then controlled to transmit a second preset number of control signals in each control cycle, causing the brightness of the display screen to be adjusted to a second preset brightness corresponding to the second preset number of control signals; the above process is repeated until the brightness of the display screen is adjusted to the Nth preset brightness corresponding to the Nth preset number of control signals.
[0172] For example, if three preset quantities of control signals are determined based on the first quantity and the second quantity, where each preset quantity of control signals corresponds to a preset brightness. If the three preset quantities of control signals are a first preset quantity of control signals, a second preset quantity of control signals, and a third preset quantity of control signals, where the first preset quantity of control signals is a 24-pulse control signal corresponding to the first preset brightness; the second preset quantity of control signals is a 16-pulse control signal corresponding to the second preset brightness; and the third preset quantity of control signals is an 8-pulse control signal corresponding to the third preset brightness, then in the PWM dimming mode, the display driver circuit is controlled to transmit a 24-pulse control signal in each control cycle, causing the brightness of the display screen to adjust to the first preset brightness; the display driver circuit continues to transmit a 16-pulse control signal in each control cycle until the brightness of the display screen is adjusted to the second preset brightness; and the display driver circuit continues to transmit an 8-pulse control signal in each control cycle until the brightness of the display screen is adjusted to the third preset brightness. Conversely, in the PWM dimming mode, the display driver circuit is controlled to transmit 8 pulses of control signal in each control cycle, so that the brightness of the display screen is adjusted to the third preset brightness; the display driver circuit is further controlled to transmit 16 pulses of control signal in each control cycle until the brightness of the display screen is adjusted to the second preset brightness; the display driver circuit is further controlled to transmit 24 pulses of control signal in each control cycle until the brightness of the display screen is adjusted to the first preset brightness.
[0173] Specifically, if the display driver circuit is determined to be operating in PWM dimming mode corresponding to a 32-pulse EM signal, and the current display brightness is less than 90 nits; when the AP sends a target brightness of 91 nits to the display driver circuit, the display driver circuit determines that the dimming mode corresponding to the target brightness of 91 nits is DC dimming mode, and corresponds to a 1-pulse EM signal. Since the EM duty of 98.6% in DC dimming mode differs significantly from the EM duty of 55.6% in PWM dimming mode, screen flickering may occur during the process of adjusting the display brightness from less than 90 nits to 91 nits. To avoid screen flickering, the display driver circuit also determines that the PWM dimming mode corresponds to three preset numbers of EM signals: 24-pulse EM signals, 16-pulse EM signals, and 8-pulse EM signals. Furthermore, the actual brightness value corresponding to the 24-pulse EM signal is set to 89.2 nits, the actual brightness value corresponding to the 16-pulse EM signal is set to 89.5 nits, and the actual brightness value corresponding to the 8-pulse EM signal is set to 89.8 nits. The display driver circuit can then continue operating in PWM dimming mode, adjusting the display brightness to 89.2 nits via a 24-pulse EM signal; to 89.5 nits via a 16-pulse EM signal; and to 89.8 nits via an 8-pulse EM signal. It then switches from PWM dimming mode to DC dimming mode, adjusting the display brightness to 91 nits via a 1-pulse EM signal. This avoids screen flickering during the adjustment of the display brightness from less than 90 nits to 91 nits.
[0174] In another embodiment of this application, if it is determined that the display driving circuit is operating in PWM dimming mode corresponding to a 32-pulse EM signal, and the current display brightness is less than 90 nits; when the AP determines that a target brightness of 91 nits needs to be sent to the display driving circuit according to the dimming request, it first determines that the dimming mode corresponding to the target brightness of 91 nits is PWM dimming mode. In PWM dimming mode, there are also three preset numbers of EM signals: 24-pulse EM signals, 16-pulse EM signals, and 8-pulse EM signals. Furthermore, the actual brightness value corresponding to the 24-pulse EM signal is set to 89.2 nits, the actual brightness value corresponding to the 16-pulse EM signal is set to 89.5 nits, and the actual brightness value corresponding to the 8-pulse EM signal is set to 89.8 nits. The AP needs to continuously send the DBV values corresponding to 89.2 nits, 89.5 nits, and 89.8 nits to the display driving circuit, and the display driving circuit switches the brightness and the corresponding set number of EM pulses sequentially according to the received DBV values.
[0175] In this embodiment, the brightness of the display screen can also be adjusted to the preset display brightness according to the Gamma parameter corresponding to the preset display brightness. Gamma is a non-linear function that can convert the original pixel values of the display screen into displayable brightness values. In the process of adjusting the brightness using the Gamma parameter, the higher the Gamma value, the lower the brightness of the display screen, and vice versa.
[0176] S109, control the display driving circuit to operate in the second dimming mode, and transmit the second number of control signals in each control cycle, so that the brightness of the display screen is adjusted from the preset display brightness to the target brightness.
[0177] In this embodiment, after adjusting the brightness of the display screen to a preset display brightness using a preset number of control signals, it is also necessary to adjust the brightness of the display screen from the preset display brightness to the target brightness. Specifically, by controlling the display driving circuit to operate in a second dimming mode, the second number of control signals are transmitted in each control cycle, causing the brightness of the display screen to be adjusted from the preset display brightness to the target brightness. Thus, after the electronic device receives a dimming request, the brightness of the display screen can be gradually adjusted to the target brightness without screen flickering, improving the display effect.
[0178] The dimming mode corresponding to the target brightness is determined to be the first dimming mode. Step S110 is executed to control the display driving circuit to adjust the brightness of the display screen to the target brightness based on the first dimming mode and the first number of control signals.
[0179] In this embodiment of the application, if it is determined that the dimming mode corresponding to the target brightness is still the first dimming mode, then it is determined that in the process of adjusting the brightness of the display screen to the target brightness, it is not necessary to switch the dimming mode. The display driving circuit can be controlled to adjust the brightness of the display screen to the target brightness value based on the first dimming mode and the first number of control signals.
[0180] For example, when the first dimming mode is DC dimming mode, the first quantity is 1 pulse. If it is determined that the dimming mode corresponding to the target brightness is still DC dimming mode, the display driver circuit is controlled to operate in DC dimming mode, adjusting the brightness of the display screen to the target brightness by transmitting a 1-pulse control signal in each control cycle. When the first dimming mode is PWM dimming mode, the first quantity is 32 pulses. If it is determined that the dimming mode corresponding to the target brightness is still PWM dimming mode, the display driver circuit is controlled to operate in PWM dimming mode, adjusting the brightness of the display screen to the target brightness by transmitting a 32-pulse control signal in each control cycle.
[0181] The display method provided in the above embodiments of this application can add one or more intermediate dimming intervals (i.e., add N preset number of control signals in the corresponding dimming mode) between the high-brightness low-frequency DC interval and the low-brightness high-frequency PWM interval to avoid screen flickering when switching between DC dimming mode and PWM dimming mode. Furthermore, N corresponding Gamma points can be set for the added N preset number of control signals to avoid screen flickering even when using Gamma dimming.
[0182] It should be noted that, in this embodiment, a set of Gamma parameters corresponding to the actual brightness can be preset, and this set of Gamma parameters can correspond to all actual brightness levels of the display screen. For example, from a minimum brightness of 2 nits to a maximum brightness of 1600 nits. This set of Gamma parameters includes a preset number of Gamma bands (e.g., 10 Gamma bands), each Gamma band includes multiple Gamma binding points, and each Gamma binding point corresponds to multiple actual brightness levels. In this way, a correspondence between the Gamma parameters and the actual brightness can be established. Based on the correspondence between the Gamma parameters and the actual brightness values, and the correspondence between the actual brightness and the DBV (Diagram of Maximum Brightness), the display brightness of the screen can be adjusted by adjusting the Gamma parameters.
[0183] In this embodiment, taking a maximum actual brightness of 1600 nits and a DBV of 12 bits (i.e., 4095 DBV values) as an example, a DBV value of 4095 corresponds to a maximum brightness of 1600 nits. (See reference...) Figure 7AThe brightness adjustment curve diagram shown depicts DBV on the horizontal axis and actual brightness on the vertical axis. Based on the EM signals corresponding to DC dimming and PWM dimming modes, two intervals can be divided on the brightness adjustment curve. For example, setting the actual brightness value above 90 nits to use DC dimming mode (corresponding to a 1-pulse control signal) and below 90 nits to use PWM dimming mode (corresponding to a 32-pulse control signal), then the brightness adjustment curve can be divided into a high-brightness, low-frequency DC interval from 90 nits to 1600 nits, and a low-brightness, high-frequency PWM interval from 2 nits to 90 nits. It should be noted that the entire display brightness range corresponds to a set of Gamma parameters (e.g., Gamma 1 to Gamma 10), which correspond to brightness values from 2 nits to 1600 nits. Since the brightness values from 2 nits to 1600 nits correspond to fixed DBV values via the Gamma curve, Gamma 1 to Gamma 10 also correspond to fixed DBV values. Adjusting the Gamma parameters can adjust the actual display brightness of the screen.
[0184] In one embodiment, if the display driver circuit is determined to be operating in DC dimming mode corresponding to a 1-pulse EM signal, and the current display brightness is greater than 90 nits; when the AP sends a target brightness of 89 nits to the display driver circuit, the display driver circuit determines that the dimming mode corresponding to the target brightness of 89 nits is PWM dimming mode, and corresponds to a 32-pulse EM signal. Since the EM duty in DC dimming mode is 98.6%, which differs significantly from the EM duty in PWM dimming mode (55.6%), screen flickering may occur when adjusting the display brightness from greater than 90 nits to 89 nits. To avoid screen flickering, the display driver circuit determines that the PWM dimming mode also corresponds to a 16-pulse EM signal, and sets a preset display brightness corresponding to the 16-pulse EM signal (i.e.,... Figure 7A The actual brightness (represented by the vertical axis) is 89.5 nits. Therefore, the display driver circuit can first switch from DC dimming mode to PWM dimming mode, and in PWM dimming mode, adjust the display brightness to 89.5 nits using 16 pulses of EM signals (e.g., the preset number of control signals mentioned in the above embodiment); then continue operating in PWM dimming mode, adjusting the display brightness to 89 nits using 32 pulses of EM signals. In this way, screen flickering can be avoided when adjusting the display brightness from greater than 90 nits to 89 nits.
[0185] Simultaneously, three ranges can be obtained on the brightness adjustment curve: the range from 90 nits to 1600 nits is divided into a high-brightness, low-frequency DC range; the range from 89 nits to 90 nits is divided into a transition range; and the range from 2 nits to 89 nits is divided into a low-brightness, high-frequency PWM range. Figure 7B As shown. Based on the method described above for calculating EM duty, the EMduty corresponding to the 16-pulse EM signal can be calculated as 1 - (40*16 / 2880)*100% = 77.8%. The timing diagrams for the 1-pulse EM signal in DC dimming mode, the 16-pulse EM signal in PWM dimming mode, and the 32-pulse EM signal in PWM dimming mode are shown below. Figure 8 As shown.
[0186] In another embodiment, if the display driver circuit is determined to be operating in PWM dimming mode corresponding to a 32-pulse EM signal, and the current display brightness is less than 90 nits; when the AP sends a target brightness of 91 nits to the display driver circuit, the display driver circuit determines that the dimming mode corresponding to the target brightness of 91 nits is DC dimming mode, and corresponds to a 1-pulse EM signal. Since the EM duty in DC dimming mode is 98.6%, which differs significantly from the EM duty in PWM dimming mode (55.6%), screen flickering may occur during the process of adjusting the display brightness from less than 90 nits to 91 nits. To avoid screen flickering, the display driver circuit determines that PWM dimming mode also corresponds to a 16-pulse EM signal, and sets the preset display brightness corresponding to the 16-pulse EM signal to 89.5 nits. Therefore, the display driver circuit can first continue operating in PWM dimming mode, adjusting the display brightness to 89.5 nits using the 16-pulse EM signal; then switch from PWM dimming mode to DC dimming mode, adjusting the display brightness to 91 nits using the 1-pulse EM signal in DC dimming mode. In this way, screen flickering can be avoided when adjusting the brightness of the display from less than 90 nits to 91 nits.
[0187] In one embodiment of this application, a preset Gamma point corresponding to a display brightness of 89.5 nit can be set so that when the brightness of the display screen is adjusted to 89 nit by adjusting the Gamma parameter, screen flickering can also be avoided.
[0188] The above display method allows for the addition of one or more preset numbers (i.e., one or N preset numbers) of control signals when switching dimming modes, and the display brightness of the screen can be adjusted in PWM dimming mode based on these preset numbers of control signals to avoid screen flickering.
[0189] In another embodiment of this application, in certain application scenarios, such as Always On Display (AOD) scenarios, a low-frequency PWM dimming mode is generally used to adjust the brightness of the display screen. That is, the frequency of the control signal in PWM dimming mode is less than a preset frequency. If, in response to a user's scene switching operation, the AOD scene needs to be switched to a preset scene (e.g., a game scene), a high-frequency or medium-frequency PWM dimming mode is required to adjust the brightness of the display screen in the preset scene. That is, the frequency of the control signal in PWM dimming mode is greater than or equal to the preset frequency. Thus, due to the significant difference in the EM duty of the control signal in different scenes, screen flickering occurs during the switching of display scenes by the electronic device. If the frequency of the control signal transmitted in the PWM dimming mode becomes even higher (i.e., the number of control signals transmitted in each control cycle is larger), the screen flickering problem becomes more severe during the switching of display scenes.
[0190] To improve the aforementioned screen flickering phenomenon, this application provides another display method, electronic device, and storage medium. During the switching of display scenes on the electronic device, by adding a preset number of control signals (i.e., control signals for transition levels) and corresponding Gamma parameters, the brightness of the display screen can be adjusted based on the preset number of control signals and the Gamma parameter to avoid screen flickering. The following will combine... Figure 9 This application provides a detailed description of the display method provided in its embodiments. This display method is applied to an electronic device, which may include an application processor (AP), a display driver IC (DDIC), a display driver circuit, and a display screen. The display method includes the following steps:
[0191] S200, when the electronic device is in the first display scene, determine the first number of control signals and the first set of Gamma parameters corresponding to the display driving circuit operating in the first dimming mode.
[0192] Because electronic devices have different screen parameter settings when operating in different display scenarios, they need to meet the usage requirements of the display screen in different scenarios. For example, the dimming mode of the display driving circuit is different under different display scenarios, and the number of control signals corresponding to the dimming mode is also different. For example, in a normal usage scenario, the screen refresh rate of the display is 120Hz, and the dimming mode of the display driving circuit is either DC dimming mode or PWM dimming mode. In DC dimming mode, 1 pulse control signal can be used to adjust the brightness of the display screen; in PWM dimming mode, 32 pulse control signals can be used to adjust the brightness of the display screen. However, in certain specific scenarios, such as in AOD scenarios, the screen refresh rate of the display is 30Hz, and power saving is required. The dimming mode of the display driving circuit is PWM dimming mode, and 4 pulse (or 12 pulse or other numbers) control signals can be used to adjust the brightness of the display screen. When the electronic device is in a first display scenario, the first number of control signals corresponding to the first dimming mode of the display driving circuit is determined.
[0193] It should be noted that, in the process of adjusting the brightness of the display screen, in addition to adjusting... Figure 2 The duty cycle of the EM signal in the display driving circuit shown (i.e., the number of control signals corresponding to the first dimming mode) can also be adjusted, as can the voltage magnitude of the EM signal (corresponding to the adjustment of the Gamma parameter). Therefore, when the electronic device is operating in the first display scene, after determining the first number of control signals corresponding to the display driving circuit operating in the first dimming mode, it is also necessary to determine the first set of Gamma parameters corresponding to the display driving circuit operating in the first dimming mode. The brightness of the display screen can be adjusted based on the first number of control signals and the corresponding first set of Gamma parameters.
[0194] In one embodiment of this application, adjusting the brightness of the display screen based on the first number of control signals and the first set of Gamma parameters includes: controlling the display driving circuit to operate in a first dimming mode, transmitting the first number of control signals in each control cycle, and determining the first set of Gamma parameters according to a pre-established first correspondence between display brightness and the first set of Gamma parameters, so as to adjust the brightness of the display screen according to the first set of Gamma parameters. Since the first set of Gamma parameters corresponds to the first set of Gamma voltages, the brightness can be adjusted by adjusting the Gamma voltage. Figure 2The voltage of the EM signal in the display driver circuit shown adjusts the brightness of each pixel on the display screen, thereby adjusting the overall brightness of the display. Therefore, once a first correspondence is established between the display brightness and a first set of Gamma parameters, the display brightness can be adjusted by changing the Gamma parameters.
[0195] Specifically, in this embodiment, a set of Gamma parameters corresponding to the display brightness can be preset, and this set of Gamma parameters can correspond to all display brightness levels of the display screen. For example, from a minimum brightness of 2 nits to a maximum brightness of 1600 nits. This set of Gamma parameters includes a preset number of Gamma bands (e.g., 10 Gamma bands), each Gamma band includes multiple Gamma binding points, and each Gamma binding point corresponds to multiple display brightness levels. In this way, a correspondence between display brightness and Gamma parameters can be established. Based on the correspondence between display brightness and Gamma parameters, and the correspondence between display brightness and DBV (Depth Value), the display brightness of the screen can be adjusted by adjusting the Gamma parameters.
[0196] In the embodiments of this application, the first dimming mode can be either a DC dimming mode or a PWM dimming mode.
[0197] S201, if the electronic device enters the second display scene, determine the second number of control signals and the second set of Gamma parameters corresponding to the display driving circuit operating in the second dimming mode.
[0198] In this embodiment, in response to a scene switching operation, the electronic device enters a second display scene, switching from a first display scene to a second display scene. For example, the electronic device switches from a normal display scene to an AOD display scene. It should be noted that when the electronic device is in the first display scene, the control signal corresponding to the first dimming mode is a high-frequency control signal (such as a 32-pulse EM signal or a higher frequency EM signal). For example, the frequency of the control signal corresponding to the first dimming mode is greater than or equal to a preset frequency. When the electronic device is in the second display scene, the control signal corresponding to the second dimming mode is a mid-frequency control signal or a low-frequency control signal (such as a 4-pulse EM signal or a lower frequency EM signal). For example, the frequency of the control signal corresponding to the second dimming mode is less than the preset frequency.
[0199] When the display scene of the electronic device changes, it can be determined that the electronic device is operating in a second dimming mode corresponding to the second display scene, and that the second dimming mode corresponds to a second number of control signals and a second set of Gamma parameters, wherein the second set of Gamma parameters is different from the first set of Gamma parameters. In this embodiment, the second dimming mode is either a DC dimming mode or a PWM dimming mode. If it is a PWM dimming mode, it corresponds to a 32-pulse control signal and a second set of Gamma parameters.
[0200] S202, a control signal for determining a preset quantity and a third set of Gamma parameters based on the first quantity and the second quantity.
[0201] In this embodiment, due to changes in the display scenario of the electronic device, the number of control signals transmitted in the dimming mode corresponding to the display driving circuit will change, and thus the EM duty of the corresponding control signals will also change. To solve the screen flickering problem that may be caused by changes in EM duty, the display method provided in this application can adjust the brightness of the display screen in PWM dimming mode by determining a preset number of control signals and the corresponding third set of Gamma parameters.
[0202] Specifically, determining a preset number of control signals and a third set of Gamma parameters based on a first quantity and a second quantity includes: comparing the absolute difference between the first quantity and the second quantity with a third preset value. If the absolute difference between the first quantity and the second quantity is greater than or equal to the third preset value, then the EM duty of the control signal corresponding to the first display scene is significantly different from the EM duty of the control signal corresponding to the second display scene. This could lead to screen flickering during brightness adjustment. This application determines a preset number of control signals and a corresponding third set of Gamma parameters, and adjusts the display brightness based on these parameters. During the switching process from the first display scene to the second display scene, the EM duty of the control signal corresponding to the first display scene gradually changes to the EM duty of the control signal corresponding to the second display scene, thus resolving the flickering problem. If the absolute difference between the first quantity and the second quantity is less than the third preset value, then the difference between the EM duty of the control signal corresponding to the first display scene and the EM duty of the control signal corresponding to the second display scene is small, and screen flickering will not occur during brightness adjustment. For example, when the first quantity is 32 pulses and the second quantity is 8 pulses, the third preset value can be 24. In the embodiments of this application, the size of the third preset value is not limited.
[0203] In another embodiment of this application, a first duty cycle of the control signal can be calculated based on the first quantity; a second duty cycle of the control signal can be calculated based on the second quantity; the absolute difference between the first duty cycle and the second duty cycle can be compared with a fourth preset value. If the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to the fourth preset value, the preset quantity of control signals and the third set of Gamma parameters are determined. If the absolute difference between the first duty cycle and the second duty cycle is less than the fourth preset value, the display driving circuit is controlled to operate in the second dimming mode, and the brightness of the display screen is adjusted based on the second quantity of control signals and the second set of Gamma parameters. For example, when the first quantity is 32 pulses and the second quantity is 8 pulses, the fourth preset value can be 33.2%. In this embodiment of the application, the magnitude of the fourth preset value is not limited.
[0204] In the embodiments of this application, each of the three sets of Gamma parameters—the first set, the second set, and the third set—is unique. Specifically, the first set of Gamma parameters differs from the second set, and the first set also differs from the third set; furthermore, the second set of Gamma parameters differs from the third set. This allows for setting different Gamma parameters for different numbers of control signals.
[0205] In another embodiment of this application, N preset quantities of control signals and M sets of Gamma parameters are determined based on the first quantity and the second quantity. The N preset quantities of control signals are all distinct, N is an integer greater than 1, and M is a positive integer where M = N. Each preset quantity of control signals corresponds to one set of the third set of Gamma parameters. For example, if two preset quantities of control signals are determined (i.e., 16-pulse and 8-pulse control signals), then the 16-pulse control signal can correspond to one set of the third set of Gamma parameters, and the 8-pulse control signal can also correspond to one set of the third set of Gamma parameters. Thus, different sets of Gamma parameters can be assigned to different quantities of control signals, allowing the display driver circuit to adjust the brightness of the display screen in different display scenarios according to different Gamma parameters. The timing diagrams of the 4-pulse control signal (i.e., the EM signal) in PWM dimming mode, the 8-pulse control signal in PWM dimming mode, the 16-pulse control signal in PWM dimming mode, and the 32-pulse control signal in PWM dimming mode are shown below. Figure 10 As shown.
[0206] In one embodiment of this application, when an electronic device operates in different display scenarios and adjusts the brightness of the display screen using different dimming modes or the same dimming mode, if different numbers of control signals and different EM duties correspond to different display scenarios, a set of Gamma parameters needs to be set to ensure the display effect of the screen. That is, any two of the first set of Gamma parameters, the second set of Gamma parameters, and the M sets of Gamma parameters are different from each other.
[0207] S203, control the display driving circuit to operate in pulse width modulation (PWM) dimming mode, and adjust the brightness of the display screen based on the preset number of control signals and the third set of Gamma parameters.
[0208] In this embodiment, after adding a new set of independent Gamma parameters (such as a third set of Gamma parameters) and corresponding new PWM parameters (such as a preset number of control signals), the Gamma parameters can be determined according to a pre-established first correspondence between the display brightness and the newly added Gamma parameters, so as to adjust the brightness of the display screen through the Gamma parameters. Specifically, the display driving circuit is controlled to operate in PWM dimming mode, transmitting the preset number of control signals in each control cycle, and determining a third set of Gamma parameters according to the pre-established first correspondence between the display brightness and the third set of Gamma parameters, and adjusting the brightness of the display screen through the determined third set of Gamma parameters.
[0209] It should be noted that a brightness adjustment curve (such as a GAMMA2.2 curve) can be formed based on a first number of control signals and a first set of Gamma parameters, a second number of control signals and a second set of Gamma parameters, and a preset number of control signals and a third set of Gamma parameters. For example... Figure 11A A first brightness adjustment curve is formed based on a first number of control signals and a first set of Gamma parameters. Figure 11B The second brightness adjustment curve is formed based on a preset number of control signals and a third set of Gamma parameters. Figure 11CA third brightness adjustment curve is formed based on a second number of control signals and a second set of Gamma parameters. The same DBV value in the first, second, and third brightness adjustment curves corresponds to the same display brightness. This ensures consistency in display brightness across different scene transitions while maintaining the same display brightness. Ideally, the brightness adjustment curve is obtained by modulating each curve with its own independent Gamma curve and PWM parameters (such as the number of control signals transmitted per control cycle). For example, when the same DBV value corresponds to 32Pulse, 16Pulse, 8Pulse, and 4Pulse, the final display brightness is the same. For instance, if the AP sends a DBV value of 2, corresponding to a display brightness of 2 nits, then the display brightness should also be 2 nits when the DBV value is 2 under the PWM parameters of 32Pulse, 16Pulse, 8Pulse, and 4Pulse. This ensures consistency in display brightness across different display scene transitions (i.e., changes in PWM parameters) while maintaining the same DBV value. Similarly, when the DBV value is 3 nit, 4 nit, or other values, different PWM parameters correspond to the same display brightness for the same DBV value.
[0210] S204, control the display driving circuit to operate in the second dimming mode, and adjust the brightness of the display screen based on the second number of control signals and the second set of Gamma parameters.
[0211] In this embodiment, the display driving circuit first adjusts the display brightness of the screen using the newly added third set of Gamma parameters, and then adjusts the display brightness of the screen using the second set of Gamma parameters, so that no screen flickering occurs when the electronic device switches from the first display scene to the second display scene.
[0212] Specifically, in this embodiment, the display driving circuit is controlled to operate in the second dimming mode, the second number of control signals are transmitted in each control cycle, the second set of Gamma parameters are determined according to the second correspondence between the pre-established display brightness and the second set of Gamma parameters, and the brightness of the display screen is adjusted according to the determined second set of Gamma parameters.
[0213] In another embodiment of this application, in order to ensure the display effect of the screen, if the absolute difference between the first quantity and the second quantity is greater than or equal to a fourth preset value, N preset quantities of control signals and M sets of Gamma parameters can be determined, where N is an integer greater than 1. That is, multiple transition levels (multiple preset quantities of control signals and multiple sets of Gamma parameters) can be added to adjust the display brightness of the screen to improve the flickering problem.
[0214] After determining N preset numbers of control signals and M sets of Gamma parameters, the display driving circuit is controlled to operate in the PWM dimming mode, adjusting the brightness of the display screen based on the N preset numbers of control signals and M sets of Gamma parameters. Specifically, the display driving circuit is controlled to operate in the PWM dimming mode, transmitting a third preset number of control signals in each control cycle, and determining a fourth set of Gamma parameters according to a pre-established correspondence between display brightness and a fourth set of Gamma parameters, adjusting the brightness of the display screen according to the determined fourth set of Gamma parameters; the process continues, controlling the display driving circuit to operate in the PWM dimming mode, transmitting a fourth preset number of control signals in each control cycle, and determining a fifth set of Gamma parameters according to a pre-established correspondence between display brightness and a fifth set of Gamma parameters, adjusting the brightness of the display screen according to the determined fifth set of Gamma parameters; this process is repeated until the display driving circuit is controlled to operate in the PWM dimming mode, transmitting an N preset number of control signals in each control cycle, determining an Mth set of Gamma parameters according to a pre-established correspondence between display brightness and an Mth set of Gamma parameters, and adjusting the brightness of the display screen according to the determined Mth set of Gamma parameters.
[0215] For example, if an electronic device uses DC dimming mode in the high-brightness range of a first display scenario with a first number (e.g., 1 pulse, 2 pulses, or 3 pulses) of control signals, and uses PWM dimming mode in the low-brightness range of the same scenario with a first number (e.g., 32 pulses) of control signals, along with a first set of Gamma parameters, to adjust the display brightness (e.g., from 2 nits to 1600 nits); and in the high-brightness range of a second display scenario, uses DC dimming mode with a second number (e.g., 1 pulse, 2 pulses, or 3 pulses) of control signals, and uses PWM dimming mode in the low-brightness range of the same scenario with a second number (e.g., 8 pulses) of control signals, along with a second set of Gamma parameters, to adjust the display brightness (e.g., from 2 nits to 1600 nits), and since the first number (32 pulses) in the low-brightness range of the first display scenario differs significantly from the second number (8 pulses) in the low-brightness range of the second display scenario, the EM duty of the first number of control signals differs significantly from that of the second number of control signals. To avoid screen flickering during the transition from the first display scenario to the second display scenario, [further steps are needed]. Two sets of Gamma parameters (such as a third and fourth set of Gamma parameters) can be determined for two preset quantities (such as 24 pulses and 16 pulses) of control signals. This allows for adjusting the display brightness (e.g., from 2 nits to 1600 nits) via PWM dimming mode, based on the 24-pulse and 16-pulse control signals, as well as the fourth and fifth set of Gamma parameters. Specifically, in the first display scenario, the display brightness can be adjusted based on a 32-pluse control signal and the corresponding first set of Gamma parameters; then based on a 24-pluse control signal and the corresponding third set of Gamma parameters; then based on a 16-pluse control signal and the corresponding fourth set of Gamma parameters; and finally, in the second display scenario, based on an 8-pluse control signal and the corresponding second set of Gamma parameters.
[0216] To better understand the above display method, examples are provided below. Please refer to [link / reference]. Figure 11AThe brightness adjustment curve shown has DBV on the horizontal axis and actual brightness value (i.e., display brightness) on the vertical axis. In typical usage scenarios, the entire display brightness range corresponds to the first set of Gamma parameters (e.g., Gamma 1 to Gamma 10), which can correspond to brightness values from 2 nits to 1600 nits. Since the brightness values from 2 nits to 1600 nits can be mapped to fixed DBV values via the first Gamma curve, Gamma 1 to Gamma 10 also correspond to fixed DBV values. Adjusting the first set of Gamma parameters can adjust the display brightness. In different display scenarios, the display driver circuit can operate in DC dimming mode and / or PWM dimming mode. For example, when the display brightness is greater than or equal to 90 nits, the display driver circuit operates in DC dimming mode, which corresponds to a 1-pulse EM signal; when the display brightness is less than 90 nits, the display driver circuit operates in PWM dimming mode, which corresponds to a 32-pulse EM signal.
[0217] In response to a scene switching operation, the electronic device switches from a first display scene to a second display scene (such as an AOD scene). The entire display brightness range of the screen corresponds to a second set of Gamma parameters (such as Gamma 1' to Gamma 10'), which can correspond to the screen's brightness values from 2 nits to 500 nits. Since the screen's brightness values from 2 nits to 500 nits can be mapped to fixed DBV values (such as...) through the second Gamma curve... Figure 11C Therefore, Gamma1' to Gamma10' also correspond to fixed DBV values. The display brightness can be adjusted by adjusting the second set of Gamma parameters. In AOD scenarios, to save power, the display driver circuit operates in PWM dimming mode, which corresponds to 4-pulse or 12-pulse EM signals. The 4-pulse EM signal corresponds to one second set of Gamma parameters, and the 12-pulse EM signal corresponds to another second set of Gamma parameters. The display driver circuit can adjust the display brightness using different numbers of EM signals and the corresponding second set of Gamma parameters.
[0218] Because the EM signal corresponding to the PWM dimming mode in the AOD scenario has a 4-pulse or 12-pulse EM duty, which differs significantly from the EM duty corresponding to the 32-pulse EM signal in the PWM dimming mode of the electronic device operating in a normal usage scenario, to avoid screen flickering when the electronic device switches from a normal usage scenario to an AOD scenario, it is necessary to add one or more sets of third-quantity (e.g., 16-pulse or 24-pulse) control signals and corresponding third-group Gamma parameters (e.g., Gamma 1” to Gamma 10”). These third-group Gamma parameters can correspond to brightness values from 2 nits to 1600 nits. Since the brightness values from 2 nits to 1600 nits can be mapped to fixed DBV values (e.g., ...) using the third Gamma curve... Figure 11B Therefore, Gamma 1” to Gamma 10” also correspond to fixed DBV values (i.e., the newly added third set of Gamma parameters corresponds to the display brightness). At this point, the display driver circuit first adjusts the brightness of the display screen using the PWM dimming mode based on a 16-pulse control signal and the third set of Gamma parameters; then, it adjusts the brightness of the display screen using the PWM dimming mode based on a 4-pulse or 12-pulse control signal and the corresponding second set of Gamma parameters. This can prevent screen flickering when electronic devices switch from general use scenarios to AOD scenarios.
[0219] In some embodiments, it can be achieved through Figure 6 The display method shown adjusts the brightness of the display screen, and then, in response to a scene switching operation, adjusts the brightness via... Figure 9 The display method shown adjusts the brightness of the screen to meet the needs of different scenarios.
[0220] The display method provided in this application allows for the first determination of a first number of control signals for an electronic device operating in a first display scenario. Then, after the electronic device switches to a second display scenario, a second number of control signals and a Gamma parameter for operating in the second display scenario are determined. Based on the first and second numbers, one or more preset numbers of control signals at transition levels, along with corresponding Gamma parameters, are added. The display brightness is adjusted using the corresponding Gamma parameters, and then the display brightness in the second display scenario is further adjusted according to the Gamma parameters corresponding to the second display scenario. This method effectively avoids screen flickering during the transition from the first to the second display scenario.
[0221] The display method provided in this application embodiment can be a step executed by a display driver included in an electronic device, or it can be executed by a display chip included in the electronic device. When the display chip runs, it calls a computer program stored in a memory to implement the steps executed by the electronic device.
[0222] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A display method applied in an electronic device, characterized in that, The electronic device includes a display screen, and the method includes: The brightness of the display screen is controlled based on a first number of control signals and a first set of Gamma parameters; The target brightness is determined based on the received dimming request, and a second number of control signals and a second set of Gamma parameters are determined based on the target brightness. The first duty cycle of the control signal is calculated based on the first quantity, and the second duty cycle of the control signal is calculated based on the second quantity. If the absolute difference between the first duty cycle and the second duty cycle is greater than or equal to a preset value, it is determined that a transition point needs to be added for dimming. N preset quantities of control signals and a third set of Gamma parameters are determined. Each preset quantity of control signals in the N preset quantities of control signals corresponds to a set of the third set of Gamma parameters. N is the number of control signals when adding a transition point for dimming. The duty cycle of the control signal is determined based on the black insertion width and quantity of the control signal and the scanning time of each line of the display screen. The electronic device is controlled to operate in pulse width modulation (PWM) dimming mode. Based on N preset control signals and the third set of Gamma parameters, the brightness of the display screen is gradually adjusted to the preset display brightness corresponding to the N preset control signals and the Mth set of Gamma parameters. The brightness adjustment process includes: controlling the electronic device to operate in the PWM dimming mode, transmitting a third preset number of control signals in each control cycle, determining the fourth set of Gamma parameters according to the pre-established correspondence between display brightness and the fourth set of Gamma parameters, adjusting the brightness of the display screen according to the determined fourth set of Gamma parameters; and continuing to control the electronic device. Operating in the PWM dimming mode, a fourth preset number of control signals are transmitted in each control cycle, and a fifth set of Gamma parameters is determined based on a pre-established correspondence between display brightness and a fifth set of Gamma parameters. The brightness of the display screen is adjusted according to the determined fifth set of Gamma parameters. The brightness adjustment process is repeated until the electronic device is controlled to operate in the PWM dimming mode, where an Nth preset number of control signals are transmitted in each control cycle, and an Mth set of Gamma parameters is determined based on a pre-established correspondence between display brightness and an Mth set of Gamma parameters. The brightness of the display screen is adjusted according to the determined Mth set of Gamma parameters. If the absolute difference between the first duty cycle and the second duty cycle is less than the preset value, it is determined that no transition point needs to be added for dimming. Based on the second number of control signals and the second set of Gamma parameters, the brightness of the display screen is adjusted to the target brightness. The second number is the number of control signals when dimming is not added for dimming.
2. The display method as described in claim 1, characterized in that, The method further includes: Based on the first quantity and the second quantity, determine the N preset quantities of control signals and M sets of Gamma parameters, wherein the N preset quantities of control signals are all different, N is an integer greater than 1, M is a positive integer, and M=N.
3. The display method according to any one of claims 1 to 2, characterized in that, The first set of Gamma parameters, the second set of Gamma parameters, and the third set of Gamma parameters are all different from each other.
4. The display method as described in claim 1, characterized in that, The control of the electronic device to operate in pulse width modulation (PWM) dimming mode, based on N preset control signals and the third set of Gamma parameters, progressively adjusts the brightness of the display screen to the preset display brightness corresponding to the N preset control signals and the Mth set of Gamma parameters, including: The electronic device is controlled to operate in the PWM dimming mode, and the preset number of control signals are transmitted in each control cycle. The third set of Gamma parameters is determined according to the pre-established correspondence between the display brightness and the third set of Gamma parameters, and the brightness of the display screen is adjusted through the third set of Gamma parameters.
5. An electronic device, characterized in that, The electronic device includes a display screen, a memory, and a processor; The display screen, the memory, and the processor are coupled together; The memory is used to store program instructions; The processor is configured to read the program instructions stored in the memory to implement the display method as described in any one of claims 1 to 4 to adjust the display brightness of the display screen.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the display method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Display screen dimming method and device
CN111599296A
Brightness regulation and control method and device, equipment, storage medium and display screen
CN113516944A
Brightness adjusting method and related device
CN114596819A