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.
Fig. 1 is a schematic structural diagram of a display panel according to the related art, as shown in fig. 1, the display panel 100 includes a display area 110 and a non-display area 120 surrounding the display area 110, the display area 110 includes a plurality of pixels 10 arranged in an array, a plurality of scan signal lines 20 and a plurality of data signal lines 30, at least some of the pixels 10 located in the same row are electrically connected to the same scan signal line 20, at least some of the pixels 10 located in the same column are electrically connected to the same data signal line 30, the non-display area 120 includes a scan driving circuit 40, the scan driving circuit 40 is capable of sequentially providing an enable level of a scan signal to each scan signal line 20, the non-display area 120 further includes a driving chip setting area 50 for setting a driving chip, the driving chip is capable of providing a data signal to each data signal line 30, so that when the scan signal lines 20 and the data signal lines 30 electrically connected to the same pixel 10 respectively transmit an enable level of a scan signal and a data signal, the data signal can be written to the pixel 10, so that the pixel 10 can display a corresponding display panel and display different images according to the data signals, thereby providing different images to the display panels.
The pixel may include a pixel circuit and a light emitting element, and the pixel circuit can drive the light emitting element to perform display light emission. As shown in fig. 2, the pixel circuit 11 of the pixel 10 includes an initialization transistor M1, a data writing transistor M2, a threshold compensation transistor M3, a first light emitting control transistor M4, a second light emitting control transistor M5, a reset transistor M6, a driving transistor T and a storage capacitor Cst, i.e., the pixel circuit 11 is a typical 7T1C circuit, and the operation process is similar to that of the existing document, and will not be repeated here.
When the display panel performs picture switching, at least part of the data signals of the pixels need to be switched, and the data signals are influenced by the characteristics of devices in the pixels, such as the hysteresis effect of the driving transistors in the pixels, so that the picture displayed by the display panel has smear, especially when the display panel is switched from a black picture to other pictures, the smear is obvious, and the reason is mainly that the display brightness of the first frame of picture is low when the display panel is switched from the black picture to the other pictures (as shown in fig. 3).
In the prior art, before the display panel leaves the factory, when the display screen of the display panel is switched from a black screen to other screens, for example, when the black screen is switched to a white screen, the brightness percentages of the display brightness of the first frame screen and the display brightness of the second frame screen of the white screen are tested, so that when the brightness percentages are lower, the compensation gray scale of each pixel is increased by a preset adjustment amount, and when the brightness percentages are higher, the compensation gray scale of each pixel is reduced by the preset adjustment amount until the brightness percentages are within a preset range, and the compensation gray scale when the brightness percentages are within the preset range is stored in a memory of a driving chip, so that the display brightness of the first frame screen is compensated when the screen is switched in accordance with the compensation gray scale in the use process of the subsequent display panel.
In the prior art, however, repeated testing is required for obtaining the compensation gray scale, the testing process is complex, the testing efficiency is low, and meanwhile, due to different preparation processes, materials, ageing degrees and the like, the hysteresis conditions of the devices of the pixels in different display panels are different, so that the pixels of different display panels need different compensation gray scales, and each display panel is tested one by one to determine the compensation gray scale of the pixels in each display panel, so that the mass production of the display panels cannot be met.
In order to solve the above-mentioned technical problems, an embodiment of the present invention provides a control method for a display panel, where the control method for a display panel is used to control display brightness of a displayed image of the display panel, the control method for a display panel may be performed by a control device for a display panel provided by the embodiment of the present invention, the control device for a display panel may be implemented in a form of hardware and/or software, and the control device for a display panel may be integrated in a driving chip of a display device. Fig. 4 is a flowchart of a control method of a display panel according to an embodiment of the present invention, where, as shown in fig. 4, the control method of the display panel includes:
S110, when the gray scale is switched from 0 to other gray scales, a first mapping relation between the display brightness of the pixels in the first frame picture and the gray scale and a second mapping relation between the display brightness of the pixels in the second frame picture and the gray scale are obtained.
The display brightness level of each pixel in the display panel can be divided into 0-255 gray levels, different gray levels correspond to different data signals, for example, when a data signal corresponding to 0 gray level is provided for a pixel of the display panel, the display brightness of the pixel is lowest, and when a data signal corresponding to 255 gray levels is provided for a pixel of the display panel, the display brightness of the pixel is highest, and when the display brightness of the pixel is switched from 0 gray level to other gray levels, for example, 255 gray levels, for example, the data signal corresponding to 0 gray level written into the pixel is required to be changed into a data signal corresponding to 255 gray levels, so that the change of the display brightness of the pixel can be realized, and the image displayed by the display panel is changed.
Specifically, when the display panel performs image display, the display panel refreshes the displayed images with a certain refresh frequency, that is, provides data signals to the same pixel with a certain period, and after the writing of the data signals is completed, the pixel performs display according to the data signals, and generally, the image displayed by the display panel is one frame of image from the time of providing the data signals to each pixel in the display panel to the time of providing the data signals to each pixel in the display panel, and the data signals provided to each pixel in the display panel are refreshed with a certain refresh frequency, so that the display panel can continuously perform image display in a period of time, and the display panel can provide data signals to each pixel of the display panel for a plurality of times, that is, includes a plurality of frames of images during the period of normal image display. Because the display brightness corresponding to the 0 gray scale is lower, when the display brightness of the first frame picture of the switched gray scale is lower due to the hysteresis effect of devices in the pixels when the display brightness of the first frame picture is switched to other gray scales from the 0 gray scale, the display brightness of the second frame picture is more towards the target display brightness, and at the moment, the first mapping relation Ln=F (n) can be determined according to the relation between the display brightness of the pixels in the first frame picture of each gray scale in the 0-255 gray scales and the display brightness of the pixels in the second frame picture when the data signals corresponding to the pixels in the 0-255 gray scales are respectively switched to the data signals corresponding to the pixels in the 0-255 gray scales, and the second mapping relation Ln=G (n) can be determined according to the relation between the display brightness of the pixels in the second frame picture of each gray scale.
As shown in fig. 5, the first mapping relationship and the second mapping relationship may be represented by a relationship curve, that is, the first mapping relationship is a relationship curve a between the display brightness of the pixel under the first frame image of each gray level and the gray level, the second mapping relationship is a relationship curve B between the display brightness of the pixel under the second frame image of each gray level and the gray level, where the relationship curves a and B may be Gamma 2.2-like curves, in which case the relationship of the first mapping relationship may be ln=l255 ' × (n/255) 2.2, the relationship of the second mapping relationship may be ln=l255× 2.2 (n/255), and L255' are respectively the display brightness of the pixel in the first frame image and the display brightness in the second frame image when the L255' is 255 gray level.
S120, if the data signal of the pixel in the current display picture is the data signal corresponding to the 0 gray scale, the display gray scale of the pixel in the next display picture is obtained.
Specifically, when the display panel displays a picture, the display brightness of each pixel in the display panel is the same or different, so that the display panel can present a colorful picture. The display brightness of the pixel in the current display picture is the lowest display brightness, the data signal written in the pixel is the data signal corresponding to 0 gray scale, the display brightness of the pixel in the next display picture changes according to the brightness and color of the display picture required to be displayed by the display panel, namely the gray scale of the pixel in the next display picture changes according to the display picture required to be displayed by the display panel, and the display gray scale of the pixel in the next display picture can be obtained at the moment.
S130, determining target display brightness corresponding to the display gray scale of the pixel according to the second mapping relation.
Specifically, after knowing the display gray level of the pixel, for example, the display gray level of the pixel is i, the display gray level i of the pixel may be substituted into the second mapping relationship ln=g (n), so that the unique display brightness li=g (i) may be determined, where Li is the target display brightness corresponding to the display gray level of the pixel, for example, li=l255×i/255 2.2.
For example, with continued reference to fig. 5, when the display gray level of the pixel is 128, the display luminance l128=l255 (128/255) 2.2 corresponding to the 128 gray level can be determined by the relation B, and the display luminance L128 is greater than the display luminance L128 '=l255' (128/255) 2.2 corresponding to the 128 determined by the relation a or the corresponding relation.
And S140, determining the target gray scale of the pixel according to the first mapping relation and the target display brightness.
Specifically, after knowing the target display brightness Li corresponding to the display gray level of the pixel, the target display brightness Li may be substituted into the first mapping relationship ln=f (n), that is, li=f (i+Δn), and the unique gray level value i+Δn may be determined, so that when the first frame of the next display frame is displayed, it may be determined that the gray level to be compensated by the pixel is Δn, and the sum of the gray level Δn to be compensated by the pixel and the display gray level of the pixel is taken as the target gray level of the pixel. For example, by letting l128=l255 '[ (128+Δn)/255 ] 2.2, i.e., l255×128/255) 2.2=L255′*[(128+Δn)/255]2 . 2, Δn=255×e ln(RT*(128/255)2 . 2/2 . 2 -128 can be solved, where RT is L255/l255'.
For example, with continued reference to fig. 5, when the target display luminance L128 corresponding to the 128 gray scale is determined through the relation B, the target display luminance L128 is closer to the display luminance L (128+Δn)' corresponding to the 128+Δn gray scale in the relation a, so that the 128+Δn gray scale may be regarded as the target gray scale of the pixel having the display gray scale of 128.
And S150, when the first frame picture of the next display picture is displayed, providing a data signal corresponding to the target gray scale for the pixel.
Specifically, to ensure that the display brightness of a pixel in the first frame of the next display frame is consistent with the target display brightness thereof, a data signal corresponding to the determined target gray scale may be provided to the pixel, so that when the first frame of the next display frame is displayed, the display brightness presented by the pixel according to the data signal corresponding to the target gray scale thereof may be consistent with the target display brightness thereof.
For example, with continued reference to fig. 5, in the first frame, when the data signal corresponding to 160 gray scales is provided to the pixel, the display brightness L160' presented by the pixel is consistent with the target display brightness L128 corresponding to the display gray scale 128 of the pixel, so that, in displaying the first frame of the next display, the data signal corresponding to 160 gray scales can be provided to the pixel, so that the display brightness presented by the pixel can be consistent with the target display brightness corresponding to the display gray scales.
In the embodiment, when the display picture is switched, the display gray scale of the pixel in the next display picture is obtained, the target display brightness corresponding to the display gray scale of the pixel is determined according to the second mapping relation between the display brightness of the pixel in the second frame picture and the gray scale, the target display brightness is mapped to the first mapping relation, and the target gray scale corresponding to the target display brightness is determined, so that when the first frame picture of the display picture needing to be switched is displayed, a data signal corresponding to the target gray scale is provided for the pixel, and the display brightness of the pixel in the first frame picture can be consistent with the target display brightness of the pixel, so that the display accuracy of the first frame picture can be improved, the display uniformity of the display panel can be improved, and the display effect of the display panel can be further improved.
In an alternative embodiment, when the display frame is switched, if the data signal of the pixel is required to be switched from the data signal corresponding to the 0 gray level to the data signal corresponding to the other gray levels, the data signals corresponding to the other gray levels are written on the basis of the data signals corresponding to the 0 gray level, and at this time, due to the hysteresis effect of the devices in the pixel, the data signals corresponding to the other gray levels are not written enough, so that the display brightness presented by the pixel in the first frame is different from the target display brightness that should be presented by the pixel. When writing the data signals of other frames after the first frame into the pixel, for example, when writing the data signals of the second frame into the pixel, the data signals of the second frame can be written on the basis of the data signals of the first frame, so that the data signals can be written into the pixel more easily, enough data signals can be written into the pixel, and the display brightness of the pixel presented in the second frame is ensured to be consistent with the target display brightness which the pixel should present. Accordingly, when other frames of the next display frame are displayed, the data signals corresponding to the display gray scale are provided for the pixels, so that when the pixels are displayed according to the data signals corresponding to the display gray scale, the display brightness presented by the pixels can be ensured to be consistent with the target display brightness corresponding to the display gray scale, the display uniformity of the display panel can be improved, and the display effect of the display panel is further improved.
It can be understood that the first mapping relationship and the second mapping relationship can be obtained by actually displaying the brightness of the pixel under each test gray level, the test process can be performed when the display panel is turned on or the display panel is converted from the sleep state to the wake-up state, and at this time, a corresponding light sensing element can be disposed in the display panel to detect the light-emitting brightness of the pixel.
In an alternative embodiment, fig. 6 is a flowchart of a method for obtaining a first mapping relationship and a second mapping relationship according to an embodiment of the present invention, as shown in fig. 6, where the method includes:
s111, when the data signal of the pixel is a test signal corresponding to 0 gray scale, the current test gray scale of the pixel is obtained.
Specifically, before the display panel formally displays the picture, the pixels in the display panel can be provided with test signals, and display and light emission can be performed by the pixels according to the test signals. The value range of the test gray scale can be the same as or different from the value range of the display gray scale when the display panel formally displays the picture, and the value range of the corresponding test signal can also be the same as or different from the value range of the data signal provided to the pixel when the display panel formally displays the picture. For example, the range of the test gray level may be the same as the range of the display gray level when the display panel displays the picture formally, for example, the display gray level and the test gray level may both be changed between 0 and 255, and the range of the test signal may be larger than the range of the data signal, so that for the case that the display gray level other than 0 is the same as the test gray level, the display brightness of the pixel for displaying and emitting light according to the test signal corresponding to the test gray level may be larger than the display brightness of the pixel for displaying and emitting light according to the data signal, so that the display gray level of the pixel for displaying the first frame of picture is compensated in the subsequent formally displaying. Before testing the display brightness of the pixels under each test gray level, the test signals in the pixels need to be adjusted to the test signals corresponding to the 0 gray level, so that the pixels can be switched from the 0 gray level to other test gray levels.
S112, judging whether the current test gray level is larger than the preset test gray level, if not, executing S113, and if so, executing S117.
Specifically, when the display brightness of the pixel under each test gray level is tested, 0 gray level can be used as an initial test gray level, and the test gray level is adjusted by a certain gray level adjustment amount until the initial test gray level reaches a preset test gray level, wherein the preset test gray level can be the highest test gray level, for example, the highest test gray level is 255, and when the preset gray level adjustment amount is 1, after the highest test gray level 255 is reached, the current test gray level is continuously adjusted by the preset gray level adjustment amount, and then the current test gray level becomes 256, and the 256 gray level can be larger than the preset test gray level. Therefore, by judging whether the tested gray level is the preset tested gray level, whether the testing process is completed can be determined.
And S113, providing a test signal corresponding to the current test gray level for the pixel, so that the pixel displays and emits light according to the test signal.
S114, obtaining first actual display brightness of pixels in the previous m frames and second actual display brightness of pixels in other continuous m frames except the first frame.
Specifically, the display panel continuously performs the frame display by providing the test signal corresponding to the current test gray level to the pixel at a certain refresh frequency, providing the test signal corresponding to the current test gray level to the pixel from the first time to the mth time, continuously detecting the display brightness of the pixel when the display panel performs the frame display, that is, the integration of the display brightness of the pixel in the period from the beginning of the first frame to the end of the mth frame, taking the integration of the display brightness as the first actual display brightness, and simultaneously taking the integration of the display brightness of the pixel in the other continuous m frame frames except the first frame as the second actual brightness, wherein the other continuous m frame frames except the first frame can be each frame from the m+1st frame to the m+mth frame, at this time, continuously performing the frame display by continuously detecting the display brightness of the pixel from the test signal corresponding to the mth+1th time to the test signal corresponding to the mth+mth frame, that is provided to the pixel, and taking the integration of the display brightness of the display panel as the second actual display brightness from the m+1th frame to the beginning of the display brightness. Since the display time for one frame of picture is short, the accuracy of the detected display brightness may be affected by the interference of the external ambient light, so that m may be a positive integer greater than or equal to 2.
Specifically, as shown in fig. 7, for example, taking m as 2 as an example, under the current test gray level, the total duration of the first frame image and the second frame image is t1+t2, the first actual display brightness L1 of the pixel under the current test gray level can be determined by continuously detecting the display brightness of the pixel in the time period of t1+t2, and the total duration of the third frame image and the fourth frame image is t3+t4, and the second actual display brightness L2 of the pixel under the current test gray level can be determined by continuously detecting the display brightness of the pixel in the time period of t3+t4.
S115, determining the display brightness of the pixels in the first frame picture when the 0 gray scale is switched to the current test gray scale according to the first actual display brightness and the second actual display brightness, and determining the display brightness of the pixels in the second frame picture after the 0 gray scale is switched to the current test gray scale according to the second actual display brightness.
Specifically, the first actual display brightness is the sum of the display brightness of the pixel in the first frame picture and the display brightness of the pixel in other m-1 frame pictures, the second actual display brightness is the sum of the display brightness of the pixel in other continuous m frame pictures except the first frame picture, the display brightness of the pixel in the first frame picture is lower, and the display brightness of the pixel in other frame pictures is close to the target display brightness corresponding to the current test gray level, so that the display brightness of the pixel in the first frame picture can be determined by the sum of the display brightness of the pixel in the first frame picture and the display brightness of the pixel in other m-1 frame pictures and the sum of the display brightness of the pixel in other continuous m frame pictures except the first frame picture.
In an alternative embodiment, the display brightness of the pixel in the first frame is determined by calculating using a first calculation formula according to the first actual display brightness and the second actual display brightness, where la= (m×l1- (m-1) ×l2)/m. The display brightness of the pixels in each frame except the first frame is consistent with the target display brightness, so that the display brightness of each frame except the first frame can be regarded as the display brightness of the second frame, m x L1 can be regarded as the total display brightness of the pixels in m first frames and the total display brightness of the pixels in m x (m-1) second frames, and (m-1) x L2 can be regarded as the total display brightness of the pixels in m x (m-1) second frames, and the display brightness La of the pixels in one first frame can be determined according to the first calculation formula.
Similarly, since the second actual display luminance L2 can be regarded as the total display luminance of the pixel in the m second frame images, 1/m times the second actual display luminance L2 can be determined as the display luminance of the pixel in the second frame images, that is, the display luminance Lb of the pixel in the second frame images is L2/m.
S116, after the current test gray scale is adjusted by the preset gray scale adjustment amount, a test signal corresponding to 0 gray scale is provided for the pixel, and S112 is executed in a return mode.
Specifically, after determining the display luminance La of the pixel in the first frame picture and the display luminance Lb of the pixel in the second frame picture under the current test gray level, the current test gray level may be adjusted by a preset gray level adjustment amount, for example, after determining the display luminance L321 of the pixel in the first frame picture and the display luminance L322 of the pixel in the second frame picture under the 32 gray levels, the test signal in the pixel is adjusted to a test signal corresponding to 0 gray level again, and meanwhile, the current test gray level is increased by a preset gray level adjustment amount Δp, that is, the current test gray level is changed to 32+Δp, when the test signal in the pixel is a test signal corresponding to 0 gray level, a test signal corresponding to 32+Δp is provided to the pixel, and the first actual display luminance and the second actual display luminance of the pixel in the 32+Δp gray level are obtained, so that the display luminance of the pixel in the first frame picture and the second frame picture under the 32+Δp are determined based on the first actual luminance and the second actual luminance, until the display luminance of the pixel in the first frame picture and the second frame picture under the 32+Δp gray level is obtained, and the display luminance of the second frame picture in the first frame picture and the second frame picture is switched to the first gray level corresponding to the first gray level and the second frame picture is completed.
S117, determining the first mapping relation according to the relation between the display brightness of the pixels in each first frame picture and each test gray level, and determining the second mapping relation according to the relation between the display brightness of the pixels in each second frame picture and each test gray level.
Specifically, after the test on the display brightness of the first frame image and the display brightness of the second frame image of the pixel under each test gray level is completed, a corresponding relation curve or relation equation is determined as a first mapping relation according to the relation between the display brightness of the first frame image and the test gray level of the pixel under each test gray level, and a corresponding relation curve or relation equation is determined as a second mapping relation according to the relation between the display brightness of the second frame image and the test gray level of the pixel under each test gray level.
According to the embodiment of the invention, the first actual display brightness and the second actual display brightness of the pixels under each test gray level are tested, the display brightness of the first frame picture and the display brightness of the second frame picture of the pixels under each test gray level are determined, and the first mapping relation and the second mapping relation are determined according to the display brightness of the first frame picture and the display brightness of the second frame picture which are actually measured, so that the correspondence between the display brightness of the pixels and the gray level in the actual working process of the display panel is ensured to be consistent according to the first mapping relation and the second mapping relation, and after the target gray level is determined by adopting the first mapping relation and the second mapping relation, the display brightness of the pixels according to the data signals corresponding to the target gray level can be consistent with the target display brightness, and the display effect of the display panel is further improved.
It can be understood that, when the first mapping relationship and the second mapping relationship are obtained, the value range of the test signal corresponding to each test gray level is greater than the value range of the data signal corresponding to each display gray level, that is, when the display gray level and the test gray level are the same, the display luminance of the pixel according to the data signal corresponding to the display gray level is lower than the display luminance of the pixel according to the test signal corresponding to the test gray level, so when the target display luminance is determined, the display gray level is correspondingly reduced, the corresponding compensation gray level is determined, and then the target gray level corresponding to the display gray level is determined.
Optionally, fig. 8 is a flowchart of a control method of a display panel according to another embodiment of the present invention, as shown in fig. 8, where the method includes:
S210, when the gray scale is switched from 0 to other gray scales, a first mapping relation between the display brightness of the pixels in the first frame picture and the gray scale and a second mapping relation between the display brightness of the pixels in the second frame picture and the gray scale are obtained.
S220, acquiring the display gray scale of the pixel in the next display picture when the data signal of the pixel in the current display picture is the data signal corresponding to the 0 gray scale.
S230, obtaining a scaling factor of the display gray scale.
Specifically, taking the example that the higher the voltage of the data signal is, the larger the corresponding gray scale is, in order to ensure that each display gray scale can have the corresponding target display brightness in the formal display, the stage that the display brightness of the pixels in the first frame picture and the second frame picture is tested when the 0 gray scale is switched to a certain test gray scale can be used as a test signal after amplifying the data signal corresponding to the test gray scale according to a certain proportion, and when the data signal is the test signal, an amplified gray scale can be determined according to the corresponding relation between the data signal and the gray scale, and the proportion between the amplified gray scale and the test gray scale is determined as the scaling proportion of the display gray scale. For example, the data signal corresponding to the test gray level 50 is 3.5V, the data signal is increased by 3.5 times to be 5.25V, the test signal corresponding to the test gray level 50 is 5.25V, the corresponding relation between the data signal and the gray level is used for determining the corresponding gray level when the data signal is 5.25V, for example, the corresponding gray level when the data signal is 5.25V is 100 gray levels, and the ratio of 50 to 100 is used for determining the scaling factor of the display gray level. Conversely, when the voltage of the data signal is higher and the corresponding gray scale is smaller, the data signal corresponding to the test gray scale is scaled down in a certain proportion to be used as the test signal, and the scaling factor of the display gray scale is determined in a similar manner as described above. In other words, in order to ensure that the values of the display gray scale and the test gray scale are 0-255 during the formal display, each display gray scale can have a corresponding target display brightness, and the 0-224 gray scales in the relationship curve of the determined display brightness of the pixel in the second frame picture and the second mapping relationship corresponding to the test gray scale can be subdivided into 256 gray scales altogether as the display gray scales.
S240, determining a mapping gray scale corresponding to the display gray scale according to the scaling coefficient.
S250, determining target display brightness corresponding to the display gray scale according to the mapping gray scale and the second mapping relation.
Specifically, after determining the scaling factor of the display gray scale, the display gray scale may be multiplied by the scaling factor to determine the mapping gray scale corresponding to the display gray scale, and the display brightness corresponding to the mapping gray scale under the second mapping relationship is determined as the target display brightness corresponding to the display gray scale. For example, continuing taking the display gray level as 100 and the scaling factor as 0.5 as an example, it may be determined that the mapping gray level corresponding to the display gray level 100 is 50, substituting the mapping gray level into the second mapping relationship ln=gn, it may be determined that the display luminance corresponding to the mapping gray level is l50=g (50), and taking the display luminance L50 as the target display luminance corresponding to the display gray level 100, so that when determining the target gray level of the pixel according to the first mapping relationship and the target display luminance, l50=f (50+Δn) may be made, and after increasing 50+Δn by a certain proportion, the target gray level when displaying the first frame of the next display screen of the pixel may be taken as the target gray level of the pixel, i.e., (50+Δn)/0.5. In this way, even if the display gray level 255 whose display gray level is the largest, the target gray level or the compensation gray level corresponding thereto can be found.
S260, determining the target gray scale of the pixel according to the first mapping relation and the target display brightness.
S270, when the first frame of the next display screen is displayed, a data signal corresponding to the target gray scale is supplied to the pixel.
In this embodiment, after the display gray scale is scaled down in an equal proportion by a certain scaling factor, the target display brightness corresponding to the scaled display gray scale is determined in the second mapping relation, so that the compensation gray scale is determined according to the target display brightness and the second mapping relation, and the compensation gray scale can be within the gray scale range of the second mapping relation obtained by testing, so that each display gray scale is ensured to have the corresponding compensation gray scale, that is, each display gray scale has the corresponding target gray scale, and the display effect of the display panel is further improved.
It can be understood that when the value range of the test gray level is greater than the value range of the display gray level, the test signal corresponding to the test gray level may be equal to the data signal corresponding to the display gray level when the test gray level is the same as the display gray level, and the compensation requirement of the first frame of picture with different display gray levels can be satisfied without scaling the display gray level.
Optionally, on the basis of the foregoing embodiment, the embodiment of the present invention further provides a specific determination manner of the target gray level, and fig. 9 is a flowchart of a target gray level determination method provided by the embodiment of the present invention, as shown in fig. 9, where the method includes:
S141, determining a gray scale calculated value of the target display brightness under the first mapping relation.
Specifically, taking the first mapping relationship as a gamma2.2 relationship between gray scale and display brightness as an example, that is, the first mapping relationship is ln=l255' ×n/255 2.2, when the target display brightness corresponding to the display gray scale is Li, substituting the target display brightness into the first mapping relationship to determine that a gray scale calculated value s is 255×e (ln(Li/L255′)/2 . 2).
S142, judging that the target display brightness meets a first preset condition according to the target display brightness, the gray scale calculated value and the first mapping relation, if yes, executing S143, and if not, executing S144 or S145.
The first preset condition is that the target display brightness is smaller than or equal to Lj+1', and is larger than or equal to Lj', j is a rounding value of the gray scale calculated value, lj+1 'is the display brightness corresponding to the j+1 gray scale under the first mapping relation, and Lj' is the display brightness corresponding to the j gray scale under the first mapping relation.
S143, determining the rounded value of the gray-scale calculated value as the target gray scale of the pixel.
S144, if the target display brightness is greater than Lj+1', j+1 is determined as the rounded value of the gray-scale calculated value, and S142 is executed again.
S145, if the target display brightness is smaller than Lj', j-1 is determined as the rounded value of the gray-scale calculated value, and S142 is executed again.
Specifically, the gray-scale calculated value s calculated according to substituting the target display brightness into the first mapping relation may be a non-integer value, and at this time, the gray-scale calculated value s may be rounded to determine the integer value j of the gray-scale calculated value s. After determining the integer value j of the gray-scale calculated value, the integer value j of the gray-scale calculated value may be substituted into the first mapping relation to determine the display brightness Lj 'corresponding to the integer value j of the gray-scale calculated value, and the integer value j of the gray-scale calculated value may be substituted into the first mapping relation after adding 1 to determine the display brightness lj+1' corresponding to j+1. And comparing the corresponding relation between Lj 'and Lj+1' and the target display brightness, so as to determine that the target display brightness meets the first preset condition. When the target display brightness satisfies the first preset condition, directly determining j gray scale as the target gray scale of the pixel, when the target display brightness does not satisfy the first preset condition, readjusting the integer value of the gray scale calculated value according to the actual situation, for example, when the display brightness Lj 'corresponding to j is larger than the target display brightness Li, determining j-1 as the integer value of the gray scale calculated value according to the first mapping relation, determining the display brightness Lj-1' corresponding to j-1 according to the first mapping relation, simultaneously judging whether Lj-1 'is smaller than or equal to Li, determining j-1 gray scale as the target gray scale of the pixel when Lj-1' is smaller than or equal to Li, and similarly, when the display brightness Lj+1 'corresponding to j+1' is smaller than the target display brightness Li, determining j+1 as the integer value of the gray scale calculated value, simultaneously judging whether Lj+2 'is larger than or equal to Li+2 according to the first mapping relation, and determining whether Lj+2' is larger than or equal to Li+1.
As shown in fig. 10, taking the display luminance Li of the pixel in the second frame image under the ith gray level as an example, it can be known that the target display luminance Li is greater than or equal to the display luminance Lj 'of the pixel in the first frame image under the j gray level and less than or equal to the display luminance lj+1' of the pixel in the first frame image under the j+1 gray level, so that j can be determined as the target gray level corresponding to the display gray level i of the pixel.
According to the embodiment, after the gray scale calculated value corresponding to the target display brightness under the first mapping relation is determined based on the target display brightness, the display brightness of the target display brightness and the rounded value of the determined gray scale calculated value under the first mapping relation and the display brightness of the gray scale value which is 1 gray scale larger than the rounded value of the gray scale calculated value under the first mapping relation are compared, and the target gray scale corresponding to the target display brightness of the pixel is determined according to the comparison result, so that the determined target gray scale is more accurate, and the display uniformity of the display panel is further improved.
Based on the same inventive concept, the embodiment of the invention further provides a control device of a display panel, which can be used for controlling the display brightness of a displayed picture of the display panel, wherein the control device of the display panel is realized in a form of hardware and/or software, and the control device of the display panel can be integrated in a driving chip of a display device. Fig. 11 is a schematic structural diagram of a control device for a display panel according to an embodiment of the present invention, as shown in fig. 11, the control device for a display panel includes:
The mapping relationship obtaining module 510 is configured to obtain a first mapping relationship between display brightness and gray scale of pixels in the first frame of picture and a second mapping relationship between display brightness and gray scale of pixels in the second frame of picture when the gray scale is switched from 0 to other gray scales;
The display gray level obtaining module 520 is configured to obtain a display gray level of a pixel in a next display frame when the data signal of the pixel in the current display frame is a data signal corresponding to 0 gray level;
a target brightness determining module 530, configured to determine a target display brightness corresponding to the display gray scale of the pixel according to the second mapping relationship;
a target gray level determining module 540, configured to determine a target gray level of the pixel according to the first mapping relationship and the target display brightness;
The display driving module 550 is configured to provide a data signal corresponding to a target gray scale to the pixel when displaying a first frame of a next display.
The control device for the display panel provided by the embodiment of the invention can execute the control method for the display panel provided by any embodiment of the invention, has corresponding functional modules and beneficial effects of the execution method, and the same points can be referred to the description of the control method for the display panel provided by the embodiment of the invention, and are not repeated here.
Based on the same inventive concept, the embodiment of the present invention further provides a display device, where the display device includes a display panel and a driving chip, and the driving chip may include the control device for the display panel provided by the embodiment of the present invention and is capable of executing the control method for the display panel provided by the embodiment of the present invention.
Fig. 12 is a schematic structural diagram of a display device according to an embodiment of the present invention, and as shown in fig. 12, the display device 200 includes, but is not limited to, a television, a notebook computer, a desktop display, a tablet computer, a digital camera, a smart band, smart glasses, a vehicle-mounted display, a medical device, an industrial control device, a touch interaction terminal, etc., which is not particularly limited in the embodiment of the present invention.
Based on the same inventive concept, the embodiments of the present invention also provide a computer storage medium, and in some embodiments, the control method of the display panel provided by the embodiments of the present invention may be implemented as a computer program, which is tangibly embodied on a computer-readable storage medium, such as a memory or the like. In some embodiments, part or all of the computer program may be loaded and/or installed onto the display device via the ROM. When the computer program is loaded into the RAM of the display device and executed by the processor of the display apparatus, one or more steps of the control method of the display panel described above may be performed. Alternatively, in other embodiments, the processor of the display device may be configured to perform the control method of the display panel in any other suitable way (e.g., by means of firmware).
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program 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 computer-readable storage medium would include one or more wire-based electrical connections, 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.