Display panel driving method, display panel and display device
By detecting the ambient light intensity of the display panel and adjusting the grayscale value, the problem of poor display effect in overly bright or too dark environments is solved, and a good display effect under different lighting conditions is achieved.
Patent Information
- Application Number
- CN202311117436.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2043-08-31
AI Technical Summary
In an environment that is too bright or too dark, the display effect of the display device is poor and the user experience is extremely poor. The existing technology has not effectively solved this problem.
By detecting the light intensity of the environment in which the display panel is located, determining its relationship with the target light intensity range, adjusting the grayscale value according to the light intensity, and performing grayscale compensation or reduction strategies to optimize the display effect.
In too bright or too dark environments, the display panel can maintain a good display effect, improve user experience, and reduce the loss of dark pictures in bright environments and the dazzling problems of bright pictures in dark environments.
Smart Images

Figure CN117037740B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of liquid crystal display technology, and in particular to a display panel driving method, a display panel, and a display device. Background Art
[0002] In daily life, we often have this feeling: in direct sunlight or in an environment with sufficient light, the display screens of display devices such as mobile phones, computers, and TVs will appear abnormally dim, while in an environment with severe lack of light, the display screens of display devices will appear too bright. In both cases, the display effect is poor and the user experience is extremely bad.
[0003] Currently, no effective solution has been proposed to the problem of poor display quality in overly bright or overly dark environments. Summary of the Invention
[0004] The present application provides a display panel driving method, a display panel, and a display device to solve the technical problem of poor picture display effect in an overly bright or overly dark environment.
[0005] According to one aspect of an embodiment of the present application, the present application provides a method for driving a display panel, including: obtaining the ambient light intensity of an environment in which the display panel is located; judging the relationship between the ambient light intensity and a target light intensity range; based on the relationship between the ambient light intensity and the target light intensity range, the display panel executes a picture optimization strategy; when the ambient light intensity is greater than the maximum value of the target light intensity range, there is a first pixel in the display picture of the display panel whose grayscale value is less than a first threshold, and executing the picture optimization strategy of the display panel includes: compensating the grayscale value of the first pixel; when the ambient light intensity is less than the minimum value of the target light intensity range, there is a second pixel in the picture of the display panel whose grayscale value is greater than a second threshold, and the picture optimization strategy includes: reducing the grayscale value of the second pixel.
[0006] Optionally, when the ambient light intensity is greater than the maximum value of the target light intensity range, there is a first pixel with a grayscale value less than a first threshold in the display screen of the display panel, and executing the display panel screen optimization strategy includes: the step of grayscale compensation for the first pixel includes: obtaining the data of the display screen output by the display panel; determining the first pixel with a grayscale value less than the first threshold in the data of the display screen; calling a preset low grayscale compensation relationship mapping table, and in the low grayscale compensation relationship mapping table, based on the ambient light intensity and the original grayscale of the first pixel, determining the target grayscale after grayscale compensation for each of the first pixels; outputting the screen data of the first pixel according to the target grayscale to optimize the display effect of the display panel.
[0007] Optionally, when the ambient light intensity is less than the minimum value of the target light intensity range, there is a second pixel with a grayscale value greater than a second threshold in the picture of the display panel, and the picture optimization strategy includes: the step of reducing the grayscale value of the second pixel includes: obtaining the data of the display picture output by the display panel; determining the second pixel with a grayscale value greater than the second threshold in the data of the display picture; calling a preset high grayscale reduction relationship mapping table, and in the high grayscale reduction relationship mapping table, based on the ambient light intensity and the original grayscale of the second pixel, determining the target grayscale after grayscale reduction of each second pixel; outputting the picture data of the second pixel according to the target grayscale to optimize the display effect of the display panel.
[0008] Optionally, when the ambient light intensity is within the target light intensity range, the display panel executes a picture optimization strategy, which includes: determining the reference grayscale and regional grayscale of the data of the display picture of the display panel, and using an adaptive adjustment relationship mapping table, the reference grayscale and the regional grayscale to optimize the contrast of the display picture of the display panel.
[0009] Optionally, determining the reference grayscale and regional grayscale of the data of the display screen of the display panel, and optimizing the contrast of the display screen of the display panel by using the adaptive adjustment relationship mapping table, the reference grayscale and the regional grayscale includes: obtaining the data of the display screen output by the display panel; calculating the mean square error of the grayscale of the data of the display screen to obtain the picture complexity of the entire picture; when the picture complexity is greater than a third threshold, evenly dividing the entire picture into multiple areas; calculating the picture complexity of each area respectively, and continuing to evenly divide the area whose picture complexity is greater than the third threshold into multiple sub-areas. domain, until the picture complexity of any sub-region of the entire picture is less than or equal to the third threshold, the grayscale in each region that accounts for more than the fourth threshold is determined as the regional grayscale of each region; the median value of the grayscale in the data of the displayed picture is determined as the reference grayscale, and the difference between the grayscale of each region and the reference grayscale is calculated; in the adaptive adjustment relationship mapping table, based on the ambient light intensity and the difference, the difference in the grayscale of each region after corresponding adjustment is determined, and the target grayscale of each region is recalculated according to the adjusted difference; the picture data is output according to the target grayscale to optimize the picture contrast of the display panel.
[0010] Optionally, obtaining the ambient light intensity of the environment in which the display panel is located includes: collecting the voltage value of the detection point in the ambient light detection circuit, wherein the ambient light detection circuit is used to convert the light intensity sensed by the photoresistor into a corresponding voltage value; and determining the ambient light intensity corresponding to the voltage value based on the inverse proportional relationship between the resistance value of the photoresistor and the light intensity.
[0011] Optionally, the method further includes: adding a first resistor in series with the photoresistor in the ambient light detection circuit, and limiting the minimum value of the total resistance of the circuit each time the resistance of the photoresistor changes through the first resistor; adding a second resistor in parallel with the photoresistor in the ambient light detection circuit, and limiting the range of the total resistance of the circuit as the resistance of the photoresistor changes through the second resistor.
[0012] According to another aspect of an embodiment of the present application, the present application provides a display panel, including a display panel body and a control board, a timing controller is provided on the control board, an ambient light detection circuit is provided on the display panel body, the ambient light detection circuit and the timing controller are electrically connected, and when the timing controller obtains the ambient light intensity of the environment where the display panel is located from the ambient light detection circuit, it executes the above-mentioned display panel driving method.
[0013] Optionally, the ambient light detection circuit includes: a constant current source, a photoresistor, a first resistor and a second resistor, the first end of the photoresistor is a detection point for the ambient light intensity, the timing controller is electrically connected to the detection point, and is used to obtain the ambient light intensity by detecting the voltage at the detection point, the first resistor and the second end of the photoresistor are connected in series to ground, the second resistor and the photoresistor are connected in parallel, one end of the constant current source is connected to the detection point, and the other end is grounded.
[0014] According to another aspect of the embodiments of the present application, the present application provides a display device, including a backlight module and the above-mentioned display panel, wherein the backlight module is arranged on the backlight side of the display panel body, and is used to provide a light source to the display panel.
[0015] The above technical solution provided by the embodiment of the present application has the following advantages compared with the related art:
[0016] The present application provides a method for driving a display panel, comprising: obtaining the ambient light intensity of the environment in which the display panel is located; determining the relationship between the ambient light intensity and a target light intensity range; executing a picture optimization strategy on the display panel based on the relationship between the ambient light intensity and the target light intensity range; when the ambient light intensity is greater than the maximum value of the target light intensity range, a first pixel having a grayscale value less than a first threshold value exists in the display image of the display panel, and executing the picture optimization strategy on the display panel includes: grayscale compensation for the first pixel; when the ambient light intensity is less than the minimum value of the target light intensity range, a second pixel having a grayscale value greater than a second threshold value exists in the image of the display panel, and the picture optimization strategy includes: reducing the grayscale value of the second pixel. The present application detects the ambient light intensity of the environment in which the display panel is located, and adaptively selects a corresponding picture optimization strategy based on the magnitude of the ambient light intensity, and finally executes the corresponding picture optimization strategy on the picture data output by the display panel, thereby ensuring that the displayed picture remains good even in an overly bright or overly dark environment, thereby solving the technical problem of poor picture display in an overly bright or overly dark environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] Figure 1 A schematic flow chart of an optional method for driving a display panel according to an embodiment of the present application;
[0020] Figure 2 Schematic diagram of an optional ambient light detection circuit provided according to an embodiment of the present application;
[0021] Figure 3 This is a schematic diagram of an optional low grayscale compensation relationship mapping provided according to an embodiment of the present application;
[0022] Figure 4 This is a schematic diagram of an optional high grayscale reduction relationship mapping provided according to an embodiment of the present application;
[0023] Figure 5 This is a schematic diagram of an optional adaptive adjustment relationship mapping provided according to an embodiment of the present application;
[0024] Figure 6 A schematic structural diagram of an optional display panel provided according to an embodiment of the present application;
[0025] Figure 7 Schematic diagram of the structure of an optional display device provided according to an embodiment of the present application.
[0026] Figure numerals: Ia, constant current source; Rv, photoresistor; Ra, first resistor; Rb, second resistor; Z, detection point; 100, display panel body; 200, control board; 300, timing controller; 400, ambient light detection circuit; 500, backlight module. DETAILED DESCRIPTION
[0027] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0028] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of this application and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.
[0029] In order to solve the problems mentioned in the background technology, according to one aspect of the embodiments of the present application, an embodiment of a method for driving a display panel is provided. The method can be executed by a timing controller in a display device, such as Figure 1 As shown, the method may include the following steps:
[0030] Step S102, obtaining the ambient light intensity of the environment where the display panel is located;
[0031] Step S104, determining the relationship between the ambient light intensity and the target light intensity range;
[0032] Step S106: The display panel executes a picture optimization strategy based on the relationship between the ambient light intensity and the target light intensity range.
[0033] Step S1062: When the ambient light intensity is greater than the maximum value of the target light intensity range, and a first pixel having a grayscale value less than a first threshold value exists in the display image of the display panel, executing a display panel image optimization strategy includes: performing grayscale compensation on the first pixel;
[0034] Step S1064 , when the ambient light intensity is less than the minimum value of the target light intensity range, there is a second pixel with a grayscale value greater than a second threshold in the image of the display panel, and the image optimization strategy includes: reducing the grayscale value of the second pixel.
[0035] Through the above steps S102 to S1062 or S102 to S1064, the present application detects the ambient light intensity of the environment where the display panel is located, and adaptively selects the corresponding picture optimization strategy according to the size of the ambient light intensity, and finally executes the corresponding picture optimization strategy on the picture data output by the display panel, that is, grayscale compensation is performed on low-grayscale pixels in an overly bright environment, and grayscale reduction is performed on high-grayscale pixels in an overly dark environment, thereby ensuring that the displayed picture is still good even in an overly bright or overly dark environment, thereby solving the technical problem of poor picture display effect in an overly bright or overly dark environment.
[0036] In step S102, the display panel can be installed on a liquid crystal display device, which can be a television, a monitor, a computer screen, a mobile phone, a tablet computer, etc. When using the display device under direct sunlight or lighting, the picture often feels dim, while when using the display device at night or in a dim place, the picture feels too bright and dazzling. The present application adjusts the grayscale of the picture data output by the display panel in real time and delicately according to the changes in the light intensity of the external environment, which can improve the display experience of the display in bright and dim environments, reduce the loss of human eye observation of dark pictures in bright environments, and reduce the damage to the human eye caused by bright pictures in dim environments.
[0037] In an optional embodiment, step S102 of obtaining the ambient light intensity of the environment where the display panel is located includes:
[0038] Step 1: collecting the voltage value of the detection point in the ambient light detection circuit, wherein the ambient light detection circuit is used to convert the light intensity sensed by the photoresistor into a corresponding voltage value;
[0039] Step 2: Determine the ambient light intensity corresponding to the voltage value based on the inverse relationship between the resistance of the photoresistor and the light intensity.
[0040] In an embodiment of the present application, an ambient light detection circuit can be added to the C board (the control board in the display panel body), and the timing controller can determine the ambient light intensity corresponding to point Z by detecting the potential of point Z (the detection point in the ambient light detection circuit used to detect voltage changes with light).
[0041] In the embodiment of the present application, the relationship between the change in the resistance of the photoresistor causing the change in the total resistance of the circuit and the corresponding relationship with the actual light intensity can be pre-set, and then the real-time total resistance of the circuit can be determined based on the measured voltage value of the detection point (point Z), and then the resistance of the photoresistor can be calculated through the voltage divider formula, and then the current actual light intensity can be determined based on the inverse proportional relationship between the resistance of the photoresistor and the light intensity.
[0042] Optionally, a first resistor connected in series with the photoresistor can be added to the ambient light detection circuit, and the first resistor can be used to limit the minimum value of the total resistance of the circuit each time the resistance of the photoresistor changes; a second resistor connected in parallel with the photoresistor can be added to the ambient light detection circuit, and the second resistor can be used to limit the range of the total resistance of the circuit that changes with the resistance of the photoresistor.
[0043] In the embodiment of this application, Figure 2 As shown, the ambient light detection circuit consists of a constant current source Ia, a photoresistor Rv, a series resistor Ra (i.e., the first resistor), and a parallel resistor Rb (i.e., the second resistor). The working principle of this circuit is that the resistance of the photoresistor Rv is inversely proportional to the light intensity. When the ambient light intensity changes, the resistance r of the photoresistor Rv changes.
[0044] In the embodiment of the present application, the first resistor Ra is used to ensure that the total resistance of the circuit is at the minimum value as the resistance of the photoresistor Rv changes each time, the second resistor Rb is used to limit the range of the total resistance of the circuit as the resistance of the photoresistor Rv changes, and the constant current source Ia is used to set the change amplitude of the voltage value at the detection point, and make the change amplitude correspond to the change of the actual light intensity.
[0045] In this embodiment, the parallel connection of parallel resistor Rb maintains the change in the photoresistor's resistance value r within a certain range of the change in the total circuit resistance R. The series resistor Ra serves to maintain a reasonable minimum value within the range of R's change, making the voltage at detection point Z easier to identify. The overall R range can be adjusted by adjusting the values of Ra and Rb. Under the action of constant current source Ia, the change in Uz can be adjusted to a voltage range of 1.8 to 3.0V, corresponding to the change in actual light intensity. The potential at point Z is calculated as follows:
[0046] Uz=Ia*[(r+Rb) / (r*Rb)+Ra].
[0047] In the embodiment of the present application, a direct correspondence between the detection point potential and the actual light intensity can be established, thereby using the detection point potential to represent the actual light intensity. For example, when the variation range of Uz is limited to the range of 1.8 to 3.0V, the voltage at point Z can be set to correspond to a high ambient light intensity when it is in the range of 1.8 to 2.0V, the voltage at point Z can be set to correspond to a moderate ambient light intensity when it is in the range of 2.0 to 2.8V, and the voltage at point Z can be set to correspond to a low ambient light intensity when it is in the range of 2.8V to 3.0V.
[0048] This application matches the corresponding picture optimization strategy according to different ambient light intensities, which is explained below.
[0049] In step S104, different relationships between the ambient light intensity and the target light intensity range correspond to different image optimization strategies, specifically:
[0050] When the ambient light intensity is greater than the maximum value of the target light intensity range, determining that the matched image optimization strategy is a low grayscale compensation strategy;
[0051] When the ambient light intensity is less than the minimum value of the target light intensity range, the matched image optimization strategy is determined to be a high grayscale reduction strategy.
[0052] In the embodiment of the present application, when the ambient light intensity is greater than the maximum value of the target light intensity range, and a first pixel having a grayscale value less than a first threshold value exists in the display image of the display panel, a low grayscale compensation strategy is to compensate the grayscale value of the first pixel. When the ambient light intensity is less than the minimum value of the target light intensity range, and a second pixel having a grayscale value greater than a second threshold value exists in the display image of the display panel, a high grayscale reduction strategy is to reduce the grayscale value of the second pixel.
[0053] In the embodiment of the present application, since there is a corresponding relationship between the detection point potential and the actual light intensity, that is, when the variation range of Uz is limited to the range of 1.8 to 3.0V, the Z point voltage can be set to correspond to a high ambient light intensity when it is in the range of 1.8 to 2.0V, the Z point voltage can be set to correspond to a moderate ambient light intensity when it is in the range of 2.0 to 2.8V, and the Z point voltage can be set to correspond to a low ambient light intensity when it is in the range of 2.8V to 3.0V. Then, taking this corresponding relationship as an example, the target light intensity range can be selected as the range of 2.0 to 2.8V, the minimum value of the target light intensity range is 2.0V, and the maximum value of the target light intensity range is 2.8V. Therefore, when the Z point voltage is in the range of 1.8 to 2.0V, it corresponds to a high ambient light intensity range, and when the Z point voltage is in the range of 2.8V to 3.0V, it corresponds to a low ambient light intensity range. Accordingly, the picture optimization strategy matching the high ambient light intensity range is determined to be the low grayscale compensation strategy, and the picture optimization strategy matching the low ambient light intensity range is determined to be the high grayscale reduction strategy. By adopting a picture optimization strategy that adapts to different ambient light intensities, the output picture of the display panel can be adaptively optimized for different environments, that is, grayscale compensation is performed on low-grayscale pixels in overly bright environments, and grayscale reduction is performed on high-grayscale pixels in overly dark environments, thereby ensuring that the display picture remains good even in overly bright or overly dark environments, solving the technical problem of poor picture display effects in overly bright or overly dark environments.
[0054] The following describes the execution of the corresponding image optimization strategies under two different ambient light intensities.
[0055] In step S106 , the timing controller activates different functions by detecting the position of point Z and calls different mapping tables to process the actual output image.
[0056] In an optional embodiment, when the ambient light intensity is greater than the maximum value of the target light intensity range, there is a first pixel having a grayscale value less than a first threshold value in the display image of the display panel, and executing the image optimization strategy of the display panel includes: the step of performing grayscale compensation on the first pixel includes:
[0057] Step 1: Acquire data of the display screen output by the display panel;
[0058] Step 2, determining the first pixel having a grayscale value less than the first threshold in the data of the display image;
[0059] Step 3: Retrieving a preset low grayscale compensation relationship mapping table, and determining a target grayscale after grayscale compensation for each first pixel based on the ambient light intensity and the original grayscale of the first pixel in the low grayscale compensation relationship mapping table;
[0060] Step 4: outputting the picture data of the first pixel according to the target grayscale to optimize the display effect of the display panel.
[0061] In the embodiment of the present application, the timing controller identifies the voltage interval and calls the low grayscale compensation relationship mapping table, processes the relatively low grayscale data, improves the actual display brightness, and improves the poor display caused by the dark picture under high ambient brightness. Figure 3 As shown, taking the first threshold value of 128 as an example, the relatively low grayscale may be a grayscale less than 128 (ie, 0 to 127), and the first pixel may be a pixel with a grayscale value less than 128. Figure 3 In the figure, the horizontal axis v is the voltage value, which corresponds to multiple voltages of 1.8 to 2.0V in the first row, corresponding to multiple actual light intensities in the high range of ambient light intensity. The vertical axis g is the grayscale value, which corresponds to several relatively low grayscales from 0 to 127 in the first column. The timing controller positions the vertical axis according to the relatively low grayscale in the picture data and positions the horizontal axis according to the measured ambient light intensity, and then determines the grayscale adjustment value of the picture data. Finally, the picture data is output according to the adjustment value to optimize the display effect of the display. For example: at this time, the ambient brightness is very high, and the voltage reflected at point Z is Uz = 1.8V. According to Figure 5 According to the low grayscale compensation relationship mapping table shown, the data of grayscale 0 will be increased to grayscale 16 for actual display. The final result is that the brightness of low grayscale pixels in the display image will be increased, thereby improving the display effect.
[0062] In the embodiment of the present application, the overall data or local data of the low grayscale compensation relationship mapping table can also be adjusted according to the user's personalized needs, so that the display effect of the picture can further meet the user's personalized needs and improve the user experience.
[0063] In an optional embodiment, when the ambient light intensity is less than the minimum value of the target light intensity range, there is a second pixel in the image of the display panel having a grayscale value greater than a second threshold, and the image optimization strategy includes: the step of reducing the grayscale value of the second pixel includes:
[0064] Step 1: Acquire data of the display screen output by the display panel;
[0065] Step 2, determining the second pixel having a grayscale value greater than the second threshold in the data of the display image;
[0066] Step 3: Retrieving a preset high grayscale reduction relationship mapping table, and determining a target grayscale after grayscale reduction for each second pixel based on the ambient light intensity and the original grayscale of the second pixel in the high grayscale reduction relationship mapping table;
[0067] Step 4: outputting the picture data of the second pixel according to the target grayscale to optimize the display effect of the display panel.
[0068] In the embodiment of the present application, the timing controller identifies the voltage interval and calls the high grayscale reduction relationship mapping table, processes the relatively high grayscale data, reduces the actual display brightness, and improves the irritation to the human eye caused by the high brightness of the picture in low ambient brightness. Figure 4 As shown, taking the second threshold value of 126 as an example, the relatively high grayscale may be a grayscale greater than 126 (ie, 127 to 255), and the second pixel may be a pixel having a grayscale value greater than 126. Figure 4 In the figure, the horizontal axis v is the voltage value, which corresponds to multiple voltages of 2.8 to 3.0V in the first row, corresponding to multiple actual light intensities in the low ambient light intensity range. The vertical axis g is the grayscale value, which corresponds to several relatively high grayscales from 127 to 255 in the first column. The timing controller positions the vertical axis according to the relatively high grayscale in the picture data and positions the horizontal axis according to the measured ambient light intensity, thereby determining the grayscale adjustment value of the picture data. Finally, the picture data is output according to the adjustment value to optimize the display effect of the display. For example, if it is at night and the ambient brightness is very low, the voltage at point Z is Uz = 3.0V, then according to Figure 4 In the high grayscale reduction relationship mapping table shown, the data of 255 grayscale is actually displayed as 232 grayscale. The final result is that the overall brightness of the picture is reduced, reducing the damage to the user's eyes in dim environments.
[0069] In the embodiment of the present application, the overall data or local data of the high grayscale reduction relationship mapping table can also be adjusted according to the user's personalized needs, so that the display effect of the picture can further meet the user's personalized needs and improve the user experience.
[0070] This application also provides a method for further improving the picture display effect within the target light intensity range. Specifically, if the ambient light intensity is within the target light intensity range, the picture display effect can be improved by increasing the picture contrast.
[0071] In an optional embodiment, when the ambient light intensity is within the target light intensity range, the display panel executes a picture optimization strategy, which includes: determining the reference grayscale and regional grayscale of the data of the display picture of the display panel, and optimizing the contrast of the display picture of the display panel by using an adaptive adjustment relationship mapping table, the reference grayscale and the regional grayscale.
[0072] Specifically, determining a reference grayscale and a regional grayscale of data of a display screen of the display panel, and optimizing the contrast of the display screen of the display panel by using an adaptive adjustment relationship mapping table, the reference grayscale, and the regional grayscale includes:
[0073] Step 1: Acquire data of the display screen output by the display panel;
[0074] Step 2: Calculate the mean square error of the grayscale of the image data to obtain the image complexity of the entire image;
[0075] Step 3: When the picture complexity is greater than a third threshold, the entire picture is evenly divided into multiple regions;
[0076] Step 4: Calculate the image complexity of each region respectively, and continue to evenly split the regions with image complexity greater than the third threshold into multiple sub-regions until the image complexity of any sub-region of the entire image is less than or equal to the third threshold. Then, determine the grayscale in each region whose proportion exceeds the fourth threshold as the regional grayscale of each region;
[0077] Step 5: determining the median value of the grayscale in the data of the display image as the reference grayscale, and calculating the difference between the grayscale of each area and the reference grayscale;
[0078] Step 6, determining the grayscale difference of each area after corresponding adjustment based on the ambient light intensity and the difference in the adaptive adjustment relationship mapping table, and recalculating the target grayscale of each area according to the adjusted difference;
[0079] Step 7: Outputting the image data according to the target grayscale to optimize the image contrast of the display panel.
[0080] In the embodiment of the present application, the timing controller first calculates the mean square error of the overall picture data to calculate the complexity of the picture. When the complexity is greater than the third threshold, the picture is evenly divided into zones, and the complexity is recalculated, and repeated until the regional complexity is low. The median value of the grayscale in the picture data is selected as the reference grayscale. At this time, the preset adaptive adjustment relationship mapping table is called, and the brightness of the grayscale of each area is searched for the corresponding adjusted difference in the adaptive adjustment relationship mapping table based on the difference with the reference grayscale and the voltage at point Z. Finally, the target grayscale of each area is recalculated based on the adjusted difference, making the dark darker and the bright brighter, thereby increasing the overall contrast and improving the display effect. Figure 5As shown, the horizontal axis v is the voltage value, that is, it corresponds to multiple voltage values of 2.0 to 2.8V in the first row, and corresponds to multiple actual light intensities in the range of moderate ambient light intensity. The vertical axis c is the difference between the regional grayscale of each area and the reference grayscale, that is, it corresponds to the multiple differences from -127 to 127 in the first column. Each area positions the vertical axis according to the difference between its own regional grayscale and the reference grayscale, and positions the horizontal axis according to the measured ambient light intensity, and then determines the adjusted difference. Finally, the target grayscale of each area is recalculated according to the adjusted difference, and finally the picture data is output according to the target grayscale to optimize the picture contrast of the display device. For example: if the ambient light intensity is moderate at this time, reflected in the voltage Uz = 2.0V at point Z, then according to Figure 5 In the adaptive adjustment relationship mapping table shown, the difference between the grayscale of the area with a reference grayscale of 64 should be 80 after adjustment. If the original grayscale of the area is 30 and the reference grayscale is -34, the adjusted target grayscale should be 46. Each of the remaining areas is adjusted in this way to make the bright brighter and the dark darker. The final result is an improvement in the overall contrast of the picture, thereby further optimizing the display effect.
[0081] Compared with the method of optimizing the picture contrast by dynamically adjusting the backlight intensity in the related art, the backlight module in the related art needs to set up a separate control chip for each block to receive the SOC signal. Setting up a control chip for each block will obviously greatly increase the overall power consumption and greatly increase the volume of the display panel. However, the contrast optimization method provided by the present application does not need to regulate the backlight brightness when improving the picture contrast. Instead, the present application adopts an adaptive adjustment strategy and calls an adaptive adjustment relationship mapping table. According to the difference between the regional grayscale and the reference grayscale of each area and the ambient light, the grayscale of the output picture is directly adjusted to make the bright brighter and the dark darker, thereby improving the picture contrast. Compared with the improvement of the display effect by adjusting the backlight, it is more detailed and reduces the power consumption of the entire machine.
[0082] In the embodiment of the present application, the overall data or local data of the adaptive adjustment relationship mapping table can also be adjusted according to the user's personalized needs, so that the display effect of the picture can further meet the user's personalized needs.
[0083] This application detects the ambient light intensity of the environment where the display panel is located, and adaptively selects the corresponding picture optimization strategy according to the size of the ambient light intensity. Finally, the corresponding picture optimization strategy is executed on the picture data output by the display panel, thereby ensuring that the display picture remains good even in an overly bright or overly dark environment, thereby solving the technical problem of poor picture display effect in an overly bright or overly dark environment.
[0084] According to another aspect of the embodiment of the present application, the present application provides a display panel, such as Figure 6As shown, it includes a display panel body 100 and a control board 200, a timing controller 300 is provided on the control board, an ambient light detection circuit 400 is provided on the display panel body 100, the ambient light detection circuit 400 and the timing controller 300 are electrically connected, and when the timing controller 300 obtains the ambient light intensity of the environment where the display panel is located from the ambient light detection circuit 400, it executes the above-mentioned display panel driving method.
[0085] In the embodiment of this application, Figure 2 As shown, the ambient light detection circuit includes: a constant current source Ia, a photoresistor Rv, a first resistor Ra and a second resistor Rb. The first end of the photoresistor Rv is a detection point Z of the ambient light intensity. The timing controller 300 is electrically connected to the detection point Z and is used to obtain the ambient light intensity by detecting the voltage at the detection point Z. The first resistor Ra and the second end of the photoresistor Rv are connected in series to ground. The second resistor Rb and the photoresistor Rv are connected in parallel. One end of the constant current source Ia is connected to the detection point Z, and the other end is grounded.
[0086] According to another aspect of the embodiment of the present application, the present application provides a display device, such as Figure 7 As shown, the display device includes a backlight module 500 and the above-mentioned display panel. The backlight module 200 is disposed on the backlight side of the display panel body 100 and is used to provide light source to the display panel.
[0087] The foregoing is merely a list of specific embodiments of the present application, intended to enable those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the broadest scope consistent with the principles and novel features of the present application.
Claims
1. A method for driving a display panel, characterized in that: include: Get the ambient light intensity of the environment where the display panel is located; Determining the relationship between the ambient light intensity and the target light intensity range; The display panel executes a picture optimization strategy according to a relationship between the ambient light intensity and the target light intensity range; When the ambient light intensity is greater than the maximum value of the target light intensity range, a first pixel having a grayscale value less than a first threshold value exists in the display image of the display panel, and executing the image optimization strategy of the display panel includes: compensating the grayscale value of the first pixel; When the ambient light intensity is less than the minimum value of the target light intensity range, there is a second pixel with a grayscale value greater than a second threshold in the image of the display panel, and the image optimization strategy includes: reducing the grayscale value of the second pixel; When the ambient light intensity is within the target light intensity range, the display panel executes a picture optimization strategy, the picture optimization strategy comprising: determining a reference grayscale and a regional grayscale of data of a display picture of the display panel, and optimizing the contrast of the display picture of the display panel by using an adaptive adjustment relationship mapping table, the reference grayscale, and the regional grayscale; The determining of the reference grayscale and regional grayscale of the data of the display screen of the display panel, and optimizing the contrast of the display screen of the display panel by using the adaptive adjustment relationship mapping table, the reference grayscale and the regional grayscale includes: obtaining the data of the display screen output by the display panel; calculating the mean square error of the grayscale of the data of the display screen to obtain the picture complexity of the whole picture; when the picture complexity is greater than a third threshold, evenly dividing the whole picture into multiple areas; calculating the picture complexity of each area respectively, and continuing to evenly divide the area where the picture complexity is greater than the third threshold into multiple sub-areas. Until the picture complexity of any sub-area of the entire picture is less than or equal to the third threshold, the grayscale in each area that accounts for more than the fourth threshold is determined as the regional grayscale of each area; the median value of the grayscale in the data of the displayed picture is determined as the reference grayscale, and the difference between the grayscale of each area and the reference grayscale is calculated; in the adaptive adjustment relationship mapping table, based on the ambient light intensity and the difference, the difference in the grayscale of each area after corresponding adjustment is determined, and the target grayscale of each area is recalculated according to the adjusted difference; the picture data is output according to the target grayscale to optimize the picture contrast of the display panel.
2. The method for driving a display panel according to claim 1, wherein: When the ambient light intensity is greater than the maximum value of the target light intensity range, there is a first pixel having a grayscale value less than a first threshold value in the display image of the display panel, and executing the image optimization strategy of the display panel includes: performing grayscale compensation on the first pixel, including: Acquiring data of the display screen output by the display panel; Determining, in the data of the display image, the first pixel having a grayscale value less than the first threshold; Retrieving a preset low grayscale compensation relationship mapping table, and determining, in the low grayscale compensation relationship mapping table, a target grayscale after grayscale compensation is performed on each of the first pixels based on the ambient light intensity and the original grayscale of the first pixels; The picture data of the first pixel is output according to the target grayscale to optimize the display effect of the display panel.
3. The method for driving a display panel according to claim 1, wherein: When the ambient light intensity is less than the minimum value of the target light intensity range, there is a second pixel with a grayscale value greater than a second threshold in the image of the display panel, and the image optimization strategy includes: a step of reducing the grayscale value of the second pixel includes: Acquiring data of the display screen output by the display panel; Determining, in the data of the display image, the second pixel having a grayscale value greater than the second threshold; Retrieving a preset high grayscale reduction relationship mapping table, and determining, in the high grayscale reduction relationship mapping table, a target grayscale after grayscale reduction is performed on each second pixel based on the ambient light intensity and the original grayscale of the second pixel; The picture data of the second pixel is output according to the target grayscale to optimize the display effect of the display panel.
4. The method for driving a display panel according to any one of claims 1 to 3, wherein: Acquiring the ambient light intensity of the environment where the display panel is located includes: Collecting the voltage value of the detection point in the ambient light detection circuit, wherein the ambient light detection circuit is used to convert the light intensity sensed by the photoresistor into a corresponding voltage value; The ambient light intensity corresponding to the voltage value is determined according to the inverse proportional relationship between the resistance of the photoresistor and the light intensity.
5. The method for driving a display panel according to claim 4, wherein: The method further comprises: Adding a first resistor in series with the photoresistor in the ambient light detection circuit, and limiting the minimum value of the total resistance of the circuit each time the resistance of the photoresistor changes by the first resistor; A second resistor connected in parallel with the photoresistor is added to the ambient light detection circuit, and the second resistor is used to limit the range in which the total resistance of the circuit changes with the resistance of the photoresistor.
6. A display panel, comprising a display panel body and a control board, wherein a timing controller is provided on the control board, and an ambient light detection circuit is provided on the display panel body, wherein the ambient light detection circuit and the timing controller are electrically connected, and when the timing controller obtains the ambient light intensity of the environment in which the display panel is located from the ambient light detection circuit, it executes the display panel driving method according to any one of claims 1 to 5.
7. The display panel according to claim 6, wherein: The ambient light detection circuit includes: a constant current source, a photoresistor, a first resistor and a second resistor. The first end of the photoresistor is a detection point for the ambient light intensity. The timing controller is electrically connected to the detection point and is used to obtain the ambient light intensity by detecting the voltage at the detection point. The first resistor and the second end of the photoresistor are connected in series to ground, the second resistor and the photoresistor are connected in parallel, and one end of the constant current source is connected to the detection point and the other end is grounded.
8. A display device, characterized in that: The device comprises a backlight module and the display panel according to any one of claims 6 to 7, wherein the backlight module is arranged on the backlight side of the display panel body and is used to provide light source to the display panel.
Citation Information
Patent Citations
Display device and method for adjusting gray-level of image frame depending on environment illumination
CN102750927A
Comparison-ratio increasing method and device
CN106847152A
Equipment ambient light intensity detection method and related assembly
CN115031835A
Circuit for adjusting current
TW580152U