Grayscale compensation data generation method and grayscale compensation data generation system
By generating and fusing the first and second compensation tables into a third compensation table, the grayscale compensation of the TFT-LCD display was optimized, solving the problems of uneven gamma curves and long production cycle time, and achieving efficient grayscale compensation and gamma adjustment.
Patent Information
- Application Number
- CN202210586845.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2042-05-26
AI Technical Summary
Traditional TFT-LCD display gamma adjustment methods require multiple samplings and repeated confirmations, resulting in long production cycle times, uneven gamma curves, and low white balance meter adjustment efficiency.
By generating the first and second compensation tables and merging them into a third compensation table, and using the high priority reading of the second storage chip, the third compensation table is written into the display panel, thereby realizing gamma adjustment for each display panel, optimizing the grayscale compensation effect, and improving the gamma curve smoothness.
It shortens the production cycle time, improves grayscale compensation efficiency, enhances the smoothness of the gamma curve, and does not affect the color coordinates, thus avoiding increased hardware costs.
Smart Images

Figure CN114974066B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to a gray scale compensation data generation method and a gray scale compensation data generation system. BACKGROUND
[0002] In a conventional TFT-LCD display, in order to make the luminance characteristics of the panel conform to the human eye perception, without losing the details of the bright and dark parts, gamma adjustment is needed. The gamma adjustment includes two ways of analog signal adjustment and digital signal adjustment. Among them, the analog signal adjustment changes the luminance corresponding to the bind point gray scale by adjusting the source driver reference voltage, thereby changing the gamma value; the digital signal adjustment adjusts by changing the gray scale digital command output by the timing controller to the source driver.
[0003] At present, the AutoPGamma technology is used to compensate the gamma of the single display panel (OpenCell, OC) on the production line. For example, in the related art, the luminance values of the center of the panel corresponding to 7 bind point gray scales can be obtained by using a sensor board first, and then the luminance values are returned to the MCU, the MCU calculates the 14-level gamma voltage according to the received luminance values, and writes the adjusted 14-level gamma voltage into the Pgamma chip to provide it to the source driver as a reference voltage, while the remaining gray scale voltage is obtained by resistance voltage division between the bind points. The divided voltage is used to change the luminance of different gray scales, thereby adjusting the gamma.
[0004] However, the above method needs multiple sampling and repeated confirmation, and the Takt Time (T / T) is long on the production process, and the related art only adjusts the gamma corresponding to 7 bind point gray scales to the target range, and the obtained gamma curve is not smooth. In addition, in the related art, the White Tracking (WT) is used to adjust the digital gamma and the color coordinates, which is a set of tables obtained by debugging a single center sheet in the Picture Quality (PQ) debugging process, and the efficiency is low. SUMMARY
[0005] Therefore, the present application provides a gray scale compensation data generation method and a gray scale compensation data generation system for a display device, which can realize gray scale compensation for each display panel, improve the phenomenon of non-smooth gamma curve, improve the efficiency of gray scale compensation, and shorten the production Takt Time.
[0006] According to an aspect of the present application, a gray scale compensation data generation method for a display device is provided. The display device comprises a display panel and a control module. The display panel comprises a plurality of arrayed sub-pixels. The control module is provided with a first storage chip and a second storage chip. The compensation table reading priority of the second storage chip is higher than that of the first storage chip. The method comprises: generating a first compensation table based on the luminance data of the display panel, wherein the first compensation table comprises first gray scale data corresponding to each sub-pixel and second gray scale data corresponding to the first gray scale data; obtaining a second compensation table pre-set by the first storage chip, wherein the second compensation table comprises third gray scale data corresponding to the second gray scale data and fourth gray scale data corresponding to the third gray scale data; fusing the first compensation table and the second compensation table to obtain a third compensation table, wherein the third compensation table comprises the first gray scale data and target gray scale data; and writing the third compensation table into the second storage chip.
[0007] Further, the generating of the first compensation table based on the luminance data of the display panel comprises: obtaining first gray scale data corresponding to each sub-pixel; collecting the luminance data of the display panel; compensating the first gray scale data based on the luminance data of the display panel to obtain second gray scale data corresponding to the first gray scale data; and fusing the first gray scale data and the second gray scale data to generate the first compensation table.
[0008] Further, the obtaining of the second compensation table pre-set by the first storage chip comprises: obtaining third gray scale data corresponding to the second gray scale data, wherein the bit number of the third gray scale data is different from that of the second gray scale data; obtaining fourth gray scale data corresponding to the third gray scale data, wherein the bit number of the fourth gray scale data is different from that of the third gray scale data; and fusing the third gray scale data and the fourth gray scale data to generate the second compensation table.
[0009] Further, the fusing of the first compensation table and the second compensation table to obtain the third compensation table comprises: determining target gray scale data corresponding to the first gray scale data according to the first compensation table and the second compensation table; and fusing the first gray scale data and the target gray scale data to obtain the third compensation table.
[0010] Further, the first gray scale data comprises a plurality of first gray scales, the second gray scale data comprises a plurality of second gray scales, the third gray scale data comprises a plurality of third gray scales, the fourth gray scale data comprises a plurality of fourth gray scales, and the target gray scale data comprises a plurality of target gray scales, wherein: the first gray scale data and the third gray scale data have the same number of bits; the second gray scale data, the fourth gray scale data, and the target gray scale data have the same number of bits.
[0011] Further, according to the first compensation table and the second compensation table, the target gray scale data corresponding to the first gray scale data is determined, comprising: according to the first compensation table, a plurality of second gray scales corresponding to the plurality of first gray scales is determined; according to the plurality of second gray scales and a first parameter, a plurality of third gray scales corresponding to the plurality of second gray scales is determined; according to the second compensation table, a plurality of fourth gray scales corresponding to the plurality of third gray scales is determined; and according to the plurality of fourth gray scales and a second parameter, a plurality of target gray scales is determined, thereby obtaining the target gray scale data.
[0012] Further, each second gray scale corresponds to at least two third gray scales, and according to the plurality of second gray scales and a first parameter, a plurality of third gray scales corresponding to the plurality of second gray scales is determined, comprising: according to the number of bits of the third gray scale data and the number of bits of the second gray scale data, a first parameter is determined; according to the first parameter, the plurality of second gray scales is divided into a first value and a second value; and according to the first value, a plurality of third gray scales corresponding to the plurality of second gray scales is determined.
[0013] Further, according to the second compensation table, a plurality of fourth gray scales corresponding to the plurality of third gray scales is determined, comprising: according to the first value, at least two third gray scales corresponding to the first value is determined; and in the second compensation table, a plurality of fourth gray scales corresponding to each third gray scale in the at least two third gray scales is searched.
[0014] Further, according to the plurality of fourth gray scales and a second parameter, a plurality of target gray scales is determined, thereby obtaining the target gray scale data, comprising: according to the second value and the first parameter, a second parameter is determined; and according to the second parameter and the corresponding fourth gray scale, a plurality of target gray scales is determined, thereby obtaining the target gray scale data.
[0015] According to another aspect of the present application, a gray scale compensation data generation system for a display device is provided, the display device comprising a display panel and a control module; the display panel comprising a plurality of arrayed sub-pixels, the control module being provided with a first storage chip and a second storage chip; the compensation table reading priority of the second storage chip being higher than the compensation table reading priority of the first storage chip; the system comprising: a first module for generating a first compensation table based on luminance data of the display panel, wherein the first compensation table comprises first gray scale data corresponding to each sub-pixel and second gray scale data corresponding to the first gray scale data; a second module for obtaining a second compensation table pre-set in the first storage chip, wherein the second compensation table comprises third gray scale data corresponding to the second gray scale data and fourth gray scale data corresponding to the third gray scale data; a third module for fusing the first compensation table and the second compensation table to obtain a third compensation table, wherein the third compensation table comprises the first gray scale data and target gray scale data; and a fourth module for writing the third compensation table into the second storage chip.
[0016] By generating a first compensation table based on luminance data of the display panel, obtaining a second compensation table pre-set in the first storage chip, fusing the first compensation table and the second compensation table to obtain a third compensation table, setting the compensation table reading priority of the second storage chip to be higher than the compensation table reading priority of the first storage chip, and finally writing the third compensation table into the second storage chip, the current gray scale to be compensated can be compensated to target gray scale according to the third compensation table, and according to aspects of the present application, the gray scale compensation effect of the display panel can be optimized, the phenomenon of non-smooth gamma curve can be improved, the gray scale compensation efficiency can be improved, and the production cycle time can be shortened. BRIEF DESCRIPTION OF DRAWINGS
[0017] The technical solutions and other beneficial effects of the present application will become apparent through the following detailed description of the specific embodiments of the present application in conjunction with the accompanying drawings.
[0018] Figure 1 A schematic diagram of a gray scale compensation data generation method according to an embodiment of the present application is shown.
[0019] Figure 2 A schematic diagram of a first compensation table according to an embodiment of the present application is shown.
[0020] Figure 3 A schematic diagram of a second compensation table according to an embodiment of the present application is shown.
[0021] Figure 4 A schematic diagram of a third compensation table according to an embodiment of the present application is shown.
[0022] Figure 5A gamma curve diagram before and after compensation of the embodiment of the present application is shown.
[0023] Figure 6 A color coordinate curve diagram before and after compensation of the embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] The technical solutions in the embodiments of the present application will be clearly and completely described in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0025] In the description of the present application, it should be understood that the orientations or positional relationships indicated by the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise" and the like are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements indicated must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features limited by "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise explicitly specified and limited.
[0026] In the description of the present application, it should be noted that, unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connection" should be understood broadly, for example, it can be fixed connection, or detachable connection, or integrally connected; it can be mechanical connection, or electrical connection or can communicate with each other; it can be direct connection, or indirect connection through intermediate medium, it can be the internal communication of two elements or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0027] The following disclosure provides many different embodiments, or examples, for implementing different structures of the present application. For the purpose of simplifying the present application, the components and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeatedly refer to numbers and / or letters in different examples, and such repetition is for the purpose of simplification and clarity, which does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present application provides examples of various specific processes and materials, but those skilled in the art can realize the application of other processes and / or the use of other materials. In some examples, methods, means, elements and circuits well known to those skilled in the art are not described in detail in order to highlight the main ideas of the present application.
[0028] The present application provides a gray scale compensation data generation method for a display device, a gray scale compensation data generation method for a display device, the display device comprising a display panel and a control module; the display panel comprises a plurality of arrayed sub-pixels, and the control module is provided with a first storage chip and a second storage chip; the compensation table reading priority of the second storage chip is higher than that of the first storage chip; the method comprises: generating a first compensation table based on the luminance data of the display panel, wherein the first compensation table comprises first gray scale data corresponding to each sub-pixel and second gray scale data corresponding to the first gray scale data; obtaining a second compensation table pre-set by the first storage chip, wherein the second compensation table comprises third gray scale data corresponding to the second gray scale data and fourth gray scale data corresponding to the third gray scale data; fusing the first compensation table and the second compensation table to obtain a third compensation table, wherein the third compensation table comprises the first gray scale data and target gray scale data; and writing the third compensation table into the second storage chip.
[0029] By generating a first compensation table based on the luminance data of the display panel, obtaining a second compensation table pre-set by the first storage chip, then fusing the first compensation table and the second compensation table to obtain a third compensation table, setting the compensation table reading priority of the second storage chip higher than that of the first storage chip, and finally writing the third compensation table into the second storage chip, the present application can optimize the gray scale compensation effect of the display panel, improve the phenomenon of non-smooth gamma curve, improve the gray scale compensation efficiency, and shorten the production cycle time.
[0030] Figure 1 A schematic diagram of the gray scale compensation data generation method of the embodiment of the present application is shown.
[0031] As Figure 1As shown, the gray scale compensation data generation method for display devices can include:
[0032] Step S1: generating a first compensation table based on the luminance data of the display panel, wherein the first compensation table includes first gray scale data corresponding to each sub-pixel and second gray scale data corresponding to the first gray scale data;
[0033] In this application, a panel luminance model can be established based on the luminance data of each display panel collected, and then the target luminance is calculated according to the set target gamma value. Then, the luminance of each gray scale is compensated to the target luminance, and then the corresponding gray scale is inversely searched according to the target luminance, and then the first compensation table (also called Digital Gamma Compensation, DGC table) is obtained. The first compensation table includes the gray scale corresponding relationship before and after the first compensation.
[0034] Since the compensation in this application is based on the luminance data of each panel, rather than the luminance data of a single center panel, the gamma adjustment for each panel can be realized, the gray scale compensation efficiency is improved, and the production cycle time is shortened.
[0035] Further, generating a first compensation table based on the luminance data of the display panel can include:
[0036] Step S11: obtaining first gray scale data corresponding to each sub-pixel;
[0037] The first gray scale data corresponding to each sub-pixel can include a plurality of first gray scales corresponding to each sub-pixel. For example, the first gray scale data can be represented by 10 bits (i.e., bit). On this basis, the first gray scale data can represent 2 10 (i.e., 1024) gray scales, that is, the gray scale range of the first gray scale data can be from 0 to 1023. Of course, the gray scale range of the first gray scale data can also be from 0 to 1020. The gray scale range of the first gray scale data can be set according to actual needs. It can be understood that the gray scale range of the first gray scale data is not limited in this application.
[0038] Step S12: collecting the luminance data of the display panel;
[0039] The luminance data of each display panel can include the luminance of the center region of each display panel. For different pieces of display panel, the position or size of the center region collected can be set as needed. For example, the center region of each display panel can be the same during the collection process.
[0040] It should be noted that each display panel can be lit based on the first gray scale data. For example, for a display panel, the gray scale of the red sub-pixel of the display panel is set to 128, and the brightness of the red sub-pixel is the brightness when the gray scale is 128.
[0041] Step S13: Compensate the first gray scale data based on the brightness data of the display panel to obtain second gray scale data corresponding to the first gray scale data.
[0042] Since the brightness of each display panel does not completely meet the expectation after each display panel is lit based on the first gray scale data, there are sub-pixels to be compensated in each display panel, therefore, the first gray scale data can be compensated based on the brightness data of the display panel to obtain second gray scale data corresponding to the first gray scale data, so that the gamma curve obtained based on the second gray scale data meets the requirement more.
[0043] The second gray scale data corresponding to each sub-pixel can include a plurality of second gray scales corresponding to each sub-pixel. For example, the second gray scale data can be represented by 12 bits. On this basis, the second gray scale data can represent 2 12 (4096) gray scales, that is, the gray scale range of the second gray scale data can be from 0 to 4095. Of course, the gray scale range of the first gray scale data can also be from 0 to 4080. The gray scale range of the second gray scale data can be set according to actual needs. It can be understood that the gray scale range of the second gray scale data is not limited in the present application.
[0044] Step S14: Fuse the first gray scale data and the second gray scale data to generate a first compensation table.
[0045] Figure 2 A schematic diagram of the first compensation table of the embodiment of the present application is shown.
[0046] As Figure 2 shown, the first compensation table can include first gray scale data 21 and second gray scale data 22. The gray scale range of the first gray scale gray1 can be from 0 to 1020, and the second gray scale can include three columns of gray scales R1, G1 and B1. The gray scale range of the second gray scale can be from 0 to 4080. For any first gray scale D_IN(n), there can be a second gray scale corresponding to the first gray scale.
[0047] Further, the first gray scale data 21 can be arranged in the form of columns in sequence, and n in the first gray scale D_IN(n) can represent the row number of the first gray scale D_IN(n) in the first gray scale data 21. It should be noted that the second gray scale data 22 can also be arranged in the form of columns in sequence, and the meaning of n in the second gray scale D_R(n), D_G(n) or D_B(n) can be the same as that of n in the first gray scale D_IN(n). It can be understood that the present application does not limit the mapping relationship between the first gray scale and the second gray scale.
[0048] It should be noted that in the present application, the meaning of the fusion can be to aggregate or collect different data into the same table. In actual application, the fusion can also refer to the process of processing different data, and the processed data forms a new data set. Different meanings correspond to different fusion methods. It can be understood that the present application does not limit the specific method of the fusion.
[0049] Step S2: obtaining a second compensation table pre-set by the first storage chip, wherein the second compensation table includes third gray scale data corresponding to the second gray scale data and fourth gray scale data corresponding to the third gray scale data;
[0050] The second compensation table (also referred to as WT table) can be pre-set. For example, the second compensation table can be pre-stored in a related memory and read from the memory when needed. It can be understood that the present application does not limit how the second compensation table is pre-set.
[0051] Further, obtaining the second compensation table pre-set by the first storage chip includes:
[0052] Step S21: obtaining third gray scale data corresponding to the second gray scale data, wherein the bit number of the third gray scale data is different from that of the second gray scale data;
[0053] The first storage chip can be an MB Flash. The third gray scale data can include a plurality of third gray scales corresponding to each sub-pixel. For example, similar to the first gray scale data, the third gray scale data can be represented by 10 bits. On this basis, the third gray scale data can represent 1024 gray scales at most, i.e., the gray scale range of the third gray scale data can be from 0 to 1023. Of course, the gray scale range of the third gray scale data can also be from 0 to 1020. The gray scale range of the third gray scale data can be set according to actual needs. It can be understood that the present application does not limit the gray scale range of the third gray scale data.
[0054] Step S22: obtaining fourth gray scale data corresponding to the third gray scale data, wherein a bit number of the fourth gray scale data is different from a bit number of the third gray scale data;
[0055] The fourth gray scale data can include a plurality of fourth gray scales corresponding to each sub-pixel. For example, similar to the second gray scale data, the fourth gray scale data can be represented by 12 bits. In this case, the fourth gray scale data can represent 4096 gray scales at most, i.e., the gray scale range of the fourth gray scale data can be from 0 to 4095. The gray scale range of the fourth gray scale data can be set according to actual needs.
[0056] Step S23: fusing the third gray scale data and the fourth gray scale data to generate a second compensation table.
[0057] Figure 3 A schematic diagram of the second compensation table of the embodiment of the present application is shown.
[0058] As shown in Figure 3 The second compensation table includes the third gray scale data 31 and the fourth gray scale data 32. The third gray scale data 31 is provided in one column, and the fourth gray scale data 32 is provided in R2, G2 and B2 columns in total. The third gray scale in the third gray scale data 31 can be a gray scale corresponding to any one sub-pixel in the display panel, and the fourth gray scale in the fourth gray scale data 32 can be a gray scale corresponding to different types of sub-pixels in the display panel.
[0059] As shown in Figure 3 For example, the gray scale range of the third gray scale gray3 can be from 0 to 1020, the gray scale range of the fourth gray scale R1 corresponding to the red sub-pixel can be from 0 to 4080, the gray scale range of the fourth gray scale G1 corresponding to the green sub-pixel can also be from 0 to 4080, and the gray scale range of the fourth gray scale B1 corresponding to the blue sub-pixel can be from 0 to 3878.
[0060] Step S3: fusing the first compensation table and the second compensation table to obtain a third compensation table, wherein the third compensation table includes the first gray scale data and target gray scale data;
[0061] Further, the first compensation table and the second compensation table are fused to obtain a third compensation table, including:
[0062] Step S31: determining target gray scale data corresponding to the first gray scale data according to the first compensation table and the second compensation table;
[0063] The third compensation table is also referred to as an ACC table. In the third compensation table, there is a mapping relationship between a target gray scale in the target gray scale data and a first gray scale in the first gray scale data. That is, based on the inventive concept of the present application, a target gray scale corresponding to a first gray scale can be ultimately determined based on the first gray scale, so as to correct the deviation in the gray scale compensation process and improve the accuracy of the gray scale compensation.
[0064] Step S32: fusing the first gray scale data and the target gray scale data to obtain a third compensation table.
[0065] Further, the first gray scale data includes a plurality of first gray scales, the second gray scale data includes a plurality of second gray scales, the third gray scale data includes a plurality of third gray scales, the fourth gray scale data includes a plurality of fourth gray scales, and the target gray scale data includes a plurality of target gray scales, wherein: the number of bits of the first gray scale data and the number of bits of the third gray scale data are the same; the number of bits of the second gray scale data, the number of bits of the fourth gray scale data, and the number of bits of the target gray scale data are all the same.
[0066] In one example, the number of bits of the first gray scale data and the number of bits of the third gray scale data can both be 10 bits, and the number of bits of the second gray scale data, the number of bits of the fourth gray scale data, and the number of bits of the target gray scale data can all be 12 bits. It can be understood that in the present application, the number of bits of the gray scale data can be adjusted according to actual needs, and the present application does not limit the number of bits of the gray scale data.
[0067] Further, according to the first compensation table and the second compensation table, the target gray scale data corresponding to the first gray scale data is determined, including:
[0068] Step S311: determining a plurality of second gray scales corresponding to the plurality of first gray scales according to the first compensation table;
[0069] For example, in the first compensation table, the first gray scale D_IN(n) can be a gray scale of 700, and the corresponding second gray scale D_R(n) can be 3054. Figure 2
[0070] Step S312: determining a plurality of third gray scales corresponding to the plurality of second gray scales according to the plurality of second gray scales and a first parameter;
[0071] Each second gray scale can correspond to at least two third gray scales. In actual application, each second gray scale can also correspond to different numbers of third gray scales. It can be understood that the present application does not limit the corresponding number between the second gray scale and the third gray scale.
[0072] Further, the third gray scales corresponding to the second gray scales are determined according to the second gray scales and the first parameter, including:
[0073] In step S3121, the first parameter is determined according to the bit number of the third gray scale data and the bit number of the second gray scale data.
[0074] Specifically, the first parameter can be determined according to the following formula:
[0075]
[0076] Wherein, WT INBit may be the bit number of the third gray scale data, which is 10 bits; DGC OUTBit may be the bit number of the second gray scale data, which is 12 bits; and ratio is the first parameter. The bit number of the third gray scale data and the bit number of the second gray scale data differ by 2 bits, and therefore the first parameter ratio can be 2 2 , i.e. 4.
[0077] In step S3122, the second gray scales are divided into first values and second values according to the first parameter.
[0078] For example, taking the second gray scale D_R(n) of 3054 as an example. 3054 can be converted into binary form, which is 1011 1110 1110, and has a total of 12 bits. 3054 can be divided into a first value and a second value, wherein the high 10 bits of 3054 are 1011 1110 11, i.e. 763 in decimal form, which is the first value; and the low 2 bits are 10, i.e. 2 in decimal form, which is the second value. The process of calculating the high 10 bits and the low 2 bits can also be performed in the decimal system as follows: first calculate the ratio of 3054 to 4 to obtain a quotient of 763 and a remainder of 2. The quotient 763 is the decimal number of the high 10 bits of the binary form of 3054, and the remainder 2 is the decimal number of the low 2 bits of the binary form of 3054. It can be understood that the present application does not limit how to convert the first value and the second value.
[0079] In step S3123, the third gray scales corresponding to the second gray scales are determined according to the first values.
[0080] For example, the first value can be 763, and in this case, the third gray scale 763 and the third gray scale 764 adjacent to the third gray scale 763 can be determined as the third gray scales.
[0081] In step S313, the fourth gray scales corresponding to the third gray scales are determined according to the second compensation table.
[0082] Further, determining the plurality of fourth gray scales corresponding to the plurality of third gray scales according to the second compensation table comprises:
[0083] Step S3131: determining at least two third gray scales corresponding to the first numerical value according to the first numerical value.
[0084] For example, referring to Figure 3 , the first numerical value is 763, at this time, the first numerical value can correspond to two third gray scales, which are W_IN(m) and W_IN(m+1) respectively. The meaning of m and n is similar, which can also represent the row where the gray scale is located. W_IN(m) can be gray scale 763, and W_IN(m+1) can be gray scale 764. That is, the two third gray scales corresponding to the first numerical value can be two adjacent third gray scales. For another example, W_IN(m) can be gray scale 763, and W_IN(m+1) can be gray scale 762.
[0085] Step S3132: searching for a plurality of fourth gray scales corresponding to each third gray scale in the at least two third gray scales in the second compensation table.
[0086] For example, referring to Figure 3 , when the third gray scale W_IN(m) is 763, the corresponding fourth gray scales include W_R(m), W_G(m) and W_B(m); when the third gray scale W_IN(m+1) is 764, the corresponding fourth gray scales include W_R(m+1), W_G(m+1) and W_B(m+1). For example, W_R(m), W_G(m) and W_B(m) are the gray scales of the red sub-pixel, the green sub-pixel and the blue sub-pixel corresponding to the gray scale 763 respectively, W_R(m) can be gray scale 2865, W_G(m) can be gray scale 2885, and W_B(m) can be gray scale 2843; similarly, W_R(m+1) can be gray scale 2874, W_G(m+1) can be gray scale 2891, and W_B(m+1) can be gray scale 2849.
[0087] Step S314: determining a plurality of target gray scales according to the plurality of fourth gray scales and the second parameter, thereby obtaining the target gray scale data.
[0088] Further, determining a plurality of target gray scales according to the plurality of fourth gray scales and the second parameter, thereby obtaining the target gray scale data, comprises:
[0089] Step S3141: determining the second parameter according to the second numerical value and the first parameter.
[0090] Specifically, determining the second parameter according to the second numerical value and the first parameter can be represented by the following formula:
[0091]
[0092] wherein, DOUT(n) can be the second gray scale D_R(n), or the second gray scale D_G(n) or D_B(n), for example, 3054; % represents modulo; ratio can be the first parameter, for example, 4; the result of DOUT(n) % ratio can be the second numerical value, for example, 2; W_R(m+1) can be the fourth gray scale 2874 corresponding to the third gray scale 763, and W_R(m) can be the fourth gray scale 2865 corresponding to the third gray scale 764. Therefore, the second parameter can be 0.5*(2874-2865) = 4.5.
[0093] Step S3142: determining a plurality of target gray scales according to the second parameter and the corresponding fourth gray scale, so as to obtain the target gray scale data.
[0094] Specifically, the determination of the target gray scale can be determined by the following formula:
[0095] W_R(n) = W_R(m) + [mod] (3)
[0096] wherein, [mod] can be the numerical value obtained by rounding the second parameter mod. For example, when mod is 4.5, the result of rounding down is [mod] = 4, and the corresponding target gray scale is 2865 + 4 = 2869. Of course, the present application can also not round the second parameter mod first, but round the result of the sum of W_R(m) and mod, so as to obtain the corresponding target gray scale.
[0097] It is worth noting that the target gray scale 2869 corresponds to the initial gray scale, which is the first gray scale 700, that is, the first gray scale and the target gray scale can have a mapping relationship. In addition, the target gray scale 2869 corresponds to the red sub-pixel. In the present application, for the first gray scale, the second gray scale, the third gray scale, the fourth gray scale and the target gray scale, each gray scale can correspond to a sub-pixel of the corresponding type. For example, in the present application, the first gray scale 700 corresponds to the red sub-pixel, the second gray scale 701 corresponds to the green sub-pixel, the third gray scale 702 corresponds to the blue sub-pixel, the fourth gray scale 2865 corresponds to the red sub-pixel, the fourth gray scale 2864 corresponds to the green sub-pixel, and the fourth gray scale 2863 corresponds to the blue sub-pixel. Figure 3 In the present application, although the third gray scale data 31 is shown as a column, it can be understood that the third gray scale data 31 can also be 3 columns, corresponding to the red sub-pixel, the green sub-pixel and the blue sub-pixel, respectively.
[0098] In the present application, the third compensation table is obtained by fusing the first compensation table and the second compensation table, and therefore the third gray scale and the second gray scale have a mapping relationship, i.e. the process of obtaining the third compensation table includes the process of establishing the mapping relationship between the third gray scale and the second gray scale. In addition, the fourth gray scale and the third gray scale have a mapping relationship. The mapping relationship between the fourth gray scale and the third gray scale can be pre-set. It can be understood that the present application does not limit the mapping relationship between the fourth gray scale and the third gray scale.
[0099] Step S4: writing the third compensation table into the second storage chip.
[0100] The process of generating the third compensation table by using linear interpolation can also be referred to as secondary mapping. Of course, other interpolation methods can also be used to generate the third compensation table, which is not limited in the present application. The generated third compensation table can be burned into the related Flash memory (i.e. the second storage chip). When compensation is performed, the third compensation table in the Flash memory can be actively read, and the priority of the table is higher than that of the original second compensation table. Then, the current gray scale to be compensated is compensated according to the third compensation table to obtain the target gray scale in the target gray scale data, so as to perform digital gamma adjustment compensation on each panel.
[0101] It should be noted that in the present application, each display panel can be provided with a corresponding second storage chip (such as XB Flash), and therefore, compared with the prior art of compensating the gray scale of a single display panel, the present application can compensate the gray scale of each display panel based on the third compensation table stored in the second storage chip.
[0102] Figure 4 A schematic diagram of the third compensation table of the embodiment of the present application is shown.
[0103] As shown in Figure 4 The third compensation table can include first gray scale data 41 and target gray scale data 42. The first gray scale gray4 can be the same as the first gray scale gary1, and the first gray scale data 41 can be the same as the first gray scale data 21. The target gray scale data can include R3, G3 and B3 columns. The target gray scale data W_R(n), W_G(n) and W_B(n) have a mapping relationship with the fourth gray scale data.
[0104] Further, the first gray scale data 41 can be arranged in the form of columns in sequence. It is worth noting that the target gray scale data 42 can also be arranged in the form of columns in sequence, corresponding to the red sub-pixel, the green sub-pixel and the blue sub-pixel respectively. In actual application, given a first gray scale D_IN(n), the target gray scale W_R(n) corresponding to the first gray scale D_IN(n) can be found in the third compensation table.
[0105] Further, the gray scale compensation data generation method for the display device can further include:
[0106] Step S5: adjusting the corresponding gamma drive voltage according to the target gray scale in the target gray scale data;
[0107] Step S6: driving each sub-pixel to display according to the gamma drive voltage.
[0108] The gamma drive voltage can be a data voltage on a data line corresponding to each sub-pixel, used to drive each sub-pixel to achieve the target gray scale. It can be understood that the present application does not limit how to use the already compensated target gray scale to adjust the corresponding gamma voltage, and then drive each sub-pixel to display.
[0109] Figure 5 A gamma curve diagram before and after compensation of the embodiment of the present application is shown.
[0110] As shown in Figure 5 , the abscissa is the gray scale, the ordinate is the gamma value, 51 is the compensated gamma curve, and 52 is the uncompensated gamma curve. It can be seen that, by using the third compensation table for compensation, the compensated gamma curve is closer to the gamma 2.2 curve.
[0111] Figure 6 A color coordinate curve diagram before and after compensation of the embodiment of the present application is shown.
[0112] As shown in Figure 6 , the abscissa is the gray scale, and the ordinate is the color coordinate of white balance. 61 is the color coordinate curve in the y direction before compensation, 62 is the color coordinate curve in the y direction after compensation, 63 is the color coordinate curve in the x direction before compensation, and 64 is the color coordinate curve in the x direction after compensation. It can be seen that, after compensation by using the third compensation table, the color coordinate curves do not change, and only the gray scale is shifted in the horizontal direction (i.e. the x direction).
[0113] Since the present application relates to gray scale shift instead of color coordinate change, it does not affect the chroma compensation of the WT, and does not need to modify the hardware, so that the present application can realize the gray scale compensation for each display panel, improve the phenomenon of non-smooth gamma curve, improve the gray scale compensation efficiency, and shorten the production cycle time without changing the color coordinates and increasing the hardware cost.
[0114] In addition, the present application also provides a gray scale compensation data generation system for a display device, the display device comprising a display panel and a control module; the display panel comprising a plurality of arrayed sub-pixels, and the control module being provided with a first storage chip and a second storage chip; the compensation table reading priority of the second storage chip being higher than that of the first storage chip; the system comprising: a first module for generating a first compensation table based on the luminance data of the display panel, wherein the first compensation table comprises first gray scale data corresponding to each sub-pixel and second gray scale data corresponding to the first gray scale data; a second module for acquiring a second compensation table pre-set by the first storage chip, wherein the second compensation table comprises third gray scale data corresponding to the second gray scale data and fourth gray scale data corresponding to the third gray scale data; a third module for fusing the first compensation table and the second compensation table to obtain a third compensation table, wherein the third compensation table comprises the first gray scale data and target gray scale data; and a fourth module for writing the third compensation table into the second storage chip.
[0115] Further, the first module comprises: a first gray scale data acquisition module for acquiring first gray scale data corresponding to each sub-pixel; a luminance acquisition module for acquiring luminance data of the display panel; a second gray scale data acquisition module for compensating the first gray scale data based on the luminance data of the display panel to obtain second gray scale data corresponding to the first gray scale data; and a fusion module for fusing the first gray scale data and the second gray scale data to generate a first compensation table.
[0116] Further, the second module comprises: a third gray scale data acquisition module for acquiring third gray scale data corresponding to the second gray scale data, wherein the bit number of the third gray scale data is different from that of the second gray scale data; a fourth gray scale data acquisition module for acquiring fourth gray scale data corresponding to the third gray scale data, wherein the bit number of the fourth gray scale data is different from that of the third gray scale data; and a second compensation table generation module for fusing the third gray scale data and the fourth gray scale data to generate a second compensation table.
[0117] Further, the third module comprises: a target gray scale data acquisition module, configured to determine target gray scale data corresponding to the first gray scale data according to the first compensation table and the second compensation table; and a first fusion sub-module, configured to fuse the first gray scale data and the target gray scale data to obtain a third compensation table.
[0118] Further, the first gray scale data comprises a plurality of first gray scales, the second gray scale data comprises a plurality of second gray scales, the third gray scale data comprises a plurality of third gray scales, the fourth gray scale data comprises a plurality of fourth gray scales, and the target gray scale data comprises a plurality of target gray scales, wherein: the number of bits of the first gray scale data and the number of bits of the third gray scale data are the same; the number of bits of the second gray scale data, the number of bits of the fourth gray scale data, and the number of bits of the target gray scale data are the same.
[0119] Further, the target gray scale data acquisition module comprises: a second gray scale acquisition module, configured to determine a plurality of second gray scales corresponding to the plurality of first gray scales according to the first compensation table; a third gray scale acquisition module, configured to determine a plurality of third gray scales corresponding to the plurality of second gray scales according to the plurality of second gray scales and a first parameter; a fourth gray scale acquisition module, configured to determine a plurality of fourth gray scales corresponding to the plurality of third gray scales according to the second compensation table; and a target gray scale data acquisition module, configured to determine a plurality of target gray scales according to the plurality of fourth gray scales and a second parameter, so as to obtain the target gray scale data.
[0120] Further, each second gray scale corresponds to at least two third gray scales, and the third gray scale acquisition module comprises: a first parameter determination module, configured to determine a first parameter according to the number of bits of the third gray scale data and the number of bits of the second gray scale data; a second gray scale segmentation module, configured to segment the plurality of second gray scales into a first value and a second value according to the first parameter; and a third gray scale acquisition sub-module, configured to determine a plurality of third gray scales corresponding to the plurality of second gray scales according to the first value.
[0121] Further, the fourth gray scale acquisition module comprises: a third gray scale determination module, configured to determine at least two third gray scales corresponding to the first value according to the first value; and a fourth gray scale lookup module, configured to look up a plurality of fourth gray scales corresponding to each third gray scale of the at least two third gray scales in the second compensation table.
[0122] Further, the target gray scale data acquisition module comprises: a second parameter determination module, configured to determine a second parameter according to the second value and the first parameter; and a target gray scale data acquisition sub-module, configured to determine a plurality of target gray scales according to the second parameter and corresponding fourth gray scales, so as to obtain the target gray scale data.
[0123] For the specific details of the gray scale compensation data generation system, refer to the gray scale compensation data generation method for display devices, which will not be repeated. It can be understood that the specific implementation of the gray scale compensation data generation system is not limited by the present application.
[0124] In summary, the embodiments of the present application generate a first compensation table based on the luminance data of the display panel, obtain a second compensation table pre-set by the first storage chip, then fuse the first compensation table and the second compensation table to obtain a third compensation table, set the compensation table reading priority of the second storage chip to be higher than that of the first storage chip, finally write the third compensation table into the second storage chip, so as to compensate the current gray scale to the target gray scale according to the third compensation table, which can optimize the gray scale compensation effect of the display panel, improve the phenomenon of non-smooth gamma curve, improve the gray scale compensation efficiency, and shorten the production cycle time.
[0125] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0126] The above describes the gray scale compensation data generation method and gray scale compensation data generation system for display devices provided by the embodiments of the present application in detail, and the principles and implementation manners of the present application are described by applying specific examples; the above embodiment descriptions are only used to help understand the technical solutions and core ideas of the present application; those skilled in the art should understand that the technical solutions recorded in the above embodiments can be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for generating gray scale compensation data for a display device, the method comprising: The display device comprises a display panel and a control module; the display panel comprises a plurality of arrayed sub-pixels, and the control module is provided with a first storage chip and a second storage chip; The compensation table reading priority of the second storage chip is higher than that of the first storage chip; the method comprises: generating a first compensation table based on the brightness data of the display panel, wherein the first compensation table comprises first gray scale data corresponding to each sub-pixel and second gray scale data corresponding to the first gray scale data; obtaining a second compensation table pre-set by the first storage chip, wherein the second compensation table comprises third gray scale data corresponding to the second gray scale data and fourth gray scale data corresponding to the third gray scale data; the second gray scale data comprises a plurality of second gray scales; and the fourth gray scale data comprises a plurality of fourth gray scales; The first compensation table and the second compensation table are fused to obtain a third compensation table, wherein the third compensation table comprises the first gray scale data and target gray scale data; the target gray scale data comprises a plurality of target gray scales; the plurality of target gray scales are determined by the plurality of fourth gray scales and a second parameter; the second parameter is determined by a second numerical value and a first parameter; the first parameter is determined by a bit number of the third gray scale data and a bit number of the second gray scale data; the second numerical value is obtained by dividing the plurality of second gray scales by the first parameter; and the first parameter is determined according to the following formula: wherein WT INBit is the bit number of the third gray scale data, DGC OUTBit is the bit number of the second gray scale data; ratio is the first parameter; and writing the third compensation table into the second storage chip.
2. The gray scale compensation data generating method for a display apparatus according to claim 1, wherein Generating a first compensation table based on the brightness data of the display panel comprises: obtaining first gray scale data corresponding to each sub-pixel; collecting the brightness data of the display panel; compensating the first gray scale data based on the brightness data of the display panel to obtain second gray scale data corresponding to the first gray scale data; fusing the first gray scale data and the second gray scale data to generate a first compensation table.
3. The gray scale compensation data generating method for a display apparatus according to claim 1, wherein Obtaining a second compensation table pre-set by the first storage chip comprises: obtaining third gray scale data corresponding to the second gray scale data, wherein the number of bits of the third gray scale data is different from that of the second gray scale data; obtaining fourth gray scale data corresponding to the third gray scale data, wherein the number of bits of the fourth gray scale data is different from that of the third gray scale data; fusing the third gray scale data and the fourth gray scale data to generate a second compensation table.
4. The gray scale compensation data generating method for a display apparatus according to claim 1, wherein Fusing the first compensation table and the second compensation table to obtain a third compensation table comprises: determining target gray scale data corresponding to the first gray scale data according to the first compensation table and the second compensation table; fusing the first gray scale data and the target gray scale data to obtain a third compensation table.
5. The gray scale compensation data generating method for a display device according to claim 4, wherein The first gray scale data comprises a plurality of first gray scales, the second gray scale data comprises a plurality of second gray scales, the third gray scale data comprises a plurality of third gray scales, the fourth gray scale data comprises a plurality of fourth gray scales, and the target gray scale data comprises a plurality of target gray scales, wherein: the number of bits of the first gray scale data is the same as that of the third gray scale data; the number of bits of the second gray scale data, the number of bits of the fourth gray scale data, and the number of bits of the target gray scale data are all the same.
6. The gray scale compensation data generating method for a display apparatus according to claim 5, wherein Determining target gray scale data corresponding to the first gray scale data according to the first compensation table and the second compensation table comprises: determining a plurality of second gray scales corresponding to the plurality of first gray scales according to the first compensation table; determining a plurality of third gray scales corresponding to the plurality of second gray scales according to the plurality of second gray scales and the first parameter; determining a plurality of fourth gray scales corresponding to the plurality of third gray scales according to the second compensation table; The target gray scale data is obtained by determining a plurality of target gray scales according to the plurality of fourth gray scales and a second parameter.
7. The gray scale compensation data generating method for a display apparatus according to claim 6, wherein Each second gray scale corresponds to at least two third gray scales, and the third gray scales corresponding to the plurality of second gray scales are determined according to the plurality of second gray scales and a first parameter, including: The first parameter is determined according to the number of bits of the third gray scale data and the number of bits of the second gray scale data; The plurality of second gray scales are divided into a first value and a second value according to the first parameter; The third gray scales corresponding to the plurality of second gray scales are determined according to the first value.
8. The gray scale compensation data generating method for a display apparatus according to claim 7, wherein The fourth gray scales corresponding to the plurality of third gray scales are determined according to the second compensation table, including: At least two third gray scales corresponding to the first value are determined according to the first value; In the second compensation table, the fourth gray scales corresponding to each third gray scale in the at least two third gray scales are searched.
9. The gray scale compensation data generating method for a display apparatus according to claim 8, wherein The target gray scale data is obtained by determining a plurality of target gray scales according to the plurality of fourth gray scales and a second parameter, including: The second parameter is determined according to the second value and the first parameter; The target gray scale data is obtained by determining a plurality of target gray scales according to the second parameter and the corresponding fourth gray scales.
10. A gray scale compensation data generating system for a display device, characterized by comprising: The display device includes a display panel and a control module; the display panel includes a plurality of arrayed sub-pixels, and the control module is provided with a first storage chip and a second storage chip; The compensation table reading priority of the second storage chip is higher than that of the first storage chip; the system includes: A first module is configured to generate a first compensation table based on the luminance data of the display panel, wherein the first compensation table includes first gray scale data corresponding to each sub-pixel and second gray scale data corresponding to the first gray scale data; A second module is configured to obtain a second compensation table pre-set by the first storage chip, wherein the second compensation table includes third gray scale data corresponding to the second gray scale data and fourth gray scale data corresponding to the third gray scale data; the second gray scale data includes a plurality of second gray scales; and the fourth gray scale data includes a plurality of fourth gray scales; The third module is configured to fuse the first compensation table and the second compensation table to obtain a third compensation table, wherein the third compensation table comprises the first gray scale data and target gray scale data; the target gray scale data comprises a plurality of target gray scales; the plurality of target gray scales are determined by the plurality of fourth gray scales and a second parameter; the second parameter is determined by a second numerical value and a first parameter; the first parameter is determined by a bit number of the third gray scale data and a bit number of the second gray scale data; the second numerical value is obtained by dividing the plurality of second gray scales by the first parameter; and the first parameter is determined according to the following formula: wherein WT INBit is the bit number of the third gray scale data, DGC OUTBit is the bit number of the second gray scale data, and ratio is the first parameter. A fourth module is configured to write the third compensation table into the second storage chip.
Citation Information
Patent Citations
Compensation method of display and display
CN114170945A
Display method and apparatus, and electronic device
WO2022040889A1