Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The display panel includes a light emitting element (e.g., OLED) and a driving circuit (the driving circuit may include a transistor) for driving the light emitting element to emit light, and the driving circuit is capable of supplying a driving signal to the light emitting element according to gray-scale data to drive the light emitting element to emit light. Since the internal characteristics of the transistor and the luminous efficiency of the light emitting element are changed due to the influence of temperature along with the change of the ambient temperature of the display panel, the display luminous brightness presented by the display panel has deviation. Meanwhile, as the brightness change rate of the light emitting element in the pixels of different colors in the same pixel unit is inconsistent with the change of the ambient temperature where the display panel is located, for example, fig. 1 is a schematic diagram of a relationship between the change degree of the light emitting brightness of each pixel and the temperature, wherein the ordinate is a percentage of the change of the brightness of each pixel, the abscissa is the temperature, the curve LR is a relationship between the change degree of the light emitting brightness of the light emitting element in the red pixel and the temperature, the curve LG is a relationship between the change degree of the light emitting brightness of the light emitting element in the green pixel and the temperature, and the curve LB is a relationship between the change degree of the light emitting brightness of the light emitting element in the blue pixel and the temperature, as can be seen from fig. 1, when the ambient temperature where the display panel is located is changed within a certain temperature range (for example, 28 ℃ to 40 ℃), the change degree of the light emitting brightness of the light emitting element in the green pixel is the largest, the change degree of the light emitting brightness of the light emitting element in the red pixel is secondary, and the change degree of the light emitting brightness of the light emitting element in the blue pixel is the smallest; and as the brightness ratio of the pixels with different colors in the same pixel unit is constant for a specific color, when the brightness of the pixels with different colors in the same pixel unit is inconsistent along with the temperature change, the brightness ratio of the pixels with different colors also changes, so that the chromaticity and the brightness displayed by the pixel unit are offset, and the color cast phenomenon of the image displayed by the display panel is caused.
In addition, the color cast of the display panel is also related to its own display brightness, which may be a dimming brightness of the display panel, for example, a basic display brightness set according to ambient light or an application scene. For example, fig. 2 is a schematic diagram of a relationship between display brightness and gray scale value of a pixel at different temperatures, wherein the ordinate is display brightness, the unit is nit, the abscissa is gray scale value (i.e. the display light emitting brightness level of the pixel), the L1 is a relationship between display brightness and gray scale value of the pixel at 26 ℃, and the L2 is a relationship between display brightness and gray scale value of the pixel at 40 ℃, as shown in fig. 2, at different temperatures, the display brightness of the pixel increases with increasing gray scale value, and the higher the temperature, the higher the display brightness of the pixel. Therefore, the ambient temperature, the display brightness and the color cast condition of the display panel are mutually influenced. Similarly, the ambient temperature, refresh frequency and color cast conditions of the display panel are also affected.
Based on the above, fig. 3 is a schematic diagram of a relationship between color coordinates and gray scale values at different temperatures, wherein, the ordinate is the color coordinate CIE, the abscissa is the gray scale level, the L3 is the relationship between the coordinate x of the color coordinate CIE and the gray scale value at 26 ℃, the L4 is the relationship between the coordinate y of the color coordinate CIE and the gray scale value at 26 ℃, the L5 is the relationship between the coordinate x of the color coordinate CIE and the gray scale value at 40 ℃, and the L6 is the relationship between the coordinate y of the color coordinate CIE and the gray scale value at 40 ℃, as shown in fig. 3, the offset of the color coordinates in the low gray scale range (for example, 4-8 gray scale levels) is larger, and the offset of the color coordinates in the high gray scale range (for example, 8-16 gray scale levels) is smaller, so that the chromaticity influence of the temperature on the low gray scale is more obvious. In summary, the temperature change affects both the chromaticity and the brightness (color brightness) of the pixel, so that the color brightness deviation is generated in the image displayed on the display panel.
In order to solve the above-mentioned technical problems, an embodiment of the present invention provides a display control method for a display panel, so as to compensate for the color brightness of an image displayed on the display panel, and improve the display effect of the display panel.
Fig. 4 is a schematic structural diagram of a display panel according to an embodiment of the present invention, as shown in fig. 4, the display panel 100 includes a plurality of pixel units 110 arranged in an array, and each pixel unit 110 includes a plurality of pixels 111 with different colors. For example, the pixel unit 110 may include a red pixel, a green pixel, and a blue pixel, and each pixel 111 may include a light emitting element and a driving circuit therein, wherein the driving circuit is configured to drive the light emitting element to emit light of red, the light emitting element in the red pixel may emit light of red, the light emitting element in the green pixel may emit light of green, and the light emitting element in the blue pixel may emit light of blue.
Fig. 5 is a flowchart of a display control method of a display panel according to an embodiment of the present invention, and referring to fig. 4 and fig. 5 in combination, the method includes:
S110, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, brightness to be displayed and the current refresh frequency.
The image data comprises gray-scale data to be displayed corresponding to each pixel.
Specifically, a temperature sensor may be disposed in the display panel, and the current temperature of the environment where the display panel is located is obtained through the temperature sensor, for example, the temperature sensor may be a thermistor, at this time, the resistance value of the thermistor may be determined according to the current flowing through the thermistor or the voltages at two ends of the thermistor, and the current temperature of the environment where the thermistor is located, that is, the current temperature of the display panel may be determined according to the resistance value of the thermistor.
The display gray-scale data may be gray-scale voltages or gray-scale values. When the display gray-scale data is gray-scale voltage, the gray-scale voltage can be provided to the driving circuit of the corresponding pixel, and the driving circuit can drive the light emitting element to emit light according to the received gray-scale voltage. Or the display gray-scale data can be gray-scale values, at this time, different gray-scale values correspond to different gray-scale voltages, after the display gray-scale values are obtained, the gray-scale voltages corresponding to the gray-scale values can be determined according to a gray-scale voltage curve (gamma curve), and the display gray-scale voltages are provided to a driving circuit in the pixel, so that the driving circuit drives the light-emitting element to emit light according to the received display gray-scale voltages. When the driving circuit drives the light-emitting element to emit light according to different gray scale voltages, the light-emitting element can present different levels of color brightness.
The brightness to be displayed of the image to be displayed can be understood as the display brightness of the whole display panel, and the gray scale voltages required for displaying the same level of color brightness under different display brightness have differences. For example, in different application scenarios, the display panel may present different display brightness, for example, when the display panel is in an environment with higher brightness, if the brightness is darker when displaying the image, the human eyes cannot see the image clearly, so when the display panel is in an environment with higher brightness, the brightness to be displayed of the image to be displayed is relatively higher. When the display panel is in an environment with lower brightness, the brightness of the display image is brighter, so that larger stimulus is caused to human eyes, the eyesight of a user can be influenced, and therefore, when the display panel is in a dark environment, the brightness to be displayed of the image to be displayed is relatively lower. From the above, it can be seen that the brightness to be displayed of the display panel can be determined according to the current application scenario of the display panel.
The refresh frequency is the number of updated images of the display panel in unit time, and under different application scenarios, for example, if the display panel is in a standby state, the refresh frequency of the display panel is lower, and when displaying dynamic images, the refresh frequency of the display panel is lower, so that the current refresh frequency of the display panel can be determined according to the application scenario of the display panel.
S120, determining the initial gray level compensation quantity of each pixel at the current temperature according to the gray level data to be displayed of each pixel.
Specifically, referring to fig. 1, when the gray-scale data to be displayed is constant, the brightness variation degree of the pixels with different colors is different along with the temperature rise, that is, the variation degree of the green pixel is the largest, the variation degree of the red pixel is the second largest, and the variation degree of the blue pixel is the smallest. Therefore, according to the test or experience summary, the initial gray-scale compensation amount corresponding to each gray-scale data of each pixel at different temperatures is determined, so that after the gray-scale data to be displayed of each pixel is obtained, the initial gray-scale compensation amount of each pixel can be determined according to the current temperature. The initial gray-scale compensation amount corresponds to a gray-scale value if the gray-scale data to be displayed is a gray-scale value, and corresponds to a gray-scale voltage if the gray-scale data to be displayed is a gray-scale voltage.
S130, determining brightness compensation coefficients of pixels corresponding to the brightness to be displayed according to the brightness to be displayed.
Specifically, referring to fig. 2 and 3, as the temperature increases, the display brightness of the image increases, and at a certain temperature, the degree of color cast of the image decreases as the display brightness increases, based on which the brightness compensation coefficient corresponding to each pixel at different brightness can be determined by means of test and empirical summary, so that the brightness compensation coefficient corresponding to each pixel to be displayed can be determined after the brightness to be displayed is obtained.
And S140, determining the frequency compensation coefficient of each pixel corresponding to the current refresh frequency according to the current refresh frequency.
Specifically, the refresh frequency of the display panel when displaying an image is different, and the color brightness of the image to be displayed may be affected, so that the frequency compensation coefficient required when each pixel reaches the color brightness required by the image at different refresh frequencies can be determined according to test or experience summary, and the frequency compensation coefficient of each pixel corresponding to the current refresh frequency can be determined after the current refresh frequency is obtained.
S150, determining actual display gray-scale data of each pixel based on the initial gray-scale compensation amount, the brightness compensation coefficient, the frequency compensation coefficient and the gray-scale data to be displayed of each pixel.
Specifically, after the initial gray-scale compensation amount, the brightness compensation coefficient and the frequency compensation coefficient of each pixel are determined, the gray-scale data to be displayed of each pixel can be combined with the initial gray-scale compensation amount, the brightness compensation coefficient and the frequency compensation coefficient to determine the actual display gray-scale data of each pixel. Therefore, the determined actual display gray-scale data is not only related to the temperature information of the environment where the display panel is located, but also related to the display brightness and the refresh frequency, so that the compensation of the display gray-scale data of each pixel is accurate, and the determined actual display gray-scale data of each pixel is accurate.
S160, controlling each pixel to display and emit light according to the actual display gray-scale data of each pixel.
Specifically, each pixel may be scanned line by line, so as to provide actual display gray-scale data (gray-scale voltage) corresponding to each pixel, and the driving circuit in each pixel may provide a driving current to the light emitting element according to the received actual display gray-scale data to drive the light emitting element to emit light, so as to realize display light emission of each pixel, so that each pixel presents color brightness corresponding to the actual display gray-scale data, and further, the display panel displays a corresponding image to be displayed.
When the display panel is controlled to display images, the current temperature of the environment where the display panel is positioned, the image data of the image to be displayed, the brightness to be displayed and the current refresh frequency are firstly obtained, so that the initial gray-scale compensation quantity, the brightness compensation coefficient and the frequency compensation coefficient of each pixel under the current temperature can be sequentially determined, the gray-scale data to be displayed of the image to be displayed can be combined with the determined initial gray-scale compensation quantity, brightness compensation coefficient and frequency compensation coefficient to determine the accurate actual display gray-scale data of each pixel, the determined actual display gray-scale data can be related to the temperature information of the environment where the display panel is positioned, the display brightness and the refresh frequency are related, the determined actual display gray-scale data of each pixel is accurate, the compensation of the display gray-scale data of each pixel is accurate, the color brightness of the image to be displayed can be accurately displayed when each pixel is controlled to display and emit light according to the actual display gray-scale data, and the display effect of the display panel is effectively improved.
Optionally, fig. 6 is a flowchart of another display control method of a display panel according to an embodiment of the present invention, as shown in fig. 6, where the display control method of the display panel includes:
s210, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, brightness to be displayed and the current refresh frequency.
S220, acquiring the mapping relation between the temperature and gray scale of each color pixel.
The temperature-gray level mapping relation comprises gray level compensation amounts of pixels of each color under different ambient temperatures and different levels of standard color brightness.
Specifically, if the gray-scale data required by the pixel to display a standard gray-scale luminance of a certain level is actual display gray-scale data at the current temperature, and the display gray-scale data required by the pixel to display the standard gray-scale luminance of the level is to be displayed gray-scale data at the standard temperature (for example, normal room temperature), when the current temperature is different from the standard temperature, there is a difference between the actual display gray-scale data and the to-be-displayed gray-scale data, and the difference can be used as a gray-scale compensation amount corresponding to the standard gray-scale luminance of the level, and meanwhile, the degree of difference (i.e., the gray-scale compensation amount) between the actual display gray-scale and the to-be-displayed gray-scale is also different at the standard gray-scale luminance of different levels, so when determining the initial gray-scale compensation amount of each pixel at the current temperature according to the to-be-displayed gray-scale data of each pixel, the gray-scale compensation amount of each pixel of different ambient temperatures and different levels of the standard gray-scale luminance of each pixel can be acquired at first. The mapping relation between the temperature and the gray level can be a relation formula determined based on experience, or a relation table obtained through binding point test.
S230, determining standard color brightness to be displayed of each pixel according to the gray scale data to be displayed of each pixel.
Specifically, as can be seen from the above description, the gray-scale data required for displaying the standard color brightness of a certain level of pixels at the standard temperature (for example, normal room temperature) is the gray-scale data to be displayed, so that after the gray-scale data to be displayed of each pixel is obtained, the level of the standard color brightness to be displayed of each pixel can be correspondingly determined.
S240, according to the current temperature and the standard color brightness to be displayed of each pixel, the initial gray level compensation quantity of each pixel is correspondingly determined based on the mapping relation between the temperature and the gray level.
Specifically, after the standard color brightness to be displayed of each pixel is determined, the level of the standard color brightness to be displayed can be determined, and at this time, according to the mapping relationship between the temperature and the gray scale, the initial gray scale compensation amount corresponding to the current temperature under the standard color brightness of the level is determined. For example, when the mapping relationship between the temperature and the gray scale is a relational expression, the current temperature and the standard color brightness may be substituted into the relational expression, so that the initial gray scale compensation amount corresponding to the current temperature and the standard color brightness may be calculated, or when the mapping relationship between the temperature and the gray scale is a relational expression, the initial gray scale compensation amount corresponding to the current temperature and the standard color brightness may be directly determined by looking up a table through the relational expression.
S250, determining brightness compensation coefficients of pixels corresponding to the brightness to be displayed according to the brightness to be displayed.
S260, according to the current refresh frequency, determining the frequency compensation coefficient of each pixel corresponding to the current refresh frequency.
S270, determining actual display gray-scale data of each pixel based on the initial gray-scale compensation amount, the brightness compensation coefficient, the frequency compensation coefficient and the gray-scale data to be displayed of each pixel.
S280, controlling each pixel to display and emit light according to the actual display gray scale data of each pixel.
According to the embodiment of the invention, the initial gray-scale compensation quantity of each pixel corresponding to the standard color brightness to be displayed at the current temperature is determined through the temperature and gray-scale mapping relation, so that the initial gray-scale compensation quantity is accurate due to the fact that the factors of the temperature and the standard color brightness to be displayed are combined, the actual display gray-scale data determined according to the initial gray-scale compensation quantity is accurate, and therefore, when each pixel is controlled to display and emit light according to the actual display gray-scale data, the color brightness of an image to be displayed can be accurately displayed, and the display effect of a display panel can be improved.
Optionally, fig. 7 is a flowchart of a method for obtaining a mapping relationship between temperature and gray level, which is provided in an embodiment of the present invention, as shown in fig. 7, and the method includes:
S221, when the ambient temperature of the display panel is the standard temperature, acquiring first standard gray-scale data of pixels of each color, which correspond to standard color brightness of different grades one by one.
Specifically, the standard temperature may be determined according to a conventional application scenario of the display panel, for example, the display panel may be applied to a standard room temperature environment for a long time, so that the standard temperature may be exemplarily determined to be a certain temperature in a range of 22 ℃ to 25 ℃. The gray-scale data of each pixel corresponding to the display panel displaying the standard color brightness of each level at the standard temperature can be sequentially obtained, and the obtained gray-scale data is used as the first standard gray-scale data corresponding to the display panel displaying the color brightness of each level at the standard temperature.
S222, when the ambient temperature of the display panel is the test temperature, acquiring first test gray-scale data of pixels of each color, which correspond to standard color brightness of different grades one by one.
Specifically, in different ambient temperatures, the gray-scale data corresponding to the same pixel when displaying the standard color brightness of the same level is different, the ambient temperature of the display panel can be adjusted to different test temperatures, and the gray-scale data corresponding to the same pixel when displaying the standard color brightness of each level at the test temperatures, namely the first test gray-scale data, is sequentially obtained. The first test gray-scale data corresponding to the pixels with different colors when displaying the standard color brightness with different levels at the same test temperature can be determined by the gray-scale data corresponding to the pixels with different colors when displaying the standard color brightness with different levels at the same test temperature.
S223, determining the gray level compensation amount of the pixel with the same color under the standard color brightness of the same level at the current test temperature according to the first standard gray level data and the first test gray level data of the pixel with the same color under the standard color brightness of the same level.
Specifically, the first standard gray-scale data and the first test gray-scale data of the pixels of each color under the standard color brightness of each level are obtained, so that the difference value between the first test gray-scale data and the first standard gray-scale data of the pixels of the same color under the standard color brightness of the same level can be determined, the difference value is used as the gray-scale compensation amount of the pixels of the color under the standard color brightness of the level at the current test temperature, and the gray-scale compensation amount corresponding to the standard color brightness of the pixels of each color under the current test temperature can be further determined.
S224, judging whether the current temperature test times reach the first preset test times, if not, executing S225, and if so, executing S226.
S225, the test temperature is adjusted according to the first preset rule, and S222 is executed in a return mode.
S226, determining a relation table of gray scale compensation amounts corresponding to pixels of each color and standard color brightness of different levels at different test temperatures as a temperature-gray scale mapping relation.
Specifically, after the determination of the gray-scale compensation amount of each pixel under each level of color brightness at the current test temperature is completed, the number of times of determining the gray-scale compensation amount, that is, the number of times of adjusting the temperature, can be obtained, and the number of times of adjusting the temperature is taken as the current number of times of temperature test, and whether the current number of times of temperature test reaches the first preset number of times is judged, if the current number of times of temperature test does not reach the first preset number of times, the test temperature is adjusted according to the first preset rule, after the test temperature is adjusted, first test gray-scale data, which are one-to-one corresponding to each color pixel and different levels of standard color brightness, is obtained again at the adjusted test temperature, so that the gray-scale compensation amount, which corresponds to each color pixel under each level of standard color brightness, is circulated until the number of times of temperature test reaches the first preset number of times of test is determined, that the mapping relation between the gray-scale compensation amount of each color pixel, the ambient temperature and the level of standard color brightness, that is the gray-scale mapping relation between the temperature and the gray-scale can be determined.
Wherein, table 1 is a table of the temperature and gray level mapping relation of the pixels of each color, and the gray level compensation amount of the pixels of each color under each standard color brightness of each level at each test temperature can be recorded in a table manner, and the obtained table can be used as the temperature and gray level mapping relation of the pixels of each color after the circulation is completed. In table 1, T0 to TN represent n+1 test temperatures Temp, "Rm, N" represent the gray-scale compensation amount offset corresponding to the red pixel when the standard color luminance is the gray-scale N when the test temperature is Tm, "Gm, N" represent the gray-scale compensation amount offset corresponding to the green pixel when the standard color luminance is the gray-scale N when the test temperature is Tm, and "Rm, N" represent the gray-scale compensation amount offset corresponding to the blue pixel when the standard color luminance is the gray-scale N when the test temperature is Tm.
Table 1 temperature and gray-scale mapping relation table of pixels of each color
The first preset rule may be a rule of adjusting the temperature according to a gradient, for example, the temperature may be increased and decreased according to a preset gradient based on the standard temperature after the measurement of the standard temperature is completed, or the data at the highest temperature to be tested may be directly obtained after the measurement of the standard temperature is completed and decreased according to the preset gradient based on the highest test temperature, or the data at the lowest temperature to be tested may be directly obtained after the measurement of the standard temperature is completed and increased according to the preset gradient based on the lowest test temperature. The preset gradient can be set according to design requirements, for example, can be 5 ℃. The test temperature range may be set according to future application scenarios of the display panel, for example, if the batch of display panels is to be applied to a colder region, the test temperature range may be set to-40 ℃ to 40 ℃, and if the batch of display panels is to be applied to a warmer region, the test temperature range may be set to 10 ℃ to 40 ℃.
According to the embodiment of the invention, the temperature and gray level mapping relation which can reflect the gray level compensation quantity of the pixels of each color, the ambient temperature and the standard color brightness is obtained in a binding point test mode, so that the reliability of the temperature and gray level mapping relation is higher, the initial gray level compensation which is determined by the temperature and gray level mapping relation and corresponds to the gray level data to be displayed at the current temperature is more accurate, the actual display gray level data which is determined according to the initial compensation quantity is more accurate, and the color brightness of the image to be displayed can be accurately displayed when the pixels are controlled to display and emit light according to the actual display gray level data, and the display effect of a display panel can be improved.
Optionally, fig. 8 is a flowchart of a display control method of a display panel according to another embodiment of the present invention, where, as shown in fig. 8, the display control method of the display panel includes:
s310, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, brightness to be displayed and the current refresh frequency.
S320, determining the initial gray level compensation quantity of each pixel at the current temperature according to the gray level data to be displayed of each pixel.
S330, obtaining the mapping relation between the brightness and the compensation coefficient.
The mapping relation between brightness and compensation coefficient includes brightness compensation coefficient when pixels of each color display brightness.
Specifically, at the same ambient temperature, the display gray-scale data required for each pixel to display a certain level of standard color brightness is related to the overall display brightness required for the display panel, and the display gray-scale data required for different display brightness is also different. In the same environment temperature, if the display panel is the standard display brightness, the display gray-scale data required by the pixel to display the standard color brightness of a certain level is used as the standard gray-scale data, and when the display panel is other display brightness, the display gray-scale data required by the pixel to display the standard color brightness of the level is used as the actual gray-scale data, and a certain difference exists between the actual gray-scale data and the standard gray-scale data, at this time, the ratio between the actual gray-scale data and the standard gray-scale data can be used as the brightness compensation coefficient corresponding to the standard color brightness of the level. The brightness compensation coefficients of the pixels of each color when the display panel presents different display brightness can be obtained in a test mode, so that the mapping relation between the brightness compensation coefficients of the pixels of each color and the brightness of the display brightness and the compensation coefficients can be determined.
S340, according to the brightness to be displayed, based on the mapping relation between the brightness and the compensation coefficient, the brightness compensation coefficient of each pixel is correspondingly determined.
Specifically, the brightness to be displayed may be the expected display brightness determined according to the gray-scale data to be displayed in the application scene, and the mapping relationship between the brightness and the compensation coefficient may be a relationship formula determined based on experience, or may be a relationship table obtained through binding point test. For example, when the mapping relationship between the brightness and the compensation coefficient is a relational expression, the determined brightness to be displayed may be substituted into the relational expression, so as to determine the brightness compensation coefficient corresponding to the brightness to be displayed, and if the mapping relationship between the brightness and the compensation coefficient is a relational table, the brightness to be displayed may be mapped to the relational table in a table lookup manner to determine the corresponding brightness compensation coefficient.
S350, according to the current refresh frequency, determining the frequency compensation coefficient of each pixel corresponding to the current refresh frequency.
S360, determining actual display gray-scale data of each pixel based on the initial gray-scale compensation quantity, the brightness compensation coefficient, the frequency compensation coefficient and the gray-scale data to be displayed of each pixel.
And S370, controlling each pixel to display and emit light according to the actual display gray-scale data of each pixel.
According to the embodiment of the invention, the influence of the display brightness of the display panel on the standard color brightness presented by the pixels is considered, and the brightness compensation coefficient of each pixel corresponding to the brightness to be displayed is determined through the mapping relation of the brightness and the compensation coefficient, so that the brightness compensation coefficient is accurate, the actual display gray scale data determined according to the brightness compensation coefficient is accurate, and the image display accuracy is improved.
Optionally, fig. 9 is a flowchart of a method for obtaining a mapping relationship between brightness and compensation coefficients according to an embodiment of the present invention, as shown in fig. 9, where the method includes:
S331, when the ambient temperature of the display panel is a preset temperature and the display brightness of the display panel is a standard display brightness, second standard gray-scale data when pixels of each color are standard color brightness of a preset level is obtained.
Specifically, the preset temperature may be a certain standard room temperature, for example 25 ℃. The standard display brightness and the preset level of the standard color brightness can be set according to design requirements, for example, 500nit can be determined as the standard display brightness in the embodiment of the invention, the standard color brightness of each pixel can be divided into 256 levels which are 0-255, the higher the standard color brightness is, and the standard color brightness of 255 levels can be used as the standard color brightness of the preset level. The corresponding display gray-scale data is provided for the pixel to control the pixel to emit light, so that the current color brightness of the pixel can be obtained, when the color brightness does not reach the standard color brightness of the preset level, the display gray-scale data provided for the pixel can be adjusted until the color brightness reaches the standard color brightness of the preset level, and the current display gray-scale data can be determined to be the second standard gray-scale data.
S332, when the ambient temperature of the display panel is a preset temperature and the display brightness of the display panel is a test display brightness, obtaining second test gray-scale data when the pixels of each color are standard color brightness of a preset level.
Specifically, the display brightness of the display panel is adjusted to be the test display brightness, the display gray-scale data is provided for the pixels to control the pixels to emit light under the preset temperature environment, if the current color brightness of the pixels does not reach the standard color brightness of the preset level, the display gray-scale data provided for the pixels is adjusted until the color brightness presented by the pixels reaches the standard color brightness of the preset level, and the current display gray-scale data is determined to be the second test gray-scale data. The number of the preset levels can be set to be a plurality of, and then second test gray-scale data corresponding to the standard color brightness of the preset levels can be obtained for each pixel under the test display brightness.
S333, determining the brightness compensation coefficient of the pixel with the same color under the current test display brightness according to the second standard gray scale data and the second test gray scale data when the pixel with the same color is the standard color brightness with the same preset level.
Specifically, based on the above steps, the second standard gray-scale data and the second test gray-scale data of the pixels of each color at the same standard color brightness of the preset level can be obtained, and under the test display brightness, the brightness compensation coefficient of the pixels of a certain color can be the ratio of the second test gray-scale data and the second standard gray-scale data at the preset temperature and the same preset level of color brightness. For example, if the gray-scale value required for displaying the standard color luminance of 255 levels is Q1 when the standard display luminance is 500nit, and the gray-scale value required for displaying the standard color luminance of 255 levels is Q2 when the test display luminance is 200nit, the luminance compensation coefficient of the pixel of the color at the display luminance of 200nit is Q2/Q1. The average value of the luminance compensation coefficients of the pixels under test at the standard color luminance of each preset level may be used as the luminance compensation coefficient of each pixel under test, or the luminance compensation coefficient of each pixel under the standard color luminance of a certain preset level (for example, the color luminance of 255 levels) may be used as the luminance compensation coefficient of each pixel under test.
S334, judging whether the current brightness test times reach the second preset test times, if not, executing S335, and if so, executing S336.
S335, adjusting the test display brightness according to the second preset rule, and returning to S332.
S336, determining a relation table of brightness compensation coefficients of pixels of each color under different test display brightness as a mapping relation of brightness and compensation coefficients.
Specifically, after the determination of the brightness compensation coefficient of each pixel under the current test display brightness is completed, the number of times of determining the gray-scale compensation amount can be obtained, that is, the adjustment number of times of obtaining the display brightness is taken as the current brightness test number of times, and whether the current brightness test number of times reaches the second preset test number of times is judged, if the current brightness test number of times does not reach the second preset number of times, the test display brightness is adjusted according to the second preset rule, after the test display brightness is adjusted, based on the adjusted test display brightness, the second test gray-scale data when each pixel presents the standard color brightness of the preset level is obtained again, so as to obtain the brightness compensation coefficient corresponding to each pixel under the adjusted test display brightness, and the mapping relation between the brightness compensation coefficient of each pixel with each color and the display brightness of the display panel can be determined until the brightness test number of times reaches the second preset test number of times.
For example, table 2 is a luminance and compensation coefficient map, in which DBV Band represents a display luminance level, band x represents a display luminance of an x-th level, "dbv_gain Rx" represents a luminance compensation coefficient of a red pixel at a display luminance of an x-th level, "dbv_gain Gx" represents a luminance compensation coefficient of a green pixel at a display luminance of an x-th level, and "dbv_gain Bx" represents a luminance compensation coefficient of a blue pixel at a display luminance of an x-th level.
TABLE 2 Brightness and Compensation coefficient mapping relationship Table
| DBV Band |
DBV_Gain R |
DBV_Gain G |
DBV_Gain B |
| Band1 |
DBV_Gain R1 |
DBV_Gain G1 |
DBV_Gain B1 |
| Band2 |
DBV_Gain R2 |
DBV_Gain G2 |
DBV_Gain B2 |
| Band3 |
DBV_Gain R3 |
DBV_Gain G3 |
DBV_Gain B3 |
| Band4 |
DBV_Gain R4 |
DBV_Gain G4 |
DBV_Gain B4 |
| Band5 |
DBV_Gain R5 |
DBV_Gain G5 |
DBV_Gain B5 |
| ... |
|
|
|
| Bandx |
DBV_Gain Rx |
DBV_Gain Gx |
DBV_Gain Bx |
The second preset rule may be a rule for adjusting the test display brightness by a gradient, for example, the test display brightness may be increased or decreased in a test range with a gradient of 100 nit.
The embodiment of the invention obtains the brightness and gray scale mapping relation capable of reflecting the brightness of the display panel and the brightness compensation coefficient of the pixels of each color by a binding point test mode, so that the reliability of the brightness and compensation coefficient mapping relation is higher, the brightness compensation coefficient corresponding to the brightness to be displayed at the current temperature determined according to the brightness and compensation coefficient mapping relation is more accurate, the actual display gray scale data determined according to the brightness compensation coefficient is more accurate, and the color brightness of the image to be displayed can be accurately displayed when each pixel is controlled to display and emit light according to the actual display gray scale data, and the display effect of the display panel can be improved.
Optionally, fig. 10 is a flowchart of a display control method of a display panel according to another embodiment of the present invention, as shown in fig. 10, where the display control method of the display panel includes:
S410, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, brightness to be displayed and the current refresh frequency.
S420, determining the initial gray level compensation quantity of each pixel at the current temperature according to the gray level data to be displayed of each pixel.
S430, determining brightness compensation coefficients of pixels corresponding to the brightness to be displayed according to the brightness to be displayed.
S440, obtaining the mapping relation between the frequency and the compensation coefficient.
The frequency-compensation coefficient mapping relationship includes frequency compensation coefficients of pixels of each color when the display panel is at different refresh frequencies.
Specifically, when each pixel displays according to a standard color brightness of a certain level at the same ambient temperature, the difference of refresh frequencies of the display panel can cause the difference between the actual display gray-scale data and the preset data to be displayed, and the required display gray-scale data is different when the refresh frequencies are different. At the standard ambient temperature, when the refresh frequency of the display panel is set to a standard refresh frequency (for example, 60 Hz), the display gray-scale data required by the pixel to display a standard color brightness of a certain level is used as standard gray-scale data, and when the refresh frequency is set to another refresh frequency, the display gray-scale data required by the pixel to display the standard color brightness of the level is used as actual gray-scale data, and a certain difference exists between the actual gray-scale data and the standard gray-scale data, and at this time, the ratio between the actual gray-scale data and the standard gray-scale data can be used as a frequency compensation coefficient corresponding to the standard color brightness of the level. The frequency compensation coefficients of the pixels of each color under different refresh frequencies can be obtained in a test mode, so that the frequency-compensation coefficient mapping relation between the refresh frequency and the frequency compensation coefficients of the pixels of each color can be determined.
S450, according to the current refresh frequency, the frequency compensation coefficient of each pixel is correspondingly determined based on the mapping relation between the frequency and the compensation coefficient.
Specifically, the mapping relation between the frequency and the compensation coefficient may be a relation determined based on experience, or may be a relation table obtained through binding point test. For example, when the mapping relationship between the frequency and the compensation coefficient is a relational expression, the current refresh frequency may be substituted into the relational expression, so as to determine the frequency compensation coefficient corresponding to the current refresh frequency, and if the mapping relationship between the frequency compensation coefficient and the compensation coefficient is a relational table, the current refresh frequency may be mapped to the relational table by means of table lookup, so as to determine the frequency compensation coefficient corresponding to the current refresh frequency.
S460, determining actual display gray-scale data of each pixel based on the initial gray-scale compensation amount, the brightness compensation coefficient, the frequency compensation coefficient and the gray-scale data to be displayed of each pixel.
And S470, controlling each pixel to display and emit light according to the actual display gray-scale data of each pixel.
According to the embodiment of the invention, the influence of the refresh frequency of the display panel on the standard color brightness presented by the pixels is considered, and the frequency compensation coefficient of each pixel corresponding to the current refresh frequency is determined through the mapping relation of the frequency and the compensation coefficient, so that the frequency compensation coefficient is accurate, the actual display gray scale data determined according to the frequency compensation coefficient is accurate, and the image display accuracy is improved.
Optionally, fig. 11 is a flowchart of a method for obtaining a mapping relationship between frequency and compensation coefficient according to an embodiment of the present invention, as shown in fig. 11, where the method includes:
S441, when the ambient temperature of the display panel is a preset temperature and the refresh frequency of the display panel is a standard refresh frequency, third standard gray-scale data is obtained when the pixels of each color are standard color brightness of a preset level.
Specifically, the standard refresh frequency and the preset level of the standard color brightness can be set according to the design requirement, for example, the embodiment of the invention can determine 60Hz as the standard refresh frequency, and the preset level of the standard color brightness can be 255. When the color brightness does not reach the standard color brightness of the preset level, the display gray-scale data provided to the pixel can be adjusted until the color brightness of the pixel reaches the standard color brightness of the preset level, and the current display gray-scale data can be determined as the third standard gray-scale data of the pixel.
S442, when the ambient temperature of the display panel is a preset temperature and the refresh frequency of the display panel is a test refresh frequency, third test gray-scale data is obtained when the pixels of each color are standard color brightness of a preset level.
Specifically, the refresh frequency of the display panel is adjusted to be the test refresh frequency, display gray-scale data is provided for the pixel again under the preset temperature environment to control the pixel to emit light, if the current color brightness of the pixel does not reach the standard color brightness of the preset level, the display gray-scale data provided for the pixel is adjusted until the color brightness of the pixel reaches the standard color brightness of the preset level, and the current display gray-scale data is determined to be the third test gray-scale data of the pixel. The number of the preset levels can be set to be a plurality of, and then third test gray-scale data corresponding to standard color brightness of the preset levels can be obtained for each pixel under the test refresh frequency.
S443, determining the frequency compensation coefficient of the pixel with the same color under the current test refresh frequency according to the third standard gray scale data and the third test gray scale data when the pixel with the same color is the standard color brightness with the same preset level.
Specifically, based on the above steps, the third standard gray-scale data and the third test gray-scale data of the pixels of each color under the standard color brightness of the same preset level can be obtained, and under the test refresh frequency, the frequency compensation coefficient of the pixel of a certain color can be the ratio of the third test gray-scale data and the third standard gray-scale data under the color brightness of the same preset level at the preset temperature. The average value of the frequency compensation coefficients of each pixel under test at the standard color brightness of each preset level may be used as the frequency compensation coefficient of each pixel under the test frequency, or the frequency compensation coefficient of each pixel under the standard color brightness of a certain preset level (for example, the color brightness of 255 levels) may be used as the frequency compensation coefficient of each pixel under the test frequency.
S444, judging whether the current frequency test times reach the third preset test times, if not, executing S445, and if so, executing S446.
S445, the test refresh frequency is adjusted according to the third preset rule, and S442 is executed back.
S446, determining a relation table of frequency compensation coefficients of pixels of each color under different test refresh frequencies as a mapping relation between the frequency and the compensation coefficients.
Specifically, after the frequency compensation coefficient of each pixel under the current test refresh frequency is determined, the number of times of determining the gray-scale compensation amount can be obtained, that is, the adjustment number of times of refresh frequency is obtained, and is used as the current frequency test number of times, and whether the current frequency test number of times reaches the third preset test number of times is judged, if the current frequency test number of times does not reach the third preset number of times, the test refresh frequency is adjusted according to the third preset rule, after the test refresh frequency is adjusted, third test gray-scale data when each pixel presents standard color brightness of a preset level is obtained again under the adjusted test display brightness, so that the corresponding frequency compensation coefficient of each pixel with each color under the adjusted test refresh frequency is obtained, and the mapping relation between the frequency compensation coefficient of each pixel with each color and the refresh frequency of the display panel can be determined until the determined brightness test number of times reaches the third preset test number of times.
For example, table 3 is a frequency-compensation coefficient map, in which Freq mode represents a refresh frequency pattern, HFRx represents an xth test refresh frequency, "freq_gain Rx" represents a frequency compensation coefficient of a red pixel at an xth test refresh frequency, "freq_gain Gx" represents a frequency compensation coefficient of a green pixel at an xth test refresh frequency, and "freq_gain Bx" represents a frequency compensation coefficient of a blue pixel at an xth test refresh frequency.
Table 3 frequency and Compensation coefficient mapping Table
| Freq mode |
Freq_Gain R |
Freq_Gain G |
Freq_Gain B |
| HFR1 |
Freq_Gain R1 |
Freq_Gain G1 |
Freq_Gain B1 |
| HFR 2 |
Freq_Gain R2 |
Freq_Gain G2 |
Freq_Gain B2 |
| HFR 3 |
Freq_Gain R3 |
Freq_Gain G3 |
Freq_Gain B3 |
| HFR 4 |
Freq_Gain R4 |
Freq_Gain G4 |
Freq_Gain B4 |
| HFR 5 |
Freq_Gain R5 |
Freq_Gain G5 |
Freq_Gain B5 |
| ... |
|
|
|
| HFRx |
Freq_Gain Rx |
Freq_Gain Gx |
Freq_Gain Bx |
The third preset rule may be a rule for adjusting the test refresh frequency by gradient, for example, the test refresh frequency may be increased or decreased in a test range with a gradient of 10 Hz.
The embodiment of the invention obtains the frequency and gray scale mapping relation capable of reflecting the refresh frequency of the display panel and the frequency compensation coefficient of each color pixel in a binding point test mode, so that the reliability of the frequency and compensation coefficient mapping relation is higher, the frequency compensation coefficient corresponding to the current refresh frequency at the current temperature determined according to the frequency and compensation coefficient mapping relation is more accurate, the actual display gray scale data determined according to the frequency compensation coefficient is more accurate, and the color brightness of an image to be displayed can be accurately displayed when each pixel is controlled to display and emit light according to the actual display gray scale data, and the display effect of the display panel can be improved.
Optionally, fig. 12 is a flowchart of a display control method of a display panel according to another embodiment of the present invention, where, as shown in fig. 12, the display control method of the display panel includes:
s510, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, brightness to be displayed and the current refresh frequency.
S520, determining the initial gray-scale compensation quantity of each pixel at the current temperature according to the gray-scale data to be displayed of each pixel.
S530, determining the brightness compensation coefficient of each pixel corresponding to the brightness to be displayed according to the brightness to be displayed.
S540, according to the current refresh frequency, determining the frequency compensation coefficient of each pixel corresponding to the current refresh frequency.
S550, calculating the actual gray-scale compensation amount of the pixel according to the initial gray-scale compensation amount, the brightness compensation coefficient and the frequency compensation coefficient of the same pixel based on the first formula.
The first formula is tgo=ds×fs×offset, TGO is an actual gray-scale compensation amount of the pixel, DS is a brightness compensation coefficient of the pixel, FS is a frequency compensation coefficient of the pixel, and Offset is an initial gray-scale compensation amount of the pixel. The product of the brightness compensation coefficient, the frequency compensation coefficient and the initial gray-scale compensation amount of the pixel can be used as the actual gray-scale compensation amount of the pixel.
S560, determining the actual display gray-scale data of the pixel according to the actual gray-scale compensation amount and the gray-scale data to be displayed.
For example, the sum of the actual gray-scale compensation amount of a pixel and the gray-scale data to be displayed may be determined as the actual display gray-scale data of the pixel.
S570, controlling each pixel to display light according to the actual display gray-scale data of each pixel.
The embodiment of the invention combines the initial gray level compensation amount, the brightness compensation coefficient and the frequency compensation coefficient to determine the accurate actual gray level compensation amount of each pixel, thereby being capable of determining the accurate actual display gray level of each pixel according to the actual gray level compensation amount and the gray level data to be displayed and being beneficial to improving the display performance of image display.
Optionally, fig. 13 is a flowchart of a display control method of a display panel according to another embodiment of the present invention, where, as shown in fig. 13, the display control method of the display panel includes:
S610, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, brightness to be displayed and the current refresh frequency.
S620, determining the initial gray level compensation quantity of each pixel at the current temperature according to the gray level data to be displayed of each pixel.
S630, according to the brightness to be displayed, determining the brightness compensation coefficient of each pixel corresponding to the brightness to be displayed.
S640, according to the current refresh frequency, determining the frequency compensation coefficient of each pixel corresponding to the current refresh frequency.
S650, calculating the actual gray-scale compensation amount of the pixel according to the initial gray-scale compensation amount, the brightness compensation coefficient and the frequency compensation coefficient of the same pixel based on the first formula.
S660, obtaining a correction coefficient corresponding to the brightness to be displayed and the current level of the standard color brightness corresponding to the gray-scale data to be displayed of the pixel.
S670, correcting the actual gray level compensation amount according to the current level of each pixel and the correction coefficient.
Specifically, according to the gray-scale data to be displayed, the current level of the standard color brightness corresponding to the gray-scale data to be displayed, that is, the expected level of the standard color brightness, can be determined. Since the acquisition of the luminance compensation coefficient corresponding to the standard color luminance of each level may not be realized in the actual test, the luminance compensation coefficient corresponding to the standard color luminance of one level (for example, the standard color luminance of 255 levels) may be used as the luminance compensation coefficient of the standard color luminance of each level in the same display luminance, or the average value of the luminance compensation coefficients corresponding to the standard color luminance of several levels in the display luminance may be used as the luminance compensation coefficient of the standard color luminance of each level. When the standard color brightness level is larger, larger error is generated between brightness compensation coefficients of pixels at the same temperature and the same display brightness. Based on the above, after the actual gray-scale compensation amount of a certain pixel is determined, the correction coefficient corresponding to the brightness to be displayed and the current level of the standard color brightness corresponding to the gray-scale data of the pixel to be displayed can be obtained, so that the brightness compensation coefficient corresponding to the brightness to be displayed can be corrected through the correction coefficient, the actual gray-scale compensation amount can be corrected, and the accuracy of the color brightness when the image to be displayed is further displayed can be improved.
S680, determining the actual display gray-scale data of the pixel according to the actual gray-scale compensation amount and the gray-scale data to be displayed.
S690, controlling each pixel to display and emit light according to the actual display gray-scale data of each pixel.
According to the embodiment of the invention, after the actual gray-scale compensation amount is determined, the correction coefficient related to the brightness to be displayed of the display panel and the current level of the standard color brightness corresponding to the gray-scale data to be displayed of the pixels are obtained, the actual gray-scale compensation amount can be corrected according to the current level of each pixel and the correction coefficient, the error of the brightness compensation coefficient caused by the level difference of the standard color brightness under the same display brightness is reduced, and the accuracy of the color brightness when the image to be displayed is further improved.
Optionally, fig. 14 is a flowchart of a display control method of a display panel according to another embodiment of the present invention, as shown in fig. 14, where the display control method of the display panel includes:
s711, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, the brightness to be displayed and the current refresh frequency.
S712, determining the initial gray-scale compensation quantity of each pixel at the current temperature according to the gray-scale data to be displayed of each pixel.
S713, determining the brightness compensation coefficient of each pixel corresponding to the brightness to be displayed according to the brightness to be displayed.
S714, according to the current refresh frequency, determining the frequency compensation coefficient of each pixel corresponding to the current refresh frequency.
S715, calculating the actual gray-scale compensation amount of the pixel according to the initial gray-scale compensation amount, the brightness compensation coefficient and the frequency compensation coefficient of the same pixel based on the first formula.
S716, obtaining a correction coefficient corresponding to the brightness to be displayed and the current level of the standard color brightness corresponding to the gray-scale data to be displayed of the pixel.
S717, obtaining an initial gray level compensation amount offsetm corresponding to the standard color brightness of which the pixel is at the first preset level at the current temperature.
S718, calculating an actual gray-scale compensation amount TGOm when the pixel is the standard color brightness of the first preset level according to an initial gray-scale compensation amount offsetm, a brightness compensation coefficient and a frequency compensation coefficient corresponding to the standard color brightness of the first preset level, wherein TGOm =DS×FS× offsetm.
Specifically, the first preset level may be set according to design requirements, for example, may be 255 levels, and at the current temperature, the initial gray-scale compensation amount offsetm corresponding to the standard color brightness of the first preset level when each pixel is displayed as the first preset level, and the brightness compensation coefficient and the frequency compensation coefficient under the standard color brightness of the first preset level may be obtained, so that the actual gray-scale compensation amount TGOm when the standard color brightness of the first preset level may be determined based on the formula TGOm =ds×fs× offsetm.
S719, calculating the corrected actual gray-scale compensation amount TGO' according to the current level of the pixel, the actual gray-scale compensation amount and the correction coefficient, and the actual gray-scale compensation amount TGOm corresponding to the standard color brightness of the pixel as the first preset level.
Wherein TGO' =tgo+ (TGOm-TGO) × (n/m) ×dgs, n is the current level, m is the first preset level, and DSG is the correction coefficient.
For example, taking the first preset level m as 255 and the current level n as 200 as an example, the actual gray-scale compensation amount corresponding to the first preset level m as 255 is TGO255, and the actual gray-scale compensation amount corresponding to the current level 200 is TGO200. The corrected actual gray-scale compensation amount TGO200' =tgo200+ (TGO 255-TGO 200) × (200/255) ×dgs. Therefore, after the actual gray-scale compensation amount TGOm when the standard color brightness of the first preset level is determined, the actual gray-scale data compensation amount is corrected according to the correction coefficient of the standard color brightness of the current level through the formula, so that the actual gray-scale compensation amount corresponding to the standard color brightness of the current level is more accurate, and the accuracy of the color brightness when the image to be displayed is displayed can be further improved.
S720, determining actual display gray-scale data of the pixel according to the actual gray-scale compensation amount and the gray-scale data to be displayed.
S721, according to the actual display gray-scale data of each pixel, each pixel is controlled to perform display light emission.
According to the embodiment of the invention, after the actual gray-scale compensation amount corresponding to the standard color brightness of the first preset level and the actual gray-scale compensation amount corresponding to the standard color brightness of the current level are determined, the actual gray-scale compensation amount corresponding to the standard color brightness of the first preset level, the actual gray-scale compensation amount corresponding to the standard color brightness of the current level, the correction coefficient, the first preset level and the current level are corrected based on the correction formula of the actual gray-scale compensation amount, so that the actual gray-scale data after being compensated according to the actual gray-scale compensation amount is more accurate, and the accuracy of the color brightness when the image to be displayed is displayed can be further improved.
Optionally, fig. 15 is a flowchart of a display control method of a display panel according to another embodiment of the present invention, as shown in fig. 15, where the display control method of the display panel includes:
S811, acquiring the current temperature of the environment where the display panel is located, image data of an image to be displayed, brightness to be displayed and the current refresh frequency.
S812, determining the initial gray level compensation quantity of each pixel at the current temperature according to the gray level data to be displayed of each pixel.
S813, determining brightness compensation coefficients of pixels corresponding to the brightness to be displayed according to the brightness to be displayed.
S814, determining a frequency compensation coefficient of each pixel corresponding to the current refresh frequency according to the current refresh frequency.
S815, calculating the actual gray-scale compensation amount of the pixel according to the initial gray-scale compensation amount, the brightness compensation coefficient and the frequency compensation coefficient of the same pixel based on the first formula.
S816, obtaining the mapping relation between the brightness and the correction coefficient.
The mapping relation between brightness and correction coefficient includes the correction coefficient of each color pixel when the display panel presents different display brightness.
S817, according to the brightness to be displayed, a correction coefficient corresponding to the brightness to be displayed is determined based on the mapping relation between the brightness and the correction coefficient.
Specifically, the mapping relationship between brightness and correction coefficient may be a relationship determined based on experience, or may be a relationship table obtained by binding point test. For example, when the mapping relationship between the brightness and the compensation coefficient is a relational expression, the determined brightness to be displayed may be substituted into the relational expression, so that the correction coefficient corresponding to the brightness to be displayed may be determined.
S818, obtaining the current level of standard color brightness corresponding to the gray-scale data to be displayed of the pixel.
And S819, correcting the actual gray level compensation quantity according to the current level of each pixel and the correction coefficient.
S820, determining the actual display gray-scale data of the pixel according to the actual gray-scale compensation amount and the gray-scale data to be displayed.
And S821, controlling each pixel to display and emit light according to the actual display gray-scale data of each pixel.
According to the embodiment of the invention, the difference of the brightness compensation coefficients corresponding to different display brightnesses and standard color brightnesses of different grades is considered, the correction coefficient corresponding to the brightness to be displayed is determined through the mapping relation of the brightness and the correction coefficient, and the actual gray scale compensation amount is corrected through the correction coefficient, so that the error of actual display gray scale data caused by the brightness coefficient error is reduced, the accuracy of the actual display gray scale data can be improved, and the image display accuracy is improved.
Optionally, fig. 16 is a flowchart of a method for obtaining a mapping relationship between brightness and correction coefficients, as shown in fig. 16, where the method includes:
S8161, when the ambient temperature of the display panel is a preset temperature and the display brightness of the display panel is a standard display brightness, fourth standard gray-scale data is obtained when the pixels of each color are the standard color brightness of the first preset level, and fifth standard gray-scale data is obtained when the pixels of each color are the standard color brightness of the second preset level.
Specifically, since the luminance compensation coefficient corresponding to the high-level standard color luminance and the luminance compensation coefficient corresponding to the low-level standard color luminance have errors at the same temperature and the same display luminance, the actual gray-scale compensation amount corresponding to the high-level standard color luminance and the actual gray-scale compensation amount corresponding to the low-level standard color luminance have errors, and accordingly, when the ambient temperature where the display panel is located is a preset temperature and the display luminance is the standard display luminance, gray-scale data (i.e., fourth standard gray-scale data) corresponding to the high-level standard color luminance and gray-scale data (i.e., fifth standard gray-scale data) corresponding to the low-level standard color luminance of each pixel can be obtained respectively. The second preset level is smaller than the first preset level, the first preset level can be 255 levels (high levels), the second preset level can be low levels of 2, 5,6, 8 and the like, and one or a plurality of second preset levels can be set according to design requirements. The process of obtaining the fourth standard gray-scale data and the fifth standard gray-scale data is similar to the process of obtaining the first standard gray-scale data, the second standard gray-scale data and the third standard gray-scale data, and will not be described herein.
S8162, when the ambient temperature of the display panel is a preset temperature and the display brightness of the display panel is a test display brightness, fourth test gray-scale data is obtained when the pixels of each color are standard color brightness of a first preset level, and fifth test gray-scale data is obtained when the pixels of each color are standard color brightness of a second preset level.
Specifically, the temperature is kept at a preset temperature, the display brightness of the display panel is adjusted to be the test brightness, namely, when the display brightness of the display panel is the test brightness at the preset temperature, display gray-scale data are provided for the pixels, the display gray-scale data are adjusted according to the display brightness of the pixels until the display brightness of the pixels reaches the standard color brightness of the first preset level, the display gray-scale data at the moment are used as fourth test gray-scale data, and the display gray-scale data of the pixels are adjusted under the same condition until the display brightness of the pixels reaches the standard color brightness of the second preset level, and the display gray-scale data at the moment are used as fifth test gray-scale data.
S8163, determining a first brightness compensation coefficient of the pixel of the color under the current test display brightness according to the fourth standard gray-scale data and the fourth test gray-scale data when the pixel of the same color is the standard color brightness of the first preset level.
S8164, determining a second brightness compensation coefficient of the pixel with the same color under the current test display brightness according to the fifth standard gray-scale data and the fifth test gray-scale data when the pixel with the same color is the standard color brightness of the second preset level.
Specifically, according to the fourth standard gray-scale data and the fourth test gray-scale data when the pixels of the same color are at the standard color brightness of the first preset level, a first brightness compensation coefficient of the pixels of the color under the high-level standard color brightness can be determined under the current test display brightness, and the first brightness compensation coefficient can be a ratio between the fourth test gray-scale data and the fourth standard gray-scale data. Correspondingly, according to the fifth standard gray-scale data and the fifth test gray-scale data when the pixels of the same color are the standard color brightness of the second preset level, determining a second brightness compensation coefficient of the pixels of the color under the low-level standard color brightness under the current test display brightness, wherein the second brightness compensation coefficient can be the ratio between the fifth test gray-scale data and the fifth standard gray-scale data. Based on the principle, the first brightness compensation coefficient of the pixels of each color under the high-level standard color brightness and the second brightness compensation coefficient of the pixels of each color under the low-level standard color brightness can be respectively determined, wherein the number of the second brightness compensation coefficients of the pixels of each color can be one or a plurality of the second brightness compensation coefficients.
S8165, determining the correction coefficient of the pixel of the color under the current test display brightness according to the first brightness compensation coefficient and the second brightness compensation coefficient of the pixel of the same color.
Specifically, the correction coefficient may be a ratio of the second brightness compensation coefficient to the first brightness compensation coefficient, or when a plurality of fifth test gray-scale data corresponding to different second preset levels are obtained, a plurality of second brightness compensation coefficients exist, and the correction coefficient may be an average value of the ratios of the second brightness compensation coefficients to the first brightness compensation coefficient.
In another possible embodiment of the present invention, when there are a plurality of second luminance compensation coefficients, a ratio of the plurality of second luminance compensation coefficients to the first luminance compensation coefficient may be selected as a correction coefficient, so as to ensure accuracy of the standard color luminance of a majority of the grades, thereby meeting overall display accuracy of an image to be displayed. .
S8166, judging whether the current brightness test times reach the second preset test times, if not, executing S8167, and if so, executing S8168.
And S8167, adjusting the test display brightness according to a second preset rule, and returning to execute S8162.
And S8168, determining a relation table of correction coefficients of pixels of each color under different test display brightnesses as a mapping relation between brightness and the correction coefficients.
Specifically, after the correction coefficient of each pixel under the current test display brightness is determined, the number of times of determining the correction coefficient, that is, the adjustment number of times of obtaining the display brightness, is obtained and is used as the current brightness test number of times, whether the current brightness test number of times reaches the second preset test number of times is judged, if the current brightness test number of times does not reach the second preset number of times, the test display brightness is adjusted according to the second preset rule, after the test display brightness is adjusted, fourth test gray-scale data when each pixel presents the standard color brightness of the first preset level and fifth test gray-scale data when each pixel presents the standard color brightness of the second preset level are obtained again based on the adjusted test display brightness, so that the correction coefficient corresponding to each pixel under the adjusted test display brightness is obtained, and the mapping relation between the correction coefficient of each pixel capable of reflecting each color and the display brightness of the display panel can be determined until the brightness test number of times reaches the second preset test number of times is determined.
For example, table 4 is a luminance-to-correction coefficient map, in which DBV Band represents a display luminance level, band x represents a display luminance of an x-th level, "dgs_rx" represents a correction coefficient of a red pixel at a display luminance of an x-th level, "dgs_gx" represents a correction coefficient of a green pixel at a display luminance of an x-th level, and "dgs_bx" represents a correction coefficient of a blue pixel at a display luminance of an x-th level.
TABLE 4 brightness and correction coefficient mapping relationship table
| DBV Band |
DGS_R |
DGS_G |
DGS_B |
| Band1 |
DGS_R1 |
DGS_G1 |
DGS_B1 |
| Band2 |
DGS_R2 |
DGS_G2 |
DGS_B2 |
| Band3 |
DGS_R3 |
DGS_G3 |
DGS_B3 |
| Band4 |
DGS_R4 |
DGS_G4 |
DGS_B4 |
| Band5 |
DGS_R5 |
DGS_G5 |
DGS_B5 |
| ... |
|
|
|
| Bandx |
DGS_Rx |
DGS_Gx |
DGS_Bx |
The second preset rule may be a rule for adjusting the test display brightness by a gradient, for example, the test display brightness may be increased or decreased in a test range with a gradient of 100 nit.
According to the embodiment of the invention, the actual gray-scale compensation quantity of the current brightness to be displayed is corrected through the correction coefficient, so that the actual gray-scale compensation quantity corresponding to each pixel is more accurate under the standard brightness of different levels, the actual gray-scale compensation quantity of each pixel is more accurate, the display panel can realize more accurate display effect, and in addition, the correction coefficient corresponding to each pixel at different display brightness under the standard brightness of each level is obtained through a binding point test mode, the reliability of the actual gray-scale compensation quantity is further improved, and the accuracy of the display image of the display panel is further ensured.
Based on the same inventive concept, the embodiment of the present invention provides a display control device of a display panel, which is used for executing the display control method of the display panel provided by any embodiment of the present invention, and the display control device of the display panel may be implemented by software and/or hardware, so that the display control device of the display panel provided by the embodiment of the present invention includes the technical features of the display control method of the display panel provided by any embodiment of the present invention, and can achieve the beneficial effects of the display control method of the display panel provided by any embodiment of the present invention, and the same features may refer to the description of the display control method of the display panel provided by any embodiment of the present invention, and are not repeated herein.
Referring to fig. 4, a display panel 100 includes a plurality of pixel units 110 arranged in an array, each pixel unit 11 includes a plurality of pixels 111 of different colors, fig. 17 is a schematic structural diagram of a display control device of a display panel according to an embodiment of the present invention, and in conjunction with fig. 4 and 17, the display control device of the display panel includes a data acquisition module 10 for acquiring a current temperature of an environment where the display panel 100 is located, image data of an image to be displayed, brightness to be displayed, and a current refresh frequency, the image data includes gray-scale data to be displayed corresponding to each pixel 111, an initial compensation amount determination module 20 for determining an initial gray-scale compensation amount of each pixel at the current temperature according to the gray-scale data to be displayed of each pixel 111, a brightness coefficient determination module 30 for determining a brightness compensation coefficient of each pixel 111 corresponding to the brightness to be displayed according to the brightness to be displayed, a frequency coefficient determination module 40 for determining a frequency compensation coefficient of each pixel 111 corresponding to the current refresh frequency according to the current refresh frequency, an actual gray-scale determination module 50 for determining an actual gray-scale compensation amount of each pixel 111, the frequency compensation coefficient, and the actual gray-scale compensation coefficient control module 60 for controlling each pixel 111 according to the brightness to be displayed.
The display control device of the display panel provided by the embodiment of the invention can ensure that the determined actual display gray-scale data is not only related to the temperature information of the environment where the display panel is positioned, but also related to the display brightness and the refresh frequency, so that the compensation of the display gray-scale data of each pixel is more accurate, the determined actual display gray-scale data of each pixel is more accurate, and the color brightness of an image to be displayed can be accurately displayed when each pixel is controlled to display and emit light according to the actual display gray-scale data, thereby effectively improving the display effect of the display panel.
Based on the same inventive concept, the embodiment of the present invention provides a display device, as shown in fig. 18, fig. 18 is a schematic structural diagram of the display device provided by the embodiment of the present invention, and as shown in fig. 18, the display device 00 includes a display panel 100 and a driving chip 200, the display panel 100 includes a display area A1 and a non-display area A2 surrounding the display area A1, the display area A1 includes a plurality of pixel units 110 arranged in an array, each pixel unit 110 includes a plurality of pixels 111 with different colors, the non-display area A2 includes a chip setting area a21, the driving chip 200 is disposed in the chip setting area a21, and the driving chip 200 is used for executing the display control method of the display panel provided by any embodiment of the present invention, so that the display device provided by the embodiment of the present invention includes the technical features of the display control method of the display panel provided by any embodiment of the present invention, and can achieve the beneficial effects of the display control method of the display panel provided by any embodiment of the present invention.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores computer instructions, wherein the computer instructions are used for realizing the display control method of the display panel provided by any embodiment of the invention when being executed by a processor.
Computer instructions for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor in a driver chip such that the computer instructions, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store, computer instructions for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.