Display compensation method and device of display panel

By obtaining the grayscale value and average brightness load of each pixel in the OLED display panel, and using a compensation lookup table for brightness and color compensation, the problem of brightness and color uniformity in OLED display panels under high resolution and high refresh rate is solved, achieving efficient brightness uniformity and color fidelity.

CN121963642APending Publication Date: 2026-05-01ANALOGIX (SHANGHAI) SEMICONDUCTOR CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ANALOGIX (SHANGHAI) SEMICONDUCTOR CO LTD
Filing Date
2026-01-22
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Under high resolution and high refresh rate, load changes in OLED display panels can lead to uneven brightness and color, as well as color shift. Existing compensation technologies have limited dynamic range, insufficient color accuracy, and low computational efficiency.

Method used

By acquiring the grayscale value of each pixel in the current frame of the display panel, calculating the average brightness load, using a compensation lookup table for brightness and color compensation, and combining a high-precision colorimeter and display control unit for fully automatic data acquisition, a brightness-grayscale mapping relationship is constructed to correct the IR-Drop effect in real time.

Benefits of technology

At high resolution and high refresh rate, it achieves significant improvements in brightness uniformity and color fidelity, maintaining good display performance, especially under dynamic display content and different load conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121963642A_ABST
    Figure CN121963642A_ABST
Patent Text Reader

Abstract

The invention discloses a display compensation method and device of a display panel. The method comprises the steps of obtaining a gray value of each pixel in a current display frame of a display panel; determining an average brightness load of a current display picture in the display panel according to the gray value; searching in a compensation lookup table by taking the gray value and the average brightness load as indexes to obtain a second lookup combination with the highest matching degree with the first lookup combination corresponding to the gray value and the average brightness load, the compensation lookup table being used for recording compensation values under different brightness loads and different gray combinations; determining a compensation value corresponding to the second search combination as a target compensation value of the first search combination; and performing brightness and chromaticity compensation on the pixel according to the target compensation value. According to the OLED display panel, the technical problems that the influence of load change of the OLED display panel on the brightness and the chromaticity is more and more obvious in the related technology, and particularly under different gray scales and load conditions, the influence causes non-uniform display and color shift are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Display compensation method and device for display panel Technical Field

[0001] This invention relates to the field of display control technology, and more specifically, to a display compensation method and apparatus for a display panel. Background Technology

[0002] With the continuous advancement of display technology, OLED (Organic Light Emitting Diode) has become one of the mainstream choices for high-end displays due to its self-emissive nature, high contrast, thinness, wide viewing angle, and fast response time. However, as OLED display panels develop towards higher resolution, larger size, and higher refresh rates, the impact of the power network impedance within the panel is gradually becoming apparent, especially during complex image transitions and high grayscale displays. The voltage drop caused by power network impedance, known as the IR-Drop phenomenon, has become one of the key factors limiting the performance of OLED displays.

[0003] In OLED display panels, a stable supply of driving voltage is crucial for maintaining the uniformity of screen brightness and color. However, when the screen load (i.e., average brightness or grayscale) changes, the current in the power network also changes, causing fluctuations in the power supply voltage. This voltage fluctuation directly manifests as a decrease in pixel driving voltage, thus affecting the luminous brightness of the OLED device. More importantly, the degree of brightness decay is closely related to the displayed content. Especially when displaying different colors, the brightness decay rates of the R (red), G (green), and B (blue) sub-pixels are not the same; this characteristic is called color-dependent brightness decay. This non-uniform decay can lead to severe color shift, reducing the overall display quality.

[0004] Currently, various techniques have been developed in the industry to compensate for the IR-Drop effect. For example, some solutions attempt to reduce power network impedance through circuit design optimization, thereby mitigating the impact of IR-Drop. Others compensate at the software level, typically using compensation algorithms based on fixed grayscale loads. However, these methods have the following drawbacks:

[0005] 1) Limited dynamic range: Most existing compensation technologies are only optimized for a few fixed grayscale load conditions and cannot effectively adapt to dynamic changes in the displayed content, especially complex images under high resolution and high refresh rate.

[0006] 2) Insufficient color accuracy: Most existing technologies focus on compensating for brightness uniformity while neglecting the maintenance of color uniformity. Especially under different gray levels and load ratios, color display deviations are often more obvious, which limits the applicability of monitors in professional applications.

[0007] 3) Low computational efficiency: Although some algorithms can achieve high-quality compensation, their complex calculation process leads to high latency, which may not be suitable for display scenarios with strict real-time requirements.

[0008] There is currently no effective solution to the above problems. Summary of the Invention

[0009] This invention provides a display compensation method and apparatus for a display panel, which at least addresses the technical problem in the related art that the load variation of OLED display panels has an increasingly significant impact on brightness and color, especially under different gray levels and load conditions, leading to display unevenness and color shift.

[0010] According to one aspect of the present invention, a display compensation method for a display panel is provided, comprising: obtaining the grayscale value of each pixel in the current display frame of the display panel; determining the average brightness load of the current display screen in the display panel based on the grayscale value; searching in a compensation lookup table using the grayscale value and the average brightness load as indexes to obtain a second lookup combination that has the highest matching degree with a first lookup combination corresponding to the grayscale value and the average brightness load, wherein the compensation lookup table is used to record compensation values ​​under different brightness loads and different grayscale combinations; determining the compensation value corresponding to the second lookup combination as a target compensation value of the first lookup combination; and performing brightness and chromaticity compensation on the pixel based on the target compensation value.

[0011] Optionally, obtaining the grayscale value of each pixel in the current display frame of the display panel includes: reading the display frame data of the current display frame; and calculating the grayscale value of each pixel based on the color information of each pixel in the display frame data.

[0012] Optionally, determining the average brightness load of the current display screen in the display panel based on the grayscale values ​​includes: converting each grayscale value into a brightness value; averaging the brightness values ​​of all pixels in the current display screen to obtain an average brightness value; and converting the average brightness value to obtain the average brightness load.

[0013] Optionally, before searching the compensation lookup table using the grayscale value and the average brightness load as indexes to obtain the second lookup combination with the highest matching degree to the first lookup combination corresponding to the grayscale value and the average brightness load, the display compensation method further includes: generating multiple test patterns containing different grayscale levels and different brightness loads; measuring the actual chromaticity coordinates and actual brightness values ​​of each test pattern on the display panel; generating a compensation matrix based on the actual chromaticity coordinates and the actual brightness values; and optimizing and storing the data corresponding to the compensation matrix to obtain the compensation lookup table.

[0014] Optionally, generating multiple test patterns containing different gray levels and different brightness loads includes: determining the coverage range of the test gray level range and the test brightness load level; determining multiple combinations of gray levels and brightness loads corresponding to the test gray level range and the coverage range; generating the test pattern based on the multiple combinations of gray levels and brightness loads, wherein the test pattern is divided into an inner region and an outer region, the inner region being the region located at the center of the display panel in the test pattern, and the outer region being the portion of the display panel excluding the inner region.

[0015] Optionally, the display compensation method further includes: performing a linear transformation on the actual chromaticity coordinates and the actual luminance value to obtain linear transformation data; generating a color transformation matrix based on the linear transformation data; and determining the inverse matrix of the color transformation matrix to convert the XYZ values ​​of the target color into RGB driving values ​​of the device corresponding to the display panel, wherein the RGB driving values ​​are used to control the voltage of the pixels.

[0016] Optionally, generating a compensation matrix based on the actual chromaticity coordinates and the actual luminance value includes: interpolating the actual chromaticity coordinates and the actual luminance value from two dimensions: grayscale and load, to obtain the interpolation result of the grayscale-luminance load structure; calculating the luminance and chromaticity grayscale compensation values ​​for each grayscale and luminance load combination in Gamma space based on the actual chromaticity coordinates, the actual luminance value, and the interpolation result; and storing the compensation values ​​in the form of a three-dimensional array to obtain the compensation matrix.

[0017] Optionally, performing brightness and chromaticity compensation on the pixel based on the target compensation value includes: superimposing the target brightness value in the target compensation value onto the original brightness value of the pixel to perform brightness compensation on the pixel, and simultaneously superimposing the target chromaticity value in the target compensation value onto the original chromaticity value of the pixel to perform chromaticity compensation on the pixel.

[0018] According to another aspect of the present invention, a display compensation device for a display panel is also provided, comprising: an acquisition unit, configured to acquire the grayscale value of each pixel in the current display frame of the display panel; a first determination unit, configured to determine the average brightness load of the current display screen in the display panel based on the grayscale value; a search unit, configured to search in a compensation lookup table using the grayscale value and the average brightness load as indexes to obtain a second lookup combination that has the highest matching degree with the first lookup combination corresponding to the grayscale value and the average brightness load, wherein the compensation lookup table is used to record compensation values ​​under different brightness loads and different grayscale combinations; a second determination unit, configured to determine that the compensation value corresponding to the second lookup combination is the target compensation value of the first lookup combination; and a compensation unit, configured to perform brightness and chromaticity compensation on the pixel based on the target compensation value.

[0019] Optionally, the acquisition unit includes: a reading module for reading display frame data of the current display frame; and a first calculation module for calculating the grayscale value of each pixel based on the color information of each pixel in the display frame data.

[0020] Optionally, the first determining unit includes: a first conversion module, configured to convert each grayscale value into a brightness value; an averaging module, configured to average the brightness values ​​of all pixels in the current display screen to obtain an average brightness value; and a second conversion module, configured to convert the average brightness value to obtain the average brightness load.

[0021] Optionally, the display compensation device further includes: a first generation unit, configured to generate multiple test patterns containing different gray levels and different brightness loads before searching a compensation lookup table using the grayscale value and the average brightness load as indexes to obtain a second lookup combination that has the highest matching degree with the first lookup combination corresponding to the grayscale value and the average brightness load; a measurement unit, configured to measure the actual chromaticity coordinates and actual brightness values ​​of each test pattern on the display panel; a second generation unit, configured to generate a compensation matrix based on the actual chromaticity coordinates and the actual brightness values; and an optimization storage unit, configured to optimize and store the data corresponding to the compensation matrix to obtain the compensation lookup table.

[0022] Optionally, the first generation unit includes: a first determining module, configured to determine the coverage range of the test grayscale range and the test brightness load level; a second determining module, configured to determine multiple grayscale and brightness load combinations corresponding to the test grayscale range and the coverage range; and a generation module, configured to generate the test pattern based on the multiple grayscale and brightness load combinations, wherein the test pattern is divided into an inner region and an outer region, the inner region being the region located at the center of the display panel in the test pattern, and the outer region being the portion of the display panel excluding the inner region.

[0023] Optionally, the display compensation device further includes: a linear conversion unit, used to perform a linear conversion between the actual chromaticity coordinates and the actual luminance value to obtain linear conversion data; a third generation unit, used to generate a color conversion matrix based on the linear conversion data; and a third determination unit, used to determine the inverse matrix of the color conversion matrix to convert the XYZ values ​​of the target color into RGB driving values ​​of the device corresponding to the display panel, wherein the RGB driving values ​​are used to control the voltage of the pixels.

[0024] Optionally, the second generation unit includes: an interpolation processing module, used to perform interpolation processing on the actual chromaticity coordinates and the actual luminance value from two dimensions: grayscale and load, to obtain the interpolation result of the grayscale-luminance load structure; a second calculation module, used to calculate the luminance and chromaticity grayscale compensation values ​​under each grayscale and luminance load combination in Gamma space based on the actual chromaticity coordinates, the actual luminance value, and the interpolation result; and a storage module, used to store the compensation values ​​in the form of a three-dimensional array to obtain the compensation matrix.

[0025] Optionally, the compensation unit includes a brightness compensation module, configured to superimpose the target brightness value in the target compensation value onto the original brightness value of the pixel to perform brightness compensation on the pixel, and simultaneously superimpose the target chromaticity value in the target compensation value onto the original chromaticity value of the pixel to perform chromaticity compensation on the pixel.

[0026] According to one aspect of the present invention, a display panel is provided, the display panel using the display compensation method of the display panel described in any one of the above embodiments.

[0027] According to one aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein the program executes the display compensation method for a display panel as described in any of the preceding embodiments.

[0028] According to one aspect of the present invention, a processor is provided, the processor being configured to run a program, wherein the program, when running, executes the display compensation method for a display panel as described in any of the preceding embodiments.

[0029] According to one aspect of the present invention, a computer program product is provided, including computer instructions, which, when executed by a processor, perform the display compensation method for a display panel as described in any one of the above embodiments.

[0030] In this embodiment of the invention, the grayscale value of each pixel in the current display frame of the display panel is obtained; the average brightness load of the current display screen in the display panel is determined based on the grayscale value; the grayscale value and the average brightness load are used as indexes to search in a compensation lookup table to obtain a second lookup combination that has the highest matching degree with the first lookup combination corresponding to the grayscale value and the average brightness load, wherein the compensation lookup table is used to record compensation values ​​under different brightness loads and different grayscale combinations; the compensation value corresponding to the second lookup combination is determined to be the target compensation value of the first lookup combination; and brightness and chromaticity compensation is performed on the pixels based on the target compensation value. The above technical solution achieves the goal of simulating different screen loads by independently controlling the grayscale of the internal and external regions. It utilizes a high-precision colorimeter in conjunction with the display control unit for fully automatic data acquisition of chromaticity and brightness. Through color space conversion and a piecewise interpolation strategy under physical constraints, a complete brightness-grayscale mapping relationship is constructed. Compensation values ​​are calculated in Gamma space to generate a compensation matrix. Based on a lookup table, the original grayscale value of each pixel is compensated to correct the IR-Drop effect in real time. This significantly improves the brightness uniformity and color fidelity of OLED displays at high resolution and high refresh rates, maintaining good display effects even under dynamic content and different load ratios. Furthermore, it solves the technical problem that the load changes of OLED display panels have an increasingly significant impact on brightness and chromaticity, especially under different grayscale and load conditions, leading to display unevenness and color shift. Attached Figure Description

[0031] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0032] Figure 1 is a hardware structure block diagram of a mobile terminal according to an embodiment of the present invention, which describes a display compensation method for a display panel.

[0033] Figure 2 is a flowchart of a display compensation method for a display panel according to an embodiment of the present invention;

[0034] Figure 3 is a flowchart of the closed loop from the original measurement to the compensation matrix output according to an embodiment of the present invention;

[0035] Figure 4 is a schematic diagram of some test images according to an embodiment of the present invention;

[0036] Figure 5 is a schematic diagram of a display compensation device for a display panel according to an embodiment of the present invention.

[0037] The above figures include the following reference numerals:

[0038] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation

[0039] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0040] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0041] As described in the background section, the load variation of OLED display panels has an increasingly significant impact on brightness and color, especially under different grayscale and load conditions, leading to defects such as display unevenness and color shift. Embodiments of this invention provide a display compensation method and apparatus for a display panel, a display panel, a computer-readable storage medium, a processor, and a computer program product.

[0042] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0043] The method embodiments provided in this invention can be executed in a mobile terminal, computer terminal, or similar computing device. Taking a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal for a display compensation method for a display panel according to an embodiment of this invention. As shown in FIG1, the mobile terminal may include one or more (only one is shown in FIG1) processors 102 (processor 102 may include, but is not limited to, processing devices such as microprocessors MCUs or programmable logic devices FPGAs) and a memory 104 for storing data. The mobile terminal may also include a transmission device 106 for communication functions and an input / output device 108. It will be understood by those skilled in the art that the structure shown in FIG1 is only illustrative and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG1, or have a different configuration than shown in FIG1.

[0044] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the display compensation method for the display panel in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0045] Example 1

[0046] According to an embodiment of the present invention, a method embodiment of a display compensation method for a display panel is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0047] Figure 2 is a flowchart of a display compensation method for a display panel according to an embodiment of the present invention. As shown in Figure 2, the method includes the following steps:

[0048] Step S202: Obtain the grayscale value of each pixel in the current display frame of the display panel.

[0049] In this embodiment, by constructing a gradient sequence from pure white to pure black, the grayscale sets of the internal test area and the external area are precisely defined, thereby obtaining different internal grayscale values. With external grayscale .

[0050] This method accurately obtains the grayscale value of each pixel in the current display frame of the display panel, which is the basis for subsequent precise compensation. In digital display systems, grayscale value is the core parameter determining pixel brightness, usually represented by 8-bit, 10-bit, or higher bit digital signals, ranging from pure black (0) to pure white (maximum value, such as 255, 1023, etc.). Each pixel of an OLED display panel consists of red (R), green (G), and blue (B) sub-pixels, each with an independent grayscale value. Obtaining the grayscale value of the pixel is achieved through the display control unit, which can read the image data of the current display frame, which contains the RGB grayscale value information of each pixel. In the normal display process, the image data is processed by the upper-layer software and sent to the display control unit, which is responsible for converting it into driving signals that the OLED panel can understand. However, in this invention, the display control unit also undertakes the additional task of reading and storing these grayscale values ​​for subsequent calculation of load ratio and querying of compensation values.

[0051] By implementing this control method, the compensation mechanism is ensured to adjust based on the current displayed content, rather than relying on presets or average values, thereby improving the dynamism and accuracy of the compensation. The system can respond instantly to changes in the displayed content, accurately reflecting fast-moving scenes, complex image details, or gradual color transitions during the compensation process, avoiding overcompensation or undercompensation problems that may arise from fixed compensation strategies. Secondly, by acquiring the grayscale value of each pixel, the system can achieve pixel-by-pixel compensation. This means that compensation can be performed independently on every area and every pixel of the display panel, effectively improving the brightness and color uniformity of the entire display screen.

[0052] Step S204: Determine the average brightness load of the current display screen in the display panel based on the grayscale value.

[0053] In this embodiment, by combining different internal gray levels With external grayscale The normalized luminance load is calculated in Gamma space based on its area proportion. It can accurately simulate the screen load percentage α from 0% to 100%, laying the foundation for comprehensive measurement of the IR-Drop effect.

[0054] The calculation of average luminance load in this method involves mapping grayscale values ​​to luminance values ​​and comprehensively considering the luminance contribution of all pixels to evaluate the average luminance level of the entire image. Specifically, the grayscale value of each pixel is first... Through the pre-calibrated Gamma transformation formula Convert to corresponding brightness values ,here This is a constant, typically 2.2, representing the non-linear relationship between the digital signal and the actual light intensity. Next, the average brightness value of all pixels is calculated using a weighted average method. The weights depend on the pixel's position or importance on the screen; for example, a simple average with uniform weights can be used, or, considering the characteristics of human eye perception, higher weights can be given to the central area of ​​the screen. Finally, the obtained average brightness value is compared with the brightness value of a full-white image to determine the average brightness load of the current image.

[0055] By implementing this control method, the brightness characteristics of the currently displayed content can be accurately reflected. The average brightness load varies for different display screens, reflecting the overall brightness trend from dark to bright. This indicator is particularly important on OLED display panels because it directly affects the current distribution of the panel's power network, which in turn affects the actual driving voltage of each pixel, and consequently, brightness and color deviations. By calculating the average brightness load in real time, the system can immediately identify the current brightness status of the screen and select an appropriate compensation strategy. This ensures that even with rapid changes in screen brightness, the driving signal can be adjusted promptly and accurately to counteract various display unevenness phenomena caused by IR-Drop, maintaining a high-quality display effect.

[0056] Step S206: Use the grayscale value and average brightness load as indexes to search in the compensation lookup table to obtain the second lookup combination with the highest matching degree to the first lookup combination corresponding to the grayscale value and average brightness load. The compensation lookup table is used to record the compensation values ​​under different brightness loads and different grayscale combinations.

[0057] In this embodiment, the generated compensation matrix is ​​stored in the memory (such as SRAM) of the display control unit in the form of a lookup table. When the screen is working normally, the system calculates the average load of the current frame image in real time, and quickly looks up the corresponding compensation value in the lookup table based on this load value and the original grayscale value of each pixel.

[0058] This method utilizes a pre-built compensation lookup table (LUT) to quickly find and determine the most suitable compensation value based on the current pixel's grayscale value and the calculated average luminance load. The compensation lookup table is a three-dimensional data structure containing compensation data for all grayscale values ​​and load ratios, meticulously constructed during the aforementioned testing and data processing steps. The lookup process is based on two parameters: grayscale value and average luminance load. By using these as indexes, a specific compensation value can be located within the compensation lookup table. This indexing mechanism is designed to consider the non-linear characteristics of OLED panels and the complex effects of IR-Drop, ensuring that under any display conditions, the compensation data that best matches the current parameters can be quickly found, thereby achieving precise correction of luminance and chromaticity attenuation.

[0059] By implementing this control method, the real-time performance and accuracy of compensation are greatly improved. Since the LUT is stored in the form of a lookup table, the lookup process is fast and efficient, avoiding complex real-time calculations. This is crucial for high-resolution, high-refresh-rate display systems, ensuring that the compensation mechanism responds instantly even when processing complex images, maintaining smoothness and display quality. Furthermore, by precisely matching the current grayscale value and average brightness load, compensation can adjust not only the overall brightness load of the image but also fine-tune the specific grayscale value of each pixel, achieving pixel-level compensation accuracy. This is particularly effective in improving the brightness and color uniformity of OLED panels.

[0060] Step S208: Determine the compensation value corresponding to the second search combination as the target compensation value of the first search combination.

[0061] In this embodiment, the compensation value is calculated in the Gamma space to match the visual characteristics of the human eye. The system uses the display effect under gamma=2.2 as an ideal benchmark and calculates the grayscale compensation value Δ required to match this benchmark under other load conditions using a specific formula. Finally, a "3-channel × N grayscale × N load" compensation matrix is ​​generated for each of the red, green, and blue channels, covering all grayscale levels and load points.

[0062] This method determines the second lookup combination that is closest to the current grayscale value and average brightness load from a compensation lookup table, and uses its corresponding compensation value as the target compensation value for the first lookup combination (i.e., the specific parameter combination of the current display image). This process makes full use of the large amount of preprocessed data stored in the compensation lookup table, which was obtained through detailed measurements and calculations in a laboratory environment, covering accurate compensation values ​​for a wide range of grayscale value and load ratio combinations. Specifically, after the system determines the grayscale value and average brightness load parameters of the current image through the aforementioned steps, it searches the compensation lookup table for the most similar (or closest) second lookup combination. This search process may involve interpolation or extrapolation algorithms, especially when the grayscale value and load ratio are between the measured data points. Once the best-matching second lookup combination is found, the system immediately retrieves this combination as the target compensation value for the first lookup combination of the current image for subsequent pixel signal adjustments.

[0063] By implementing this control method, in terms of real-time performance, since the compensation value is determined directly from the lookup table, complex online calculations are avoided, ensuring that compensation can be completed in a very short time. Even in high refresh rate display scenarios, the continuity of the image and the compensation effect without delay can be maintained. In terms of compensation accuracy, thanks to the fine construction and data processing of the compensation lookup table, each lookup compensation value is the result of accurate measurement and calculation under specific grayscale values ​​and load ratios. This can effectively offset the brightness and color changes caused by IR-Drop, restore the original brightness and color performance of the displayed image, and significantly improve the overall display quality.

[0064] Step S210: Perform brightness and chromaticity compensation on the pixels according to the target compensation value.

[0065] In this embodiment, by applying the compensation value to the original pixel signal, real-time, pixel-by-pixel correction of the IR-Drop effect is achieved, ultimately improving brightness uniformity and color fidelity.

[0066] This method applies a target compensation value to the pixel signals of the display panel, adjusting the brightness and chromaticity of the pixels in real time. This process directly affects the signal level driving the OLED display panel, adding or subtracting a corresponding compensation value to the RGB signal of each pixel to counteract the brightness attenuation and color shift caused by the IR-Drop effect. Specifically, once the target compensation value for each pixel is obtained, the display control unit superimposes it onto the original RGB grayscale value. If the target compensation value is positive, it means that the grayscale value needs to be increased to compensate for the brightness loss; conversely, if it is negative, the grayscale value is decreased, although in practice, the compensation value is usually positive because IR-Drop typically causes a decrease rather than an increase in brightness. The compensated grayscale value must be ensured to remain within the legal range (0 to the maximum grayscale value) to avoid display abnormalities caused by overcompensation.

[0067] By implementing this control method, the brightness and color uniformity of the displayed image are significantly improved, especially on OLED panels, where the current differences between pixels directly affect brightness and color performance due to their self-emissive nature. Through real-time compensation, the display can react quickly even to complex or rapidly changing content, maintaining image consistency and naturalness. Furthermore, because the compensation is performed at the pixel level, it means that every area and every pixel on the screen receives optimal display parameter adjustments, effectively eliminating localized brightness drops and color distortion, thus enhancing the quality of the visual experience.

[0068] Figure 3 is a flowchart of the closed loop from original measurement to compensation matrix output according to an embodiment of the present invention. As shown in Figure 3, the method of this application includes test pattern generation, automatic measurement, data processing, and real-time compensation modules. The automatic measurement module uses serial communication to uniformly control the high-precision colorimeter and display control unit, achieving fully automated data acquisition. The system displays the test pattern in the center of the screen according to a preset sequence. After ensuring display stability, it triggers the colorimeter to measure the chromaticity coordinates (x, y) and luminance (lv) of the center window. The data processing module converts the CIE xyY data acquired by the colorimeter to the linear CIEXYZ color space. Subsequently, based on the monochromatic measurement values ​​of pure red, pure green, and pure blue, a 3x3 color conversion matrix is ​​constructed. By finding the inverse of this matrix... This enables precise reverse calculation from the target XYZ values ​​to the device's RGB drive values. A physically constrained bidirectional interpolation and piecewise extrapolation algorithm is used to expand sparse measurement data into a complete "grayscale-load-brightness" mapping. The interpolation process is performed simultaneously in both grayscale and load dimensions, and a strict physical constraint of "the greater the load, the lower the brightness" is applied (i.e.,...). This ensures the physical rationality of the data model. The algorithm adaptively selects linear interpolation or cubic spline interpolation based on the data change rate, and uses nearest-neighbor linear extrapolation under boundary conditions such as all black and all white, balancing smoothness, accuracy, and computational efficiency. By constructing this closed-loop process from raw measurement to compensation matrix output, the impact of voltage drop (IR-Drop) caused by screen load changes on display uniformity and color accuracy can be effectively offset.

[0069] As described above, in this embodiment, the grayscale value of each pixel in the current display frame of the display panel is obtained; the average brightness load of the current display screen in the display panel is determined based on the grayscale value; the grayscale value and average brightness load are used as indexes to search in the compensation lookup table to obtain the second lookup combination with the highest matching degree to the first lookup combination corresponding to the grayscale value and average brightness load, wherein the compensation lookup table is used to record the compensation values ​​under different brightness loads and different grayscale combinations; the compensation value corresponding to the second lookup combination is determined to be the target compensation value of the first lookup combination; the pixels are compensated for brightness and chromaticity based on the target compensation value, achieving grayscale compensation between the internal and external regions. The system employs independent control to simulate different screen loads, utilizing a high-precision colorimeter in conjunction with the display control unit for fully automatic data acquisition of chromaticity and brightness. Through color space conversion and a piecewise interpolation strategy under physical constraints, a complete brightness-grayscale mapping relationship is constructed. Compensation values ​​are calculated in the Gamma space to generate a compensation matrix. Based on a lookup table, the original grayscale value of each pixel is compensated to correct the IR-Drop effect in real time. This significantly improves the brightness uniformity and color fidelity of OLED displays at high resolutions and high refresh rates, maintaining excellent display performance even under dynamic content and different load ratios.

[0070] Therefore, the technical solution provided by the above embodiments of the present invention solves the technical problem that the load change of OLED display panel has an increasingly significant impact on brightness and color, especially under different gray levels and load conditions, which leads to uneven display and color shift.

[0071] According to the above embodiments of the present invention, obtaining the grayscale value of each pixel in the current display frame of the display panel includes: reading the display frame data of the current display frame; and calculating the grayscale value of each pixel based on the color information of each pixel in the display frame data.

[0072] In this embodiment, to accurately simulate different display loads, the present invention employs a test pattern generation method in which the grayscale of the internal and external regions can be independently controlled. Let the total area of ​​the display region be... The internal test window area is The area of ​​the outer region is Define the grayscale of the internal region as... The grayscale of the outer area is The maximum gray level is .

[0073] In this method, grayscale values ​​are obtained by reading display frame data and calculating color information. Display frame data is image information represented in digital form, containing the position, color, and other attributes of each pixel that makes up the image. Color information is usually stored in RGB (red, green, blue) format, with the intensity of each color represented by a numerical value from 0 to 255 (or other ranges depending on color depth). To quantify pixel brightness, RGB color information needs to be converted into grayscale values. This conversion is based on the differences in human eye sensitivity to different colors and is usually performed using a formula. Or a combination of similar weighting factors.

[0074] By implementing this control method, the system can perform analysis and compensation based on brightness rather than color. Converting RGB color information to grayscale values ​​not only simplifies data processing but also allows the system to better understand and quantify brightness distribution, especially when evaluating the average brightness load across the entire display frame. This is crucial for compensating for the IR-Drop effect, as brightness decay in OLED panels is typically directly related to pixel brightness load, not simply color. By acquiring the grayscale value of each pixel, the system can accurately assess the brightness characteristics of the current display frame, providing precise data support for subsequent steps such as calculating the average brightness load and finding compensation values. This ensures the effectiveness and relevance of the compensation mechanism, improving the overall brightness and color uniformity of the displayed image.

[0075] According to the above embodiments of the present invention, determining the average brightness load of the current display screen in the display panel based on the grayscale value includes: converting each grayscale value into a brightness value; averaging the brightness values ​​of all pixels in the current display screen to obtain an average brightness value; and converting the average brightness value to obtain an average brightness load.

[0076] In this embodiment, the Gamma transformation index is (The preferred value is 2.2). First, map the grayscale values ​​to the Gamma brightness space: The normalized brightness load of the entire image. This can be expressed as: .

[0077] This method first utilizes the conversion relationship between grayscale values ​​and brightness values, typically based on a specific Gamma function for non-linear conversion, such as... ,in This is the Gamma conversion index, typically set to 2.2. This is because the human eye perceives different gray levels differently; for darker gray levels, the perceived change is larger, while for brighter gray levels, the perceived change is smaller. Gamma conversion simulates this visual characteristic. Next, the average brightness value is obtained by averaging the brightness values ​​of all pixels in the current display. This process quantifies the brightness distribution of the entire screen into a single value, reflecting the overall brightness level of the currently displayed content. Finally, the average brightness value needs to be converted into average brightness load. This usually involves comparing the average brightness value with the maximum brightness value of the display panel (usually corresponding to a full white screen) and calculating a ratio between 0 and 1. This ratio is the average brightness load. The closer the load is to 1, the brighter the screen, and vice versa.

[0078] By implementing this control method, the system can dynamically adjust its compensation strategy based on the actual brightness load of the display. In OLED display panels, the voltage drop (IR-Drop) problem in the power network is exacerbated by varying screen brightness loads, becoming more significant under high load (high brightness) conditions, leading to uneven brightness and color gamut shift. By accurately calculating the average brightness load, the system can identify the brightness characteristics of the current displayed content, thereby selecting an appropriate compensation strategy. In particular, it can locate the optimal compensation value from a compensation lookup table to counteract the IR-Drop effect. This method not only optimizes display quality but also provides data support for panel energy management, ensuring that the panel provides the best visual experience while maintaining reasonable power consumption under different load conditions, thus extending device lifespan.

[0079] According to the above embodiments of the present invention, before searching the compensation lookup table using grayscale values ​​and average brightness load as indexes to obtain the second lookup combination with the highest matching degree to the first lookup combination corresponding to grayscale values ​​and average brightness load, the display compensation method further includes: generating multiple test patterns containing different grayscale levels and different brightness loads; measuring the actual chromaticity coordinates and actual brightness values ​​of each test pattern on the display panel; generating a compensation matrix based on the actual chromaticity coordinates and actual brightness values; optimizing and storing the data corresponding to the compensation matrix to obtain the compensation lookup table.

[0080] In this embodiment, the system connects to a high-precision colorimeter and a display control unit via serial communication. After initializing the measurement parameters, it displays centered test patterns on the screen in a preset order while maintaining the original resolution to avoid errors introduced by scaling. Once each pattern is displayed stably, the system triggers the colorimeter to measure its chromaticity coordinates (x, y) and luminance value. (Right now All test patterns have their internal windows strictly centered to ensure consistent field of view and stable optical coupling during the measurement process.

[0081] This method first simulates a series of different grayscale and brightness load conditions using carefully designed test patterns. These test patterns cover a range of grayscale values ​​from pure black to pure white, as well as various intermediate grayscale values. Simultaneously, by varying the grayscale of the internal and external test areas, different display conditions from low to high load are simulated. Next, high-precision colorimeters and luminance meters are used to measure the performance of each test pattern on the display panel in detail, recording the actual chromaticity coordinates and brightness values. These data directly reflect the true performance of the OLED panel under specific display conditions. Based on the collected measurement data, the system generates a compensation matrix, a three-dimensional data structure containing the required compensation values ​​under various grayscale and load conditions. The generation of the compensation matrix involves complex mathematical processing and data analysis, including but not limited to the application of data interpolation, error correction, and optimization algorithms to ensure the accuracy and effectiveness of the compensation values. Subsequently, the compensation matrix is ​​optimized and stored to form a compensation lookup table that is easy to query and quickly access. This optimization process may include data compression, format conversion, or adjustments to the storage architecture, aiming to reduce storage requirements and accelerate data retrieval speed while preserving accuracy.

[0082] By implementing this control method, a highly customized, accurate, and efficient compensation lookup table can be obtained, providing solutions to all display problems that OLED panels may encounter under different grayscale and brightness load conditions. After loading this lookup table into the display control unit, the system can immediately find and apply the most suitable compensation value based on the specific parameters of the current screen, significantly improving the response speed and accuracy of the compensation mechanism. Furthermore, by pre-generating the compensation matrix, this step reduces the computational burden on the real-time compensation algorithm, making the compensation process smoother and not affecting the refresh rate and display quality of the display panel.

[0083] According to the above embodiments of the present invention, generating multiple test patterns containing different gray levels and different brightness loads includes: determining the coverage range of the test gray level range and the test brightness load level; determining multiple combinations of gray levels and brightness loads corresponding to the test gray level range and the coverage range; generating test patterns based on multiple combinations of gray levels and brightness loads, wherein the test pattern is divided into an inner region and an outer region, the inner region being the region located at the center of the display panel in the test pattern, and the outer region being the part of the display panel excluding the inner region.

[0084] In this embodiment, for a given target load ratio α∈[0,1], a minimum step size search algorithm is used to find a combination of test windows that satisfies the following conditions. : .in, This is the preset allowable error threshold.

[0085] Figure 4 is a schematic diagram of some test images according to an embodiment of the present invention. As shown in Figure 4, Five test images with target load ratios α=0%, 25%, 50%, 75%, and 100% were generated at grayscale values ​​of 0%, 128%, and 255, respectively. Displaying test images with different grayscale levels and load ratios helps collect comprehensive measurement data. This data is used to construct and optimize the compensation lookup table, ensuring it accurately reflects the performance of the OLED panel under various display conditions. Each test image is designed for specific display conditions. Precise measurement helps ensure the accuracy and reliability of the compensation algorithm, avoiding unsatisfactory compensation effects due to insufficient data coverage. Based on the measurement results of the test patterns in Figure 4, the system can generate a more accurate compensation strategy, thereby significantly improving the brightness uniformity and color accuracy of the OLED display panel and optimizing the visual experience.

[0086] This method first clarifies the coverage of the test grayscale range and the test brightness load level to ensure the breadth and representativeness of the data. The test grayscale range is typically from 0 to the maximum grayscale value (e.g., 255), while the coverage of the test brightness load level is achieved by setting different target load ratios α (e.g., 0%, 25%, 50%, 75%, 100%) to simulate various display scenarios from pure black to pure white. Then, based on these ranges and load levels, the system determines multiple combinations of grayscale values ​​and brightness loads to generate a test pattern with internal and external regions. The internal region, located at the center of the display panel in the test pattern, is used for precise measurement; while the external region, excluding the internal region, has its grayscale independently controllable to simulate different global brightness load conditions. By displaying specific grayscale values ​​in the internal region while adjusting the grayscale in the external region to achieve different average loads, various real-world display scenarios can be simulated.

[0087] By implementing this control method, the generated test patterns cover a wide range of grayscale and luminance load combinations. This strategy ensures the comprehensiveness and depth of the test data, laying a solid foundation for creating a highly accurate compensation lookup table. By measuring the actual chromaticity coordinates and luminance values ​​of these patterns on the display panel, panel performance data under different display conditions can be obtained, including the specific impact of the IR-Drop effect. These measurement data, after further data processing and interpolation algorithm optimization, can generate a compensation matrix, which is then converted into a compensation lookup table for subsequent real-time compensation. The generation and measurement of this series of test patterns not only enriches the dataset but also effectively avoids overfitting or underfitting problems in the compensation mechanism due to insufficient or biased data points, ensuring the effectiveness and versatility of the compensation algorithm in practical applications.

[0088] According to the above embodiments of the present invention, the display compensation method further includes: performing a linear transformation on the actual chromaticity coordinates and the actual luminance value to obtain linear transformation data; generating a color transformation matrix based on the linear transformation data; and determining the inverse matrix of the color transformation matrix to convert the XYZ values ​​of the target color into RGB driving values ​​of the device corresponding to the display panel, wherein the RGB driving values ​​are used to control the voltage of the pixels.

[0089] In this embodiment, to establish the conversion relationship between device-dependent RGB signals and the device-independent CIE XYZ colorimetric system, the measured CIE xyY data is first converted into CIE XYZ values: , , Subsequently, a color conversion matrix was constructed based on the measured values ​​of monochrome (pure red, pure green, and pure blue) at maximum brightness. : By finding the inverse of this matrix This allows you to obtain the conversion relationship from XYZ space to linear RGB space: .

[0090] This method linearly transforms the CIE xyY chromaticity coordinates obtained from actual measurements to obtain CIE XYZ values. This is based on a fundamental premise in color science—the CIE XYZ color space provides a device-independent color representation that accurately reflects the physical properties of color. Next, a color transformation matrix is ​​constructed based on the monochromatic measurements of the three primary colors: pure red, pure green, and pure blue. The color conversion matrix reflects the mathematical relationship between the device's RGB signal and the CIE XYZ color space, and is key to achieving color conversion. Finally, the color conversion matrix is ​​solved... inverse matrix It achieves the reverse conversion from the XYZ values ​​of the target color to the RGB driving values ​​of the device.

[0091] By implementing this control method, the display compensation approach achieves fine-grained color control, ensuring color accuracy and consistency while compensating for brightness and chromaticity degradation caused by the IR-Drop effect. This process is particularly important for OLED display panels because each pixel on the panel is controlled by an independent OLED unit, and the luminous efficiency and color characteristics of the OLED unit can vary with voltage. By generating the inverse of the color conversion matrix, the system can accurately calculate the voltage adjustment required for each pixel to counteract brightness changes caused by IR-Drop, while maintaining accurate color display. This significantly improves the overall quality of the display and the user experience, especially in color-sensitive applications such as professional design and film production, where this technology will significantly improve display accuracy and color fidelity.

[0092] According to the above embodiments of the present invention, generating a compensation matrix based on actual chromaticity coordinates and actual luminance values ​​includes: interpolating the actual chromaticity coordinates and actual luminance values ​​from two dimensions, grayscale and load, to obtain the interpolation result of the grayscale-luminance load structure; calculating the luminance and chromaticity grayscale compensation values ​​for each grayscale and luminance load combination in Gamma space based on the actual chromaticity coordinates, actual luminance values, and the interpolation result; and storing the compensation values ​​in the form of a three-dimensional array to obtain the compensation matrix.

[0093] In this embodiment, the initial measurement data is sparse in both grayscale and load dimensions. To obtain continuous data across the entire grayscale and load range, data augmentation is required. Let the measured brightness matrix be... ,in For load index, This is a grayscale index. Synchronous interpolation is performed on both the "grayscale dimension" and the "load dimension." The interpolation process must adhere to physical constraints: for the same grayscale... The greater the load, the lower the brightness, that is: A piecewise interpolation strategy is employed to balance accuracy and smoothness: in the stationary region, when the first derivative of adjacent data points satisfies... Linear interpolation is used in the initial stage; in the mid-to-high frequency variation range, when the rate of change exceeds the aforementioned threshold, cubic spline interpolation is used to maintain the second-order continuity of the data; for boundary extrapolation, as shown in Figure 4, since the high-precision tester cannot cover the internal test window at the boundary between zero load and 100% load, this part of the data is filled using the nearest measured data using linear extrapolation. Through this method, the high-density brightness matrix of the R, G, and B channels in the complete "grayscale-load" two-dimensional space is finally obtained. .

[0094] Furthermore, the Gamma coefficient may shift under different load conditions, typically deviating from the standard value of 2.2. Therefore, the goal of compensation is to ensure that the Gamma coefficient remains constant under any load. Below, display any grayscale. The pixels can all achieve the ideal brightness value when gamma=2.2. This ideal brightness benchmark is based on diagonal data. definition: For a load of grayscale is The required grayscale compensation amount for the pixels. The calculation is as follows: Where 's' is a configurable scaling factor used to control the compensation intensity and avoid overcompensation. For load index = grayscale index (i.e....) ), the required grayscale compensation amount For load index > grayscale index (i.e.) ), the required grayscale compensation amount For load index < grayscale index (i.e.) ), the required grayscale compensation amount Applying the above formula to the R, G, and B channels respectively, the results are calculated. This process ultimately generates a three-dimensional compensation matrix consisting of "3 channels × N gray levels × N loads". This matrix is ​​stored in the system's static random access memory in the form of a lookup table.

[0095] This method first interpolates the measured actual chromaticity coordinates and actual luminance values ​​to establish a continuous grayscale-luminance load structure based on the original measurement data. Interpolation fills data points in two dimensions: grayscale and load, thus constructing a fully covered two-dimensional data grid. This interpolation process must adhere to physical constraints, ensuring that under any load condition, the luminance value does not decrease with increasing grayscale; simultaneously, under a fixed grayscale, the luminance value does not increase with increasing load. This results in a dataset that conforms to the device's physical characteristics while possessing continuity and monotonicity. Next, luminance and chromaticity grayscale compensation values ​​are calculated in Gamma space for each grayscale and luminance load combination. The Gamma space calculation considers the nonlinear perception characteristics of the human eye. By comparing the luminance value under the current conditions with the luminance benchmark under the target gamma=2.2 condition, the required compensation amount is calculated to ensure that the screen brightness and chromaticity meet the preset visual standards under any display conditions. Finally, these compensation values ​​are stored in the form of a three-dimensional array to form a compensation matrix, where the dimensions of the three-dimensional array correspond to the three color channels of red, green and blue, as well as the two variables of grayscale and brightness load.

[0096] By implementing this control method, the generated compensation matrix not only comprehensively covers all combinations of grayscale and brightness loads, but also ensures the accuracy and applicability of the compensation values ​​through interpolation and calculations in Gamma space. In real-time display control, this compensation matrix can serve as a lookup table to quickly retrieve the compensation value that matches the grayscale and brightness load of the currently displayed content, thereby adjusting the display signal in real time to counteract the brightness attenuation and color shift caused by the IR-Drop effect. This method not only improves the uniformity and color fidelity of the displayed image, but also significantly reduces the computational burden of the real-time compensation algorithm, ensuring the smoothness and response speed of high-resolution, high-refresh-rate display systems. More importantly, by storing the compensation values ​​in the matrix, subsequent data management and algorithm optimization can be easily performed, providing solid technical support for improving the overall display quality and visual experience of OLED display panels.

[0097] According to the above embodiments of the present invention, performing brightness and chromaticity compensation on a pixel based on a target compensation value includes: superimposing a target brightness value from the target compensation value onto the original brightness value of the pixel to perform brightness compensation on the pixel, and simultaneously superimposing a target chromaticity value from the target compensation value onto the original chromaticity value of the pixel to perform chromaticity compensation on the pixel.

[0098] In this embodiment, when the user is using the screen normally, the system calculates the average brightness load of the current frame image in real time. For each pixel in the image, the system determines its value based on its current R, G, B grayscale values ​​and the global average load. Query the corresponding compensation in real time from the above compensation lookup table. Compensation values. By superimposing these compensation values ​​onto the original pixel signal, the grayscale output can be fine-tuned, thereby offsetting the brightness and color degradation caused by IR-Drop in real time and with precision.

[0099] This method, based on a pre-generated compensation matrix (or lookup table), adjusts each pixel in real time as the display control unit processes image data. The compensation matrix stores compensation values ​​corresponding to red, green, and blue under specific grayscale and brightness load conditions. For each pixel, its original RGB grayscale value is first converted to luminance and chrominance representations in Gamma space. Subsequently, based on the average brightness load of the current display screen, the compensation value corresponding to the pixel's original luminance and chrominance values ​​is retrieved from the compensation matrix. Brightness compensation is achieved by adding the retrieved target luminance compensation value to the original luminance value, while chrominance compensation is achieved by adding the target chrominance compensation value to the original chrominance value. The superposition of these compensation values ​​essentially fine-tunes the RGB drive signal of each pixel to counteract the brightness reduction and chrominance changes caused by IR-Drop.

[0100] By implementing this control method, the uniformity and color fidelity of the displayed image are significantly improved. Brightness compensation ensures that the brightness on the OLED display panel remains consistent even under different load conditions, avoiding brightness decay caused by IR-Drop. Color compensation, on the other hand, addresses the color drift problem neglected in traditional compensation methods, ensuring accurate and unbiased color while maintaining brightness uniformity. This process not only improves the display quality of the OLED display panel but also optimizes the overall performance of the display system. The compensation effect is particularly significant for scenarios requiring high resolution, high refresh rates, and accurate color display, such as high-end gaming, professional design, and film production, greatly improving the user experience and enhancing the competitiveness of display technology.

[0101] As described above, the technical solution provided by the above embodiments of the present invention establishes a compensation lookup table based on a two-dimensional space of "grayscale-load", realizing dynamic and accurate correction of any displayed content. Through precisely defined test patterns and automatic measurement processes, a closed loop from physical measurement to mathematical model is constructed. By adopting a piecewise interpolation strategy with physical constraints, the data points are effectively expanded while ensuring data smoothness and monotonicity, avoiding overfitting and error amplification. Grayscale compensation values ​​are calculated in Gamma space, and finally, a multi-channel, multi-grayscale three-color compensation matrix is ​​output, realizing joint uniformity correction of brightness and chromaticity. Compensation is performed through a pre-calculated lookup table, with low computational load and low latency, making it suitable for high-resolution, high-refresh-rate real-time display systems.

[0102] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0103] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0104] Example 2

[0105] According to an embodiment of the present invention, a display compensation device for a display panel for implementing the above-described display compensation method is also provided. FIG5 is a schematic diagram of the display compensation device for a display panel according to an embodiment of the present invention. As shown in FIG5, the device includes: an acquisition unit 501, a first determination unit 503, a search unit 505, a second determination unit 507, and a compensation unit 509. The device will now be described in detail.

[0106] The acquisition unit 501 is used to acquire the grayscale value of each pixel in the current display frame of the display panel.

[0107] The first determining unit 503 is used to determine the average brightness load of the current display screen in the display panel based on the grayscale value.

[0108] The search unit 505 is used to search in the compensation lookup table using grayscale value and average brightness load as indexes to obtain the second lookup combination with the highest matching degree of the first lookup combination corresponding to grayscale value and average brightness load. The compensation lookup table is used to record the compensation values ​​under different brightness loads and different grayscale combinations.

[0109] The second determining unit 507 is used to determine that the compensation value corresponding to the second search combination is the target compensation value of the first search combination.

[0110] The compensation unit 509 is used to perform brightness and chromaticity compensation on the pixel according to the target compensation value.

[0111] It should be noted that the above-mentioned acquisition unit 501, first determination unit 503, search unit 505, second determination unit 507 and compensation unit 509 correspond to steps S202 to S210 in the above embodiments. The five units and the corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in the above embodiments.

[0112] As can be seen from the above, in the solution described in the above embodiments of the present invention, an acquisition unit is used to acquire the grayscale value of each pixel in the current display frame of the display panel; a first determination unit is used to determine the average brightness load of the current display screen in the display panel based on the grayscale value; a search unit is used to search in the compensation lookup table using the grayscale value and the average brightness load as indexes to obtain a second search combination with the highest matching degree to the first search combination corresponding to the grayscale value and the average brightness load, wherein the compensation lookup table is used to record the compensation value under different brightness loads and different grayscale combinations; a second determination unit is used to determine the compensation value corresponding to the second search combination as the target compensation value of the first search combination; and a compensation unit is used to determine the compensation value based on the target compensation value. By performing brightness and chromaticity compensation on pixels, different screen loads can be simulated through independent grayscale control of internal and external regions. A high-precision colorimeter is used in conjunction with the display control unit to perform fully automatic data acquisition of chromaticity and brightness. Through color space conversion and piecewise interpolation strategies under physical constraints, a complete brightness-grayscale mapping relationship is constructed. Compensation values ​​are calculated in Gamma space to generate a compensation matrix. Based on a lookup table, the original grayscale value of each pixel is compensated to correct the IR-Drop effect in real time. This achieves the technical effect of significantly improving the brightness uniformity and color fidelity of OLED displays at high resolution and high refresh rates, and maintaining good display effects even under dynamic display content and different load ratios.

[0113] Therefore, the technical solution provided by the above embodiments of the present invention solves the technical problem in the related art where the load change of the OLED display panel has an increasingly significant impact on brightness and color, especially under different gray levels and load conditions, leading to uneven display and color shift. Optionally, the acquisition unit includes: a reading module for reading the display frame data of the current display frame; and a first calculation module for calculating the gray value of each pixel based on the color information of each pixel in the display frame data.

[0114] Optionally, the first determining unit includes: a first conversion module for converting each grayscale value into a brightness value; an averaging module for averaging the brightness values ​​of all pixels in the current display screen to obtain an average brightness value; and a second conversion module for converting the average brightness value to obtain an average brightness load.

[0115] Optionally, the display compensation device further includes: a first generation unit, used to generate multiple test patterns containing different gray levels and different brightness loads before searching in a compensation lookup table using gray values ​​and average brightness load as indexes to obtain a second lookup combination with the highest matching degree to the first lookup combination corresponding to gray values ​​and average brightness load; a measurement unit, used to measure the actual chromaticity coordinates and actual brightness values ​​of each test pattern on the display panel; a second generation unit, used to generate a compensation matrix based on the actual chromaticity coordinates and actual brightness values; and an optimization storage unit, used to optimize and store the data corresponding to the compensation matrix to obtain a compensation lookup table.

[0116] Optionally, the first generation unit includes: a first determining module for determining the coverage range of the test grayscale range and the test brightness load level; a second determining module for determining multiple grayscale and brightness load combinations corresponding to the test grayscale range and coverage range; and a generation module for generating a test pattern based on the multiple grayscale and brightness load combinations, wherein the test pattern is divided into an inner region and an outer region, the inner region being the region located at the center of the display panel in the test pattern, and the outer region being the part of the display panel excluding the inner region.

[0117] Optionally, the display compensation device further includes: a linear conversion unit for performing a linear conversion between the actual chromaticity coordinates and the actual luminance value to obtain linear conversion data; a third generation unit for generating a color conversion matrix based on the linear conversion data; and a third determination unit for determining the inverse matrix of the color conversion matrix to convert the XYZ values ​​of the target color into RGB driving values ​​of the device corresponding to the display panel, wherein the RGB driving values ​​are used to control the voltage of the pixels.

[0118] Optionally, the second generation unit includes: an interpolation processing module, used to perform interpolation processing on the actual chromaticity coordinates and actual luminance values ​​from two dimensions: grayscale and load, to obtain the interpolation result of the grayscale-luminance load structure; a second calculation module, used to calculate the luminance and chromaticity grayscale compensation values ​​under each grayscale and luminance load combination in the Gamma space based on the actual chromaticity coordinates, actual luminance values, and interpolation results; and a storage module, used to store the compensation values ​​in the form of a three-dimensional array to obtain a compensation matrix.

[0119] Optionally, the compensation unit includes: a brightness compensation module, used to superimpose the target brightness value in the target compensation value onto the original brightness value of the pixel to perform brightness compensation on the pixel, and simultaneously superimpose the target chromaticity value in the target compensation value onto the original chromaticity value of the pixel to perform chromaticity compensation on the pixel.

[0120] According to one aspect of the present invention, a display panel is provided, the display panel using the display compensation method of any of the above-described display panels.

[0121] According to one aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein the program executes the display compensation method for a display panel as described above.

[0122] According to one aspect of the present invention, a processor is provided, the processor being configured to run a program, wherein the program, when running, executes the display compensation method for the display panel described above.

[0123] According to one aspect of the present invention, a computer program product is provided, including computer instructions, which, when executed by a processor, perform a display compensation method for a display panel as described above.

[0124] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any communication device in a group of communication devices.

[0125] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: obtaining the grayscale value of each pixel in the current display frame of the display panel; determining the average brightness load of the current display screen in the display panel based on the grayscale value; searching in a compensation lookup table using the grayscale value and average brightness load as indexes to obtain a second lookup combination that has the highest matching degree with the first lookup combination corresponding to the grayscale value and average brightness load, wherein the compensation lookup table is used to record compensation values ​​under different brightness loads and different grayscale combinations; determining the compensation value corresponding to the second lookup combination as the target compensation value of the first lookup combination; and performing brightness and chromaticity compensation on the pixels based on the target compensation value.

[0126] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: reading display frame data of the current display frame; calculating the grayscale value of each pixel based on the color information of each pixel in the display frame data.

[0127] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: converting each grayscale value into a luminance value; averaging the luminance values ​​of all pixels in the current display screen to obtain an average luminance value; and converting the average luminance value to obtain an average luminance load.

[0128] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: generating multiple test patterns containing different gray levels and different brightness loads; measuring the actual chromaticity coordinates and actual brightness values ​​of each test pattern on the display panel; generating a compensation matrix based on the actual chromaticity coordinates and actual brightness values; optimizing and storing the data corresponding to the compensation matrix to obtain a compensation lookup table.

[0129] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: determining the coverage of the test grayscale range and the test brightness load level; determining multiple grayscale and brightness load combinations corresponding to the test grayscale range and the coverage; generating a test pattern based on the multiple grayscale and brightness load combinations, wherein the test pattern is divided into an inner region and an outer region, the inner region being the region located at the center of the display panel in the test pattern, and the outer region being the portion of the display panel excluding the inner region.

[0130] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: performing a linear transformation on the actual chromaticity coordinates and the actual luminance value to obtain linear transformation data; generating a color transformation matrix based on the linear transformation data; and determining the inverse matrix of the color transformation matrix to convert the XYZ values ​​of the target color into RGB driving values ​​of the device corresponding to the display panel, wherein the RGB driving values ​​are used to control the voltage of the pixels.

[0131] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: interpolating the actual chromaticity coordinates and actual luminance values ​​from two dimensions, grayscale and load, to obtain the interpolation result of the grayscale-luminance load structure; calculating the luminance and chromaticity grayscale compensation values ​​for each grayscale and luminance load combination in Gamma space based on the actual chromaticity coordinates, actual luminance values, and the interpolation result; and storing the compensation values ​​in the form of a three-dimensional array to obtain a compensation matrix.

[0132] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: superimposing the target luminance value in the target compensation value onto the original luminance value of the pixel to perform luminance compensation on the pixel, and simultaneously superimposing the target chrominance value in the target compensation value onto the original chrominance value of the pixel to perform chrominance compensation on the pixel.

[0133] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0134] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.

[0135] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0136] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0137] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0138] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0139] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A display compensation method for a display panel, characterized in that, include: Get the grayscale value of each pixel in the current display frame of the display panel; The average brightness load of the current display screen in the display panel is determined based on the grayscale value; the grayscale value and the average brightness load are used as indexes to search in the compensation lookup table to obtain the second lookup combination with the highest matching degree of the first lookup combination corresponding to the grayscale value and the average brightness load, wherein the compensation lookup table is used to record the compensation value under different brightness loads and different grayscale combinations; The compensation value corresponding to the second lookup combination is determined to be the target compensation value of the first lookup combination; the pixel is then subjected to brightness and chromaticity compensation based on the target compensation value.

2. The display compensation method for a display panel according to claim 1, characterized in that, Obtaining the grayscale value of each pixel in the current display frame of the display panel includes: reading the display frame data of the current display frame; and calculating the grayscale value of each pixel based on the color information of each pixel in the display frame data.

3. The display compensation method for a display panel according to claim 1, characterized in that, Determining the average brightness load of the current display screen based on the grayscale values ​​includes: converting each grayscale value into a brightness value; averaging the brightness values ​​of all pixels in the current display screen to obtain an average brightness value; and converting the average brightness value to obtain the average brightness load.

4. The display compensation method for a display panel according to claim 1, characterized in that, Before searching the compensation lookup table using the grayscale value and the average brightness load as indexes to obtain the second lookup combination with the highest matching degree to the first lookup combination corresponding to the grayscale value and the average brightness load, the display compensation method further includes: generating multiple test patterns containing different grayscale levels and different brightness loads; measuring the actual chromaticity coordinates and actual brightness values ​​of each test pattern on the display panel; generating a compensation matrix based on the actual chromaticity coordinates and actual brightness values; optimizing and storing the data corresponding to the compensation matrix to obtain the compensation lookup table.

5. The display compensation method for a display panel according to claim 4, characterized in that, Generating multiple test patterns containing different gray levels and different brightness loads includes: determining the coverage range of the test gray level range and the test brightness load level; determining multiple combinations of gray levels and brightness loads corresponding to the test gray level range and the coverage range; generating the test pattern based on the multiple combinations of gray levels and brightness loads, wherein the test pattern is divided into an inner region and an outer region, the inner region being the region located at the center of the display panel in the test pattern, and the outer region being the portion of the display panel excluding the inner region.

6. The display compensation method for a display panel according to claim 4, characterized in that, The display compensation method further includes: performing a linear transformation on the actual chromaticity coordinates and the actual luminance value to obtain linear transformation data; generating a color transformation matrix based on the linear transformation data; and determining the inverse matrix of the color transformation matrix to convert the XYZ values ​​of the target color into RGB driving values ​​of the device corresponding to the display panel, wherein the RGB driving values ​​are used to control the voltage of the pixels.

7. The display compensation method for a display panel according to claim 4, characterized in that, Generating a compensation matrix based on the actual chromaticity coordinates and the actual luminance value includes: interpolating the actual chromaticity coordinates and the actual luminance value from two dimensions, grayscale and load, to obtain the interpolation result of the grayscale-luminance load structure; calculating the luminance and chromaticity grayscale compensation values ​​for each grayscale and luminance load combination in Gamma space based on the actual chromaticity coordinates, the actual luminance value, and the interpolation result; and storing the compensation values ​​in the form of a three-dimensional array to obtain the compensation matrix.

8. The display compensation method for a display panel according to any one of claims 1 to 7, characterized in that, Performing luminance and chromaticity compensation on the pixel based on the target compensation value includes: superimposing the target luminance value in the target compensation value onto the original luminance value of the pixel to perform luminance compensation on the pixel, and simultaneously superimposing the target chromaticity value in the target compensation value onto the original chromaticity value of the pixel to perform chromaticity compensation on the pixel.

9. A display compensation device for a display panel, characterized in that, include: The acquisition unit is used to acquire the grayscale value of each pixel in the current display frame of the display panel; A first determining unit is configured to determine the average brightness load of the current display screen in the display panel based on the grayscale value; a search unit is configured to use the grayscale value and the average brightness load as indexes to search in a compensation lookup table to obtain a second lookup combination that has the highest matching degree with the first lookup combination corresponding to the grayscale value and the average brightness load, wherein the compensation lookup table is used to record compensation values ​​under different brightness loads and different grayscale combinations; a second determining unit is configured to determine the compensation value corresponding to the second lookup combination as the target compensation value of the first lookup combination; a compensation unit is configured to perform brightness and chromaticity compensation on the pixel based on the target compensation value.

10. A display panel, characterized in that, The display panel uses the display compensation method of any one of claims 1 to 8.