Charging control method, driving circuit and computer storage medium of liquid crystal display
By acquiring the current and previous frame image data in the liquid crystal display, determining the target row subpixels and performing charging compensation, the problem of insufficient charging at high frame rates and high PPI is solved, and the display effect is improved.
Patent Information
- Application Number
- CN202310560824.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-17
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2043-05-17
AI Technical Summary
LCD monitors can easily lead to insufficient charging under high frame rates and high PPI conditions, affecting the display effect.
By acquiring data of the current frame image and the previous frame image, the target row subpixels needing charging compensation are determined, and precise charging control is performed based on the gate opening time and grayscale value, including determining the compensation grayscale value and charging time of the target row subpixels.
It improves the accuracy of charging control of LCD monitors, improves the display effect, and reduces the phenomenon of dynamic picture tailings.
Smart Images

Figure CN116524869B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of liquid crystal technology, and in particular to a charging control method, a driving circuit, and a computer storage medium for a liquid crystal display. Background Art
[0002] With the development of display technology, LCDs are gradually moving towards high frame rates and high PPI (pixels per inch). In this scenario, it is easy for the LCD to be insufficiently charged, which in turn affects the display quality of the LCD. Summary of the Invention
[0003] The embodiments of the present application provide a charging control method, a driving circuit, and a computer storage medium for a liquid crystal display, which can improve the accuracy of charging control of the liquid crystal display, thereby improving the display effect of the liquid crystal display. The technical solution is as follows:
[0004] In one aspect, a charging control method for a liquid crystal display is provided, wherein the liquid crystal display includes n rows of sub-pixels arranged in an array, where n is an integer greater than 1; the method comprising:
[0005] Acquiring image data of a current frame image to be displayed on the liquid crystal display;
[0006] Determining n gate opening times corresponding to the current frame image;
[0007] determining, based on the n gate-on times, image data of the current frame image and image data of a previous frame image of the current frame image, a target row of sub-pixels requiring charge compensation among the n rows of sub-pixels;
[0008] Performing grayscale compensation on the target row sub-pixels to obtain compensated grayscale values of the target row sub-pixels;
[0009] The n rows of sub-pixels are charged based on the n gate-on times and the compensated grayscale values of the target row of sub-pixels.
[0010] Optionally, determining n gate opening times corresponding to the current frame image includes:
[0011] Determining the resistance and capacitance RC load of each row of sub-pixels in the n rows of sub-pixels;
[0012] determining, based on the image data of the current frame image, a charging voltage of each sub-pixel in each row of sub-pixels in the n rows of sub-pixels;
[0013] Based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels, the gate opening time of each row of sub-pixels in the n rows of sub-pixels is determined to obtain the n gate opening times.
[0014] Optionally, determining the gate-on time of each row of sub-pixels in the n rows of sub-pixels based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels includes:
[0015] For the i-th row of sub-pixels in the n rows of sub-pixels, determining a charging time for each sub-pixel in the i-th row of sub-pixels based on an RC load of the i-th row of sub-pixels and a charging voltage of each sub-pixel in the i-th row of sub-pixels, where the charging time is a time required to charge the corresponding sub-pixel to a corresponding charging voltage;
[0016] The gate-on time of the sub-pixels in the i-th row is determined based on the charging time of each sub-pixel in the i-th row of sub-pixels.
[0017] Optionally, determining a target row of sub-pixels requiring charge compensation among the n rows of sub-pixels based on the n gate-on times, image data of the current frame image, and image data of a previous frame image of the current frame image includes:
[0018] Determining a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels based on the n gate-on times;
[0019] determining, based on image data of the current frame image and image data of a previous frame image of the current frame image, a liquid crystal response time required for each row of sub-pixels in the n rows of sub-pixels;
[0020] Based on the liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and the liquid crystal response time used by each row of sub-pixels in the n rows of sub-pixels, a target row of sub-pixels in the n rows of sub-pixels requiring charging compensation is determined.
[0021] Optionally, determining the liquid crystal response time required for each row of sub-pixels in the n rows of sub-pixels based on the image data of the current frame image and the image data of a previous frame image of the current frame image includes:
[0022] For the i-th row of sub-pixels in the n rows of sub-pixels, determining the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image, and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image;
[0023] Determining a liquid crystal response time for each sub-pixel in the i-th row of sub-pixels based on the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image;
[0024] The time required for liquid crystal response of the sub-pixels in the i-th row is determined based on the time required for liquid crystal response of each sub-pixel in the i-th row of sub-pixels.
[0025] Optionally, determining a target row of sub-pixels in the n rows of sub-pixels requiring charging compensation based on a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels includes:
[0026] For the i-th row of sub-pixels in the n rows of sub-pixels, if the liquid crystal response time of the i-th row of sub-pixels is greater than the liquid crystal response time of the i-th row of sub-pixels, the i-th row of sub-pixels is determined as the target row of sub-pixels.
[0027] Optionally, determining a target row of sub-pixels in the n rows of sub-pixels requiring charging compensation based on a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels includes:
[0028] Determine the rows of sub-pixels in which the time required for the liquid crystal to respond is longer than the time used for the liquid crystal to respond, to obtain a plurality of rows of sub-pixels to be compensated;
[0029] determining, based on a liquid crystal response time of each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated and a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated, a compensation weight for each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated, the compensation weight indicating a deviation between a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated and a liquid crystal response time of the corresponding row of sub-pixels to be compensated;
[0030] The target row of sub-pixels is determined from the multiple rows of sub-pixels to be compensated based on the compensation weight of each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated.
[0031] Optionally, after performing grayscale compensation on the target row sub-pixels to obtain compensated grayscale values of the target row sub-pixels, the method further includes:
[0032] reducing the gate-on time of the sub-pixels in the target row to update the n gate-on times;
[0033] For the row sub-pixels following the target row sub-pixel, the operation returns to execute the operation based on the n gate opening times, the image data of the current frame image, and the image data of the previous frame image of the current frame image, to determine the target row sub-pixels that need to be charged compensated, and to perform grayscale compensation on the target row sub-pixels to obtain the compensated grayscale value of the target row sub-pixels.
[0034] In another aspect, a driving circuit for a liquid crystal display is provided. The liquid crystal display includes n rows of sub-pixels arranged in an array, where n is an integer greater than 1. The driving circuit includes:
[0035] A timing controller, configured to obtain image data of a current frame image to be displayed on the liquid crystal display;
[0036] The timing controller is further used to determine n gate opening times corresponding to the current frame image;
[0037] The timing controller is further configured to determine a target row of sub-pixels requiring charge compensation among the n rows of sub-pixels based on the n gate-on times, image data of the current frame image, and image data of a previous frame image of the current frame image;
[0038] The timing controller is further configured to perform grayscale compensation on the sub-pixels in the target row to obtain compensated grayscale values of the sub-pixels in the target row;
[0039] The gate driving circuit and the source driving circuit are used to charge the n rows of sub-pixels based on the n gate opening times and the compensated grayscale values of the target row of sub-pixels.
[0040] Optionally, the timing controller is used to:
[0041] Determining the resistance and capacitance RC load of each row of sub-pixels in the n rows of sub-pixels;
[0042] determining, based on the image data of the current frame image, a charging voltage of each sub-pixel in each row of sub-pixels in the n rows of sub-pixels;
[0043] Based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels, the gate opening time of each row of sub-pixels in the n rows of sub-pixels is determined to obtain the n gate opening times.
[0044] Optionally, the timing controller is used to:
[0045] For the i-th row of sub-pixels in the n rows of sub-pixels, determining a charging time for each sub-pixel in the i-th row of sub-pixels based on an RC load of the i-th row of sub-pixels and a charging voltage of each sub-pixel in the i-th row of sub-pixels, where the charging time is a time required to charge the corresponding sub-pixel to a corresponding charging voltage;
[0046] The gate-on time of the sub-pixels in the i-th row is determined based on the charging time of each sub-pixel in the i-th row of sub-pixels.
[0047] Optionally, the timing controller is used to:
[0048] Determining a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels based on the n gate-on times;
[0049] determining, based on image data of the current frame image and image data of a previous frame image of the current frame image, a liquid crystal response time required for each row of sub-pixels in the n rows of sub-pixels;
[0050] Based on the liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and the liquid crystal response time used by each row of sub-pixels in the n rows of sub-pixels, a target row of sub-pixels in the n rows of sub-pixels requiring charging compensation is determined.
[0051] Optionally, the timing controller is used to:
[0052] For the i-th row of sub-pixels in the n rows of sub-pixels, determining the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image, and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image;
[0053] Determining a liquid crystal response time for each sub-pixel in the i-th row of sub-pixels based on the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image;
[0054] The time required for liquid crystal response of the sub-pixels in the i-th row is determined based on the time required for liquid crystal response of each sub-pixel in the i-th row of sub-pixels.
[0055] Optionally, the timing controller is used to:
[0056] For the i-th row of sub-pixels in the n rows of sub-pixels, if the liquid crystal response time of the i-th row of sub-pixels is greater than the liquid crystal response time of the i-th row of sub-pixels, the i-th row of sub-pixels is determined as the target row of sub-pixels.
[0057] Optionally, the timing controller is used to:
[0058] Determine the rows of sub-pixels in which the time required for the liquid crystal to respond is longer than the time used for the liquid crystal to respond, to obtain a plurality of rows of sub-pixels to be compensated;
[0059] determining, based on a liquid crystal response time of each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated and a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated, a compensation weight for each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated, the compensation weight indicating a deviation between a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated and a liquid crystal response time of the corresponding row of sub-pixels to be compensated;
[0060] The target row of sub-pixels is determined from the multiple rows of sub-pixels to be compensated based on the compensation weight of each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated.
[0061] Optionally, the timing controller is further configured to:
[0062] reducing the gate-on time of the sub-pixels in the target row to update the n gate-on times;
[0063] For the row sub-pixels following the target row sub-pixel, the operation returns to execute the operation based on the n gate opening times, the image data of the current frame image, and the image data of the previous frame image of the current frame image, to determine the target row sub-pixels that need to be charged compensated, and to perform grayscale compensation on the target row sub-pixels to obtain the compensated grayscale value of the target row sub-pixels.
[0064] On the other hand, a computer-readable storage medium is provided, on which instructions are stored. When the instructions are executed by a processor, any step of the above-mentioned charging control method for a liquid crystal display is implemented.
[0065] On the other hand, a computer program product including instructions is provided, which, when executed on a computer, enables the computer to execute any step of the above-mentioned charging control method for a liquid crystal display.
[0066] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:
[0067] In an embodiment of the present application, based on the n gate-on times, the image data of the current frame image, and the image data of the previous frame image, it is determined which rows of sub-pixels in the n rows of sub-pixels require charge compensation, that is, the target rows of sub-pixels requiring charge compensation are determined. Compared to performing charge compensation based solely on the deviation between the previous frame image data and the current frame image data, it is possible to more accurately determine which rows of sub-pixels in the n rows of sub-pixels require charge compensation, thereby improving the accuracy of charge control of the liquid crystal display and thereby enhancing the display quality of the liquid crystal display. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0069] Figure 1 This is a schematic diagram of the structure of a liquid crystal display provided in an embodiment of the present application;
[0070] Figure 2 This is a flow chart of a charging control method for a liquid crystal display provided in an embodiment of the present application;
[0071] Figure 3 The embodiment of the present application provides a relationship between the gate opening time t of each row of n rows of sub-pixels and the liquid crystal response time Q of each row of sub-pixels;
[0072] Figure 4 This is a schematic structural diagram of a driving circuit for a liquid crystal display provided in an embodiment of the present application;
[0073] Figure 5 This is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0075] Before explaining the embodiments of the present application, the application scenarios of the embodiments of the present application are first explained.
[0076] Currently, mobile terminals such as mobile phones and tablets, or HDM (head-mounted display) products, are gradually developing towards high frame rates and high PPI. This will shorten the frame display time of the liquid crystal displays on these products. The frame display time is the display time of a frame of an image. However, during the frame display time, the liquid crystal needs to be flipped to a certain angle through charging control in order to correctly display a frame of image. Due to the limited response speed of liquid crystal, if the frame display time is shortened, it will be difficult for the liquid crystal to reach the expected flip angle within the frame display time, which will lead to uneven charging rates of each sub-pixel in the LCD, resulting in unsatisfactory display brightness, causing the dynamic picture to have a tailing phenomenon, affecting the display effect of the LCD.
[0077] Based on this, an embodiment of the present application provides a charging control method for a liquid crystal display, the purpose of which is to accurately determine which rows of sub-pixels in n rows of sub-pixels require charging compensation, thereby improving the accuracy of the charging control of the liquid crystal display, thereby improving the display effect of the liquid crystal display.
[0078] Figure 1 Schematic diagram of the structure of a liquid crystal display provided by an embodiment of the present application. Figure 1 As shown, the liquid crystal display includes an AP (application processor) terminal 01, a driver IC (integrated circuit) 02 and a display panel 03. The driver IC is also called a driver circuit or a DDI (display driver IC).
[0079] The AP 01 can be connected to the driver IC 02 via MIPI (mobile industry processor interface). The driver IC 02 is connected to the display panel 03 via intersecting gate lines and data lines.
[0080] For example, Figure 1 As shown, the driver IC 02 may include a timing controller 021, a gate driver IC 022, and a source driver IC 023. The display panel 03 includes multiple rows of sub-pixels distributed in an array. The embodiment of the present application takes n rows of sub-pixels as an example for explanation, where n is an integer greater than 1. In this scenario, the AP terminal 01 can be connected to the timing controller 021. The gate driver circuit 022 is connected to each row of sub-pixels through a gate line, and the source driver circuit 023 is connected to each column of sub-pixels through a data line. Some driver ICs do not include a timing controller, and the AP terminal is directly connected to the gate driver circuit 022 and the source driver circuit 023.
[0081] In addition, the AP terminal 01 is used to provide image data to the driver IC 02. The driver IC 02 is used to charge each row of sub-pixels on the display panel 03 based on the image data using the method provided in the embodiment of the application, so that the display panel 03 displays an image.
[0082] For example, the AP terminal 01 inputs the decoded image data to the timing controller 021. The timing controller 021 processes the image data based on the charging control method provided in the embodiment of the present application to generate the data required by the gate drive circuit 022 and the source drive circuit 023, such as generating the gate opening time corresponding to each row of sub-pixels and the charging voltage corresponding to each column of sub-pixels. The timing controller 021 transmits the generated data to the gate drive circuit 022 and the source drive circuit 023 respectively according to a certain timing. The gate drive circuit 022 can generate a switching signal according to the received data and transmit it to the gate line connected to each row of sub-pixels in the display panel 03. The source drive circuit 023 can generate a voltage signal (also called a data signal) according to the received data and transmit it to the data line connected to each column of sub-pixels in the display panel 03.
[0083] based on Figure 1 In the illustrated architecture, the process of displaying a frame of image on a liquid crystal display is as follows: the gate driver circuit 022 sequentially generates switching signals corresponding to each row of sub-pixels based on the gate-on time corresponding to each row of sub-pixels in the received data, thereby sequentially turning on each row of sub-pixels in n rows of sub-pixels. For illustration, taking the i-th row of sub-pixels among n rows of sub-pixels as an example, when the i-th row of sub-pixels is turned on, the source driver circuit 023 simultaneously charges each sub-pixel in the i-th row based on the charge voltage corresponding to the i-th row of sub-pixels in the received data. After charging, the liquid crystals in the i-th row of sub-pixels flip under the corresponding charge voltage, thereby presenting the corresponding grayscale value.
[0084] That is, when the LCD displays a frame of image, it charges each row of sub-pixels in sequence in rows. After each row of sub-pixels is charged, the liquid crystals of the sub-pixels in the row begin to flip under the corresponding charging voltage.
[0085] In addition, the embodiment of the present application does not limit the number or layout of the gate driver circuits 022 and the source driver circuits 023. There is no limit on the number of gate lines connected to a single gate driver circuit 022, nor on the number of data lines connected to a single source driver circuit 023.
[0086] It should be noted that Figure 1 The liquid crystal display shown does not constitute a limitation on the liquid crystal display involved in the embodiments of the present application. When applying the embodiments of the present application, the liquid crystal display may include more or fewer components, which will not be illustrated one by one here.
[0087] The following is an explanation of the charging control method provided in the embodiment of the present application.
[0088] Figure 2 This is a flow chart of a charging control method for a liquid crystal display provided by an embodiment of the present application. The method is applied to Figure 1The LCD display shown, such as Figure 1 As shown, the liquid crystal display includes n rows of sub-pixels distributed in an array, where n is an integer greater than 1. Figure 2 As shown, the method may include the following steps.
[0089] Step 201: Acquire image data of a current frame image to be displayed on a liquid crystal display.
[0090] For example, the image data of the current frame image includes an initial grayscale value of each sub-pixel in each row of n rows of sub-pixels.
[0091] Step 202: Determine n gate opening times corresponding to the current frame image.
[0092] In the embodiments of the present application, to accurately control charging, when determining the gate-on time for each row of sub-pixels, not only the RC (resistance-capacitance) load of the sub-pixels in that row is taken into account, but also the image data of the sub-pixels in that row is taken into account. Therefore, in the charging control method provided in the embodiments of the present application, the gate-on time for each row of sub-pixels is not fixed, but is adaptively updated based on changes in the image data of the sub-pixels in that row across different frames. The gate-on time for each row of sub-pixels can be understood as the duration of charging for that row of sub-pixels.
[0093] Based on this, in some embodiments, the implementation method for determining n gate-on times corresponding to the current frame image can be: determining the resistance and capacitance RC load of each row of sub-pixels in n rows of sub-pixels; determining the charging voltage of each sub-pixel in each row of sub-pixels in the n rows of sub-pixels based on the image data of the current frame image; determining the gate-on time of each row of sub-pixels in the n rows of sub-pixels based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels, to obtain n gate-on times.
[0094] The resistance and capacitance (RC) loads of each row of sub-pixels in the n rows of sub-pixels can be pre-calibrated by a technician. For example, for any row of sub-pixels in the n rows of sub-pixels, if the sub-pixels in that row are farther from the source driver circuit, the source line connected to the sub-pixels in that row is longer, and thus the RC load of the sub-pixels in that row can be set larger. Conversely, if the sub-pixels in that row are closer to the source driver circuit, the source line connected to the sub-pixels in that row is shorter, and thus the RC load of the sub-pixels in that row can be set smaller.
[0095] Optionally, the resistance and capacitance RC load of each row of sub-pixels in the n rows of sub-pixels may also be implemented by some algorithms, which will not be described in detail here.
[0096] Furthermore, based on the image data of the current frame image, determining the charge voltage of each sub-pixel in each row of n rows of sub-pixels can be achieved by searching a first mapping relationship, where the first mapping relationship indicates a correspondence between grayscale values and charge voltages. For example, for any sub-pixel, the charge voltage of the sub-pixel can be searched in the first mapping relationship based on the initial grayscale value of the sub-pixel in the image data.
[0097] The first mapping relationship may be calibrated in advance by a technician and will not be described in detail here.
[0098] In addition, an exemplary implementation method for determining the gate-on time of each row of sub-pixels in n rows of sub-pixels based on the RC load of each row of sub-pixels in n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels can be: for the i-th row of sub-pixels in the n rows of sub-pixels, based on the RC load of the i-th row of sub-pixels and the charging voltage of each sub-pixel in the i-th row of sub-pixels, determining the charging time of each sub-pixel in the i-th row of sub-pixels, where the charging time is the time required to charge the corresponding sub-pixel to the corresponding charging voltage; and determining the gate-on time of the i-th row of sub-pixels based on the charging time of each sub-pixel in the i-th row of sub-pixels.
[0099] Among them, based on the RC load of the i-th row of sub-pixels and the charging voltage of each sub-pixel in the i-th row of sub-pixels, the charging time of each sub-pixel in the i-th row of sub-pixels can be calculated by a relevant formula, which will not be described in detail here.
[0100] The above-mentioned method for determining the gate-on time of the sub-pixels in the i-th row based on the charging time of each sub-pixel in the i-th row can be, for example, to use the minimum charging time among the charging times of each sub-pixel in the i-th row as the gate-on time of the sub-pixels in the i-th row. This can shorten the gate-on time of each row of sub-pixels while minimizing the charging voltage, thereby providing more favorable conditions for subsequent liquid crystal response.
[0101] Optionally, the average value of the charging time of each sub-pixel in the i-th row of sub-pixels may be used as the gate-on time of the i-th row of sub-pixels, which will not be described one by one here.
[0102] Furthermore, in other embodiments, to improve efficiency, only the RC load of the sub-pixels in each row may be considered when determining the gate-on time for each row of sub-pixels. In this case, the n gate-on times are fixed for any frame of image data. Therefore, the n gate-on times can be predetermined so that the predetermined n gate-on times can be directly used when displaying a frame of image data.
[0103] Step 203 : determining the target row of sub-pixels requiring charge compensation among the n rows of sub-pixels based on the n gate-on times, the image data of the current frame image, and the image data of the previous frame image.
[0104] In the embodiment of the present application, when performing charge compensation, not only the difference between the image data of the previous and next frames is taken into account, but also the n gate-on times corresponding to the current frame are taken into account. Compared to performing charge compensation based solely on the deviation between the previous and current frame image data, it can more accurately determine which rows of sub-pixels in the n rows require charge compensation, thereby improving the accuracy of the LCD's charge control and thus enhancing the LCD's display quality.
[0105] In some embodiments, the implementation method for determining the target row of sub-pixels that require charging compensation in n rows of sub-pixels based on n gate-on times, image data of a current frame image, and image data of a previous frame image of the current frame image can be: determining the time taken for the liquid crystal response of each row of sub-pixels in the n rows of sub-pixels based on the n gate-on times; determining the time taken for the liquid crystal response of each row of sub-pixels in the n rows of sub-pixels based on the image data of the current frame image and image data of the previous frame image of the current frame image; and determining the target row of sub-pixels that require charging compensation in n rows of sub-pixels based on the time taken for the liquid crystal response of each row of sub-pixels in the n rows of sub-pixels and the time taken for the liquid crystal response of each row of sub-pixels in the n rows of sub-pixels.
[0106] The liquid crystal response time of each row of sub-pixels indicates the time allowed for the liquid crystal corresponding to the sub-pixels in that row to flip. The liquid crystal response time required for each row of sub-pixels indicates the time required for the liquid crystal corresponding to the sub-pixels in that row to flip to a corresponding flip angle.
[0107] For any given frame, the frame display time is fixed. Based on the aforementioned information about the LCD architecture, for the current frame, the LCD sequentially charges each of the n rows of subpixels. After charging, the liquid crystal in each row flips under the action of the charging voltage. Therefore, for any row of subpixels, the time it takes for the liquid crystal to respond can be understood as the time after the gate start time for that row of subpixels.
[0108] For example, determining the liquid crystal response time of each row of n rows of sub-pixels based on n gate-on times can be achieved by the following formula.
[0109]
[0110] Among them, frame is the frame rate, and 1 / frame indicates the frame display time of the current frame image. iIndicates the time it takes for the liquid crystal of the sub-pixel in row i to respond. j Indicates the gate-on time of the jth row of sub-pixels. That is, the time taken for the liquid crystal response of the i-th row of sub-pixels is equal to: the frame display time of the current frame image minus the sum of the gate-on times of the sub-pixels from row 0 to row i.
[0111] Figure 3 The embodiment of the present application provides a relationship between the gate-on time t of each row of n rows of sub-pixels and the liquid crystal response time Q of each row of sub-pixels. The n rows of sub-pixels include the 0th row of sub-pixels, the 1st row of sub-pixels, the 2nd row of sub-pixels, ... the n-1th row of sub-pixels.
[0112] like Figure 3 As shown, in the frame display time of the current frame image, all times except the gate-on time t0 of the 0th row sub-pixels are the liquid crystal response time Q0 of the 0th row sub-pixels, that is, the time after the gate-on time t0 of the 0th row sub-pixels in the frame display time is the liquid crystal response time Q0 of the 0th row sub-pixels. All times except the gate-on time t0 of the 0th row sub-pixels and the gate-on time t1 of the 1st row sub-pixels in the frame display time are the liquid crystal response time Q1 of the 1st row sub-pixels, that is, the time after the gate-on time t1 of the 1st row sub-pixels in the frame display time is the liquid crystal response time Q1 of the 1st row sub-pixels, and so on. n-1 The remaining time outside the sum of the time is the liquid crystal response time Q of the n-1th row of sub-pixels n-1 , that is, the gate opening time t of the sub-pixel located in the n-1th row during the frame display time n-1 The time after that is the time Q taken for the liquid crystal to respond to the sub-pixels in the n-1th row. n-1 .
[0113] Since the liquid crystals corresponding to each row of sub-pixels are flipped on the basis of the previous frame image, the method for determining the time required for the liquid crystal response of each row of sub-pixels in n rows of sub-pixels based on the image data of the current frame image and the image data of the previous frame image of the current frame image can be as follows: for the i-th row of sub-pixels in the n rows of sub-pixels, determine the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image; determine the time required for the liquid crystal response of each sub-pixel in the i-th row of sub-pixels based on the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image; determine the time required for the liquid crystal response of the i-th row of sub-pixels based on the time required for the liquid crystal response of each sub-pixel in the i-th row of sub-pixels.
[0114] Among them, based on the grayscale values of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale values of each sub-pixel in the i-th row of sub-pixels in the previous frame image, the time required for the liquid crystal response of each sub-pixel in the i-th row of sub-pixels can be determined by looking up a second mapping relationship, and the second mapping relationship indicates the correspondence between the sub-pixel grayscale values of the current frame image, the sub-pixel grayscale values of the previous frame image and the time required for the liquid crystal response.
[0115] The second mapping relationship can be measured in advance by a technician through testing, for example, can be obtained through testing with a photoelectric probe. The second mapping relationship can also be called a liquid crystal response time table.
[0116] Table 1 is a schematic diagram of a second mapping relationship provided by an embodiment of the present application. As shown in Table 1, the first row in Table 1 represents the grayscale values of the previous frame image, the first column in Table 1 represents the grayscale values of the current frame image, and each value in the middle of Table 1 represents the liquid crystal response time required for a sub-pixel at two grayscale values of the previous frame image and the current frame image.
[0117] As shown in Table 1, when the grayscale value of the sub-pixel in the previous frame image is 16 and the grayscale value in the current frame image is 32, the liquid crystal response time required for the sub-pixel is 1.985.
[0118] It should be noted that Table 1 illustrates specific values of some liquid crystal response times, and other liquid crystal response times are not given examples one by one.
[0119] Table 1
[0120]
[0121]
[0122] After determining the liquid crystal response time required for each sub-pixel in the i-th row of sub-pixels, the liquid crystal response time required for the sub-pixels in the i-th row can be determined based on the liquid crystal response time required for each sub-pixel in the i-th row of sub-pixels. For example, the maximum value of the liquid crystal response time required for each sub-pixel in the i-th row of sub-pixels can be used as the liquid crystal response time required for the sub-pixels in the i-th row of sub-pixels. Alternatively, the average value of the liquid crystal response time required for each sub-pixel in the i-th row of sub-pixels can be used as the liquid crystal response time required for the sub-pixels in the i-th row of sub-pixels.
[0123] like Figure 1As shown in the figure, when the driver IC receives the image data of the current frame sent by the AP, it compares the image data of the current frame with the image data of the previous frame. By looking up Table 1, it obtains the time required for the liquid crystal of each subpixel in the current frame to flip to the corresponding angle, that is, the liquid crystal response time. Assuming the display panel resolution is M*H, that is, i∈[0, H-1]. After comparison, the following 3*M*H data can be obtained:
[0124]
[0125] Here, f(0,0) indicates the liquid crystal response time required for the sub-pixel at row 0, column 0 in the current frame. f(H-1,0) indicates the liquid crystal response time required for the sub-pixel at row H-1, column 0 in the current frame. Similarly, the liquid crystal response time required for each sub-pixel in the current frame image is obtained.
[0126] In addition, if the current frame image received by the driver IC is the 0th frame image, the grayscale value of each sub-pixel in the 0th frame image can be compared with the 0th grayscale value to obtain the liquid crystal response time required for each sub-pixel in the 0th frame image.
[0127] In addition, in some embodiments, based on the time required for the liquid crystal response of each row of sub-pixels in n rows of sub-pixels and the time used for the liquid crystal response of each row of sub-pixels in n rows of sub-pixels, the target row of sub-pixels that need to be charged compensated may be determined as follows: for the i-th row of sub-pixels in n rows of sub-pixels, if the time required for the liquid crystal response of the i-th row of sub-pixels is greater than the time used for the liquid crystal response of the i-th row of sub-pixels, the i-th row of sub-pixels is determined as the target row of sub-pixels.
[0128] If the time required for the liquid crystal response of the i-th row sub-pixel is greater than the time used for the liquid crystal response of the i-th row sub-pixel, it means that the current liquid crystal response time cannot support the liquid crystal of the i-th row sub-pixel to flip to the corresponding flip angle. Therefore, the i-th row sub-pixel needs to be charged and compensated, that is, the i-th row sub-pixel is determined as the target row sub-pixel.
[0129] Correspondingly, if the time required for the liquid crystal response of the i-th row sub-pixel is not greater than the time used for the liquid crystal response of the i-th row sub-pixel, it indicates that the liquid crystal of the i-th row sub-pixel can be flipped to the corresponding flipping angle according to the current liquid crystal response time, and therefore there is no need to perform charging compensation on the i-th row sub-pixel.
[0130] The above method is to directly use the row sub-pixel that meets the conditions as the target row sub-pixel after comparing the time required for liquid crystal response with the time used for liquid crystal response. This method is simple to operate and easy to implement.
[0131] Optionally, in other embodiments, after comparing the liquid crystal response time and the liquid crystal response time, the row sub-pixels that meet the conditions can be further screened, and the row sub-pixels that require significant charge compensation can be prioritized as target row sub-pixels. This approach can save operations, thereby improving the efficiency of charge compensation, while also ensuring that the image is not severely distorted.
[0132] Based on this, based on the liquid crystal response time required for each row of sub-pixels in the n rows of sub-pixels and the liquid crystal response time used for each row of sub-pixels in the n rows of sub-pixels, the implementation method for determining the target row of sub-pixels that need charging compensation in the n rows of sub-pixels can be: determining the row of sub-pixels in the n rows of sub-pixels whose liquid crystal response time required is greater than the liquid crystal response time, to obtain multiple rows of sub-pixels to be compensated; based on the liquid crystal response time used for each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated and the liquid crystal response time required for each sub-pixel in each row of sub-pixels to be compensated, determining the compensation weight of each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated, the compensation weight indicating the deviation between the liquid crystal response time required for each sub-pixel in each row of sub-pixels to be compensated and the liquid crystal response time used for the corresponding row of sub-pixels to be compensated; based on the compensation weight of each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated, determining the target row of sub-pixels from the multiple rows of sub-pixels to be compensated.
[0133] For example, based on the liquid crystal response time of each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated and the liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated, the compensation weight of each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated is determined, which can be achieved by the following formula:
[0134]
[0135] Wherein, assuming that the i-th row of sub-pixels is one of the sub-pixels to be compensated, σ indicates the compensation weight of the i-th row of sub-pixels, and w indicates that the time required for the liquid crystal response of w sub-pixels in the i-th row of sub-pixels is greater than Q i f(i, k) indicates the time required for the liquid crystal of the kth sub-pixel among the w sub-pixels in the i-th row to respond.
[0136] That is, in the embodiment of the present application, the degree of deviation between the liquid crystal response time of each row of sub-pixels to be compensated and the liquid crystal response time of the sub-pixels in the row to be compensated can be determined by calculating the standard deviation σ. The larger the standard deviation σ, the more serious the problem of insufficient charging of the sub-pixels in the row to be compensated. Prioritizing charging compensation for the sub-pixels in the row to be compensated can avoid severe image distortion.
[0137] After determining the compensation weight for each row of sub-pixels to be compensated, the sub-pixels to be compensated in the row whose compensation weight exceeds a compensation weight threshold can be determined as target row sub-pixels. The compensation weight threshold can be pre-calibrated by a technician. Alternatively, the multiple compensation weights can be sorted from largest to smallest, and then the sub-pixels to be compensated in the row corresponding to the top-ranked compensation weights can be selected as target row sub-pixels. Examples are not provided here.
[0138] In addition, the above method determines the row sub-pixels requiring charge compensation by comparing the time required for the liquid crystal to respond with the time taken for the liquid crystal to respond. Optionally, in the embodiments of the present application, the row sub-pixels requiring charge compensation can also be determined by other implementation methods. For example, the theoretically variable grayscale value of each row sub-pixel can be determined based on n gate opening times, and then the grayscale value is compared with the grayscale value difference between the previous frame image and the current frame image to determine the row sub-pixels requiring charge compensation. Examples are not given here one by one.
[0139] Step 204: performing grayscale compensation on the sub-pixels in the target row to obtain compensated grayscale values of the sub-pixels in the target row.
[0140] In the embodiment of the present application, after determining the target row of sub-pixels that require charging compensation, the charging compensation can be achieved by compensating the grayscale value.
[0141] In some embodiments, grayscale compensation is performed on the target row sub-pixels to obtain the compensated grayscale value of the target row sub-pixels as follows: for any sub-pixel in the target row sub-pixels, the brightness when the liquid crystal of the sub-pixel is completely flipped to a flip angle corresponding to the grayscale value of the sub-pixel in the current frame image is determined to obtain the target brightness; based on the time taken for the liquid crystal of the sub-pixel to respond and the target brightness, it is determined to which grayscale value the sub-pixel changes from the grayscale value of the previous frame image within the time taken for the liquid crystal to respond so as to reach the target brightness, and the grayscale value is determined as the compensated grayscale value.
[0142] For any sub-pixel, as the grayscale value corresponding to the previous image frame changes to the grayscale value corresponding to the current image frame, the brightness of the sub-pixel increases as the liquid crystal response time increases. When the liquid crystal response time increases to a certain level, the brightness of the sub-pixel remains essentially unchanged. The brightness at this point can be referred to as the brightness at which the liquid crystal fully flips when the sub-pixel changes from the grayscale value corresponding to the previous image frame to the grayscale value corresponding to the current image frame, or the target brightness.
[0143] For example, when the sub-pixel changes from the grayscale value corresponding to the previous frame image to the grayscale value corresponding to the current frame image, the relationship between the brightness of the sub-pixel and the time taken for the liquid crystal to respond (hereinafter referred to as the third mapping relationship) can be expressed by the following formula:
[0144]
[0145] Wherein, Q indicates the time taken for the liquid crystal to respond, K and β are coefficients, a is the target brightness, and the time taken for the liquid crystal to respond can be found by searching the second mapping relationship shown in Table 1.
[0146] In addition, the coefficients K and β in the above formula can be obtained by technicians through testing and calibration. For example, technicians can pre-test multiple sets of data, each set of data including a liquid crystal response time and a test brightness. Assume that the test obtains b sets of data, marked as (q0, y0), (q1, y1), ..., (q b-1 ,y b-1 ). Based on these b groups of time, the coefficients K and β can be determined by the least square method. For example, the coefficients K and β can be expressed by the following formula:
[0147]
[0148] in, indicates the mean of each q, Indicates the mean of each y.
[0149] For any pair of grayscale values, the pair includes two grayscale values, one is the grayscale value in the previous frame image, and the other is the grayscale value in the current frame image. The third mapping relationship for the pair of grayscale values can be pre-tested and obtained by the above method.
[0150] After testing and obtaining third mapping relationships for different pairs of grayscale values, for any sub-pixel, a third mapping relationship corresponding to the grayscale value of the sub-pixel in the previous image frame and the grayscale value of the sub-pixel in the current image frame can be first obtained from multiple third mapping relationships. A target brightness is then determined from the obtained third mapping relationship. The system then searches for a third mapping relationship whose value a is the same as the target brightness and whose liquid crystal response time is less than or equal to the liquid crystal response time of the sub-pixel. The compensated grayscale value is then determined from the fourth mapping relationship found.
[0151] The above method can directly determine at least one target row sub-pixel and the corresponding compensated grayscale value among n rows of sub-pixels. Optionally, one target row sub-pixel can be first determined, and then the gate-on time of the target row sub-pixel can be adjusted, that is, n gate-on times can be updated. Then, the next target row sub-pixel can be determined based on the updated n gate-on times.
[0152] Based on this, in some embodiments, after grayscale compensation is performed on the target row sub-pixel and the compensated grayscale value of the target row sub-pixel is obtained, the gate-on time of the target row sub-pixel can also be reduced to update n gate-on times; for the row sub-pixel after the target row sub-pixel, the operation of returning to execute based on the n gate-on times, as well as the image data of the current frame image and the image data of the previous frame image of the current frame image, determining the target row sub-pixel that needs to be charged compensated, and performing grayscale compensation on the target row sub-pixel to obtain the compensated grayscale value of the target row sub-pixel is performed.
[0153] For the target row sub-pixel, after the grayscale value of the target row sub-pixel is compensated, that is, the grayscale value of the target row sub-pixel in the current frame image increases, the charging time of the target row sub-pixel is shortened. Therefore, the gate opening time of the target row sub-pixel can be reduced, which can increase the time it takes for the liquid crystal of the subsequent sub-pixels in other rows to respond, so that the liquid crystal of the sub-pixels in other rows can be fully flipped.
[0154] Since the target row sub-pixel is determined based on n gate-on times in the embodiment of the present application, when the gate-on time of the target row sub-pixel is reduced, it indicates that the n gate-on times have been updated. At this time, it is no longer accurate to determine whether the target row sub-pixel exists in other row sub-pixels based on the n gate-on times before the update. Therefore, after reducing the gate-on time of the target row sub-pixel, the target row sub-pixels that need to be charged compensated in the row sub-pixels after the target row sub-pixel can be determined again based on the n gate-on times, image data of the current frame image, and image data of the previous frame image.
[0155] For example, assuming the target row of sub-pixels is the HYth row, after determining the compensated grayscale value of the HYth row sub-pixels, the time it takes to charge the voltage of the HYth row sub-pixels to the target grayscale voltage becomes shorter after the grayscale value of the HYth row sub-pixels increases. Based on this, the gate-on time of the sub-pixels in this row can be adjusted, and the time it takes for the liquid crystal to respond in the subsequent rows of sub-pixels will also gradually increase. Charging compensation is performed in this manner.
[0156] The above method can realize adaptive adjustment of the time taken for liquid crystal response as the grayscale values of the sub-pixels in adjacent rows are compensated.
[0157] Step 205 : charging the n rows of sub-pixels based on the n gate-on times and the compensated grayscale values of the target row of sub-pixels.
[0158] After determining the compensated grayscale value of the target row of sub-pixels in step 204, each row of sub-pixels can be sequentially turned on based on the n gate-on times. When the target row of sub-pixels is turned on, charging can be performed according to the compensated grayscale value of the sub-pixels in that row. When the non-target row of sub-pixels is turned on, charging can be performed according to the initial grayscale value of the sub-pixels in that row.
[0159] In an embodiment of the present application, based on n gate-on times, image data of a current frame image, and image data of the previous frame image, the determination of which rows of sub-pixels require charge compensation within n rows of sub-pixels is performed, i.e., the target rows of sub-pixels requiring charge compensation are determined. Compared to performing charge compensation based solely on the deviation between the previous frame image data and the current frame image data, this method can more accurately determine which rows of sub-pixels require charge compensation within n rows of sub-pixels, thereby improving the accuracy of charge control of the liquid crystal display and thereby enhancing the display quality of the liquid crystal display.
[0160] All of the above optional technical solutions can be combined in any way to form optional embodiments of the present application, and the embodiments of the present application will not be described in detail one by one.
[0161] Figure 4 1 is a schematic diagram of a driving circuit of a liquid crystal display provided by an embodiment of the present application. The liquid crystal display includes n rows of sub-pixels distributed in an array, where n is an integer greater than 1. Figure 4 As shown, the driving circuit 400 may include the following parts.
[0162] The timing controller 401 is used to obtain image data of the current frame image to be displayed by the liquid crystal display;
[0163] The timing controller 401 is used to determine n gate opening times corresponding to the current frame image;
[0164] The timing controller 401 is configured to determine the target row of sub-pixels requiring charge compensation among the n rows of sub-pixels based on the n gate-on times, the image data of the current frame image, and the image data of the previous frame image.
[0165] The timing controller 401 is used to perform grayscale compensation on the sub-pixels in the target row to obtain compensated grayscale values of the sub-pixels in the target row;
[0166] The gate driving circuit 402 and the source driving circuit 403 are used to charge n rows of sub-pixels based on n gate-on times and the compensated grayscale values of the sub-pixels in the target row.
[0167] The timing controller 401, the gate drive circuit 402 and the source drive circuit 403 can be integrated on one chip. In this case, the drive circuit 400 is also Figure 1In this scenario, the timing controller 401 and Figure 1 The timing controller 021 in the embodiment can be understood as the same circuit, the gate drive circuit 402 and Figure 1 The gate drive circuit 022 in the figure can be understood as the same circuit, and the source drive circuit 403 and Figure 1 The source driving circuit 023 in the figure can be understood as the same circuit.
[0168] Optionally, the timing controller 401, the gate driver circuit 402, and the source driver circuit 403 can be implemented by different chips. In this scenario, the driver circuit 400 can be understood as a large circuit composed of circuits on different chips.
[0169] Optionally, the timing controller 401 is configured to:
[0170] Determining the resistance and capacitance RC load of each row of sub-pixels in the n rows of sub-pixels;
[0171] Determining, based on image data of a current frame image, a charging voltage of each sub-pixel in each row of n rows of sub-pixels;
[0172] Based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels, the gate opening time of each row of sub-pixels in the n rows of sub-pixels is determined to obtain n gate opening times.
[0173] Optionally, the timing controller 401 is configured to:
[0174] For the i-th row of sub-pixels in the n-rows of sub-pixels, determining a charging time for each sub-pixel in the i-th row of sub-pixels based on the RC load of the i-th row of sub-pixels and the charging voltage of each sub-pixel in the i-th row of sub-pixels, where the charging time is the time required to charge the corresponding sub-pixel to the corresponding charging voltage;
[0175] The gate-on time of the sub-pixels in the i-th row is determined based on the charging time of each sub-pixel in the i-th row of sub-pixels.
[0176] Optionally, the timing controller 401 is configured to:
[0177] Determining a liquid crystal response time of each row of n rows of sub-pixels based on the n gate-on times;
[0178] Determining a liquid crystal response time of each row of n rows of sub-pixels based on image data of a current frame image and image data of a previous frame image of the current frame image;
[0179] Based on the liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and the liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels, a target row of sub-pixels in the n rows of sub-pixels requiring charge compensation is determined.
[0180] Optionally, the timing controller 401 is configured to:
[0181] For the i-th row of sub-pixels in the n-rows of sub-pixels, determine the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image;
[0182] Determining a liquid crystal response time for each sub-pixel in the i-th row of sub-pixels based on the grayscale values of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale values of each sub-pixel in the i-th row of sub-pixels in the previous frame image;
[0183] The time required for liquid crystal response of the sub-pixels in the i-th row is determined based on the time required for liquid crystal response of each sub-pixel in the i-th row of sub-pixels.
[0184] Optionally, the timing controller 401 is configured to:
[0185] For the i-th row of sub-pixels among n rows of sub-pixels, if the liquid crystal response time of the i-th row of sub-pixels is greater than the liquid crystal response time of the i-th row of sub-pixels, the i-th row of sub-pixels is determined as the target row of sub-pixels.
[0186] Optionally, the timing controller 401 is configured to:
[0187] Determine the rows of sub-pixels whose liquid crystal response time is longer than the liquid crystal response time in the n rows of sub-pixels, and obtain multiple rows of sub-pixels to be compensated;
[0188] determining a compensation weight for each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated based on a liquid crystal response time of each row of sub-pixels to be compensated and a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated, the compensation weight indicating a deviation between a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated and a liquid crystal response time of the corresponding row of sub-pixels to be compensated;
[0189] Based on the compensation weight of each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated, a target row of sub-pixels is determined from the plurality of rows of sub-pixels to be compensated.
[0190] Optionally, the timing controller 401 is further configured to:
[0191] reducing the gate-on time of the sub-pixels in the target row to update n gate-on times;
[0192] For the row sub-pixels following the target row sub-pixel, the operation returns to execute based on n gate opening times, image data of the current frame image, and image data of the previous frame image of the current frame image, determines the target row sub-pixels that need to be charged compensated, and performs grayscale compensation on the target row sub-pixels to obtain the compensated grayscale value of the target row sub-pixels.
[0193] In summary, in the embodiments of the present application, based on n gate-on times, image data of the current frame image, and image data of the previous frame image, the determination of which rows of sub-pixels in the n rows of sub-pixels require charge compensation, i.e., the target rows of sub-pixels requiring charge compensation, are determined. Compared to performing charge compensation based solely on the deviation between the previous frame image data and the current frame image data, this more accurately determines which rows of sub-pixels in the n rows of sub-pixels require charge compensation, thereby improving the accuracy of charge control of the liquid crystal display and thereby enhancing the display quality of the liquid crystal display.
[0194] It should be noted that the driving circuit provided in the above embodiment is merely an example of the division of the functional modules described above for charging control. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the driving circuit provided in the above embodiment and the embodiment of the charging control method for a liquid crystal display are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0195] Figure 5 This is a block diagram of the structure of a terminal provided in an embodiment of the present application. The liquid crystal display in the aforementioned embodiment is integrated into this terminal. Terminal 500 can be: a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, or a desktop computer. Terminal 500 may also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
[0196] Typically, the terminal 500 includes a processor 501 and a memory 502 .
[0197] The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0198] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store at least one instruction, which is executed by the processor 501 to implement the charging control method for the liquid crystal display provided in the method embodiment of the present application.
[0199] In some embodiments, terminal 500 may optionally include a peripheral device interface 503 and at least one peripheral device. Processor 501, memory 502, and peripheral device interface 503 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 503 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507, a positioning assembly 508, and a power supply 509.
[0200] The peripheral device interface 503 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0201] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 504 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 504 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0202] The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, or any combination thereof. When the display screen 505 is a touch screen display, the display screen 505 is also capable of collecting touch signals on or above the surface of the display screen 505. The touch signals can be input as control signals to the processor 501 for processing. In this case, the display screen 505 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there can be one display screen 505, provided on the front panel of the terminal 500; in other embodiments, there can be at least two display screens 505, provided on different surfaces of the terminal 500 or in a foldable design; in other embodiments, the display screen 505 can be a flexible display, provided on a curved or foldable surface of the terminal 500. The display screen 505 can even be provided in a non-rectangular, irregular shape, i.e., a special-shaped screen. The display screen 505 can be made of materials such as LCD (Liquid Crystal Display).
[0203] The camera assembly 506 is used to capture images or videos. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 506 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0204] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 501 for processing, or input into the radio frequency circuit 504 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each disposed at different locations on the terminal 500. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 507 may also include a headphone jack.
[0205] Positioning component 508 is used to locate the current geographic location of terminal 500 to implement navigation or LBS (Location Based Service). Positioning component 508 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Greninja system, or the European Union's Galileo system.
[0206] Power supply 509 is used to power various components in terminal 500. Power supply 509 can be AC power, DC power, disposable batteries, or rechargeable batteries. When power supply 509 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0207] In some embodiments, the terminal 500 further includes one or more sensors 510 , including but not limited to: an acceleration sensor 511 , a gyroscope sensor 512 , a pressure sensor 513 , a fingerprint sensor 514 , an optical sensor 515 , and a proximity sensor 516 .
[0208] The accelerometer 511 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal 500. For example, the accelerometer 511 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 501 can control the display screen 505 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 511. The accelerometer 511 can also be used to collect game or user motion data.
[0209] The gyroscope sensor 512 can detect the orientation and rotation angle of the terminal 500. The gyroscope sensor 512 can work with the acceleration sensor 511 to collect the user's 3D movements on the terminal 500. Based on the data collected by the gyroscope sensor 512, the processor 501 can implement the following functions: motion sensing (for example, changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0210] The pressure sensor 513 can be set on the side frame of the terminal 500 and / or the lower layer of the display screen 505. When the pressure sensor 513 is set on the side frame of the terminal 500, it can detect the user's grip signal of the terminal 500, and the processor 501 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 513. When the pressure sensor 513 is set on the lower layer of the display screen 505, the processor 501 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0211] The fingerprint sensor 514 is used to collect the user's fingerprint. The processor 501 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the user's identity based on the collected fingerprint. When the user's identity is recognized as a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations, such as unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 514 can be set on the front, back, or side of the terminal 500. When a physical button or manufacturer logo is provided on the terminal 500, the fingerprint sensor 514 can be integrated with the physical button or manufacturer logo.
[0212] The optical sensor 515 is used to detect ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 based on the ambient light intensity detected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is decreased. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera assembly 506 based on the ambient light intensity detected by the optical sensor 515.
[0213] Proximity sensor 516, also known as a distance sensor, is typically located on the front panel of terminal 500. Proximity sensor 516 is used to detect the distance between the user and the front of terminal 500. In one embodiment, when proximity sensor 516 detects that the distance between the user and the front of terminal 500 is gradually decreasing, processor 501 controls display screen 505 to switch from the screen-on state to the screen-off state. When proximity sensor 516 detects that the distance between the user and the front of terminal 500 is gradually increasing, processor 501 controls display screen 505 to switch from the screen-off state to the screen-on state.
[0214] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the terminal 500, and the terminal 500 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0215] An embodiment of the present application further provides a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the charging control method for a liquid crystal display provided in the above embodiment.
[0216] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a terminal, enables the terminal to execute the charging control method for a liquid crystal display provided in the above embodiment.
[0217] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0218] The above description is only a preferred embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of this application.
Claims
1. A charging control method for a liquid crystal display, characterized in that: The liquid crystal display comprises n rows of sub-pixels distributed in an array, where n is an integer greater than 1; and the method comprises: Acquiring image data of a current frame image to be displayed on the liquid crystal display; Determining n gate opening times corresponding to the current frame image; determining, based on the n gate-on times, image data of the current frame image and image data of a previous frame image of the current frame image, a target row of sub-pixels requiring charge compensation among the n rows of sub-pixels; Performing grayscale compensation on the target row sub-pixels to obtain compensated grayscale values of the target row sub-pixels; charging the n rows of sub-pixels based on the n gate-on times and the compensated grayscale values of the target row of sub-pixels; The step of determining n gate opening times corresponding to the current frame image includes: Determining the resistance and capacitance RC load of each row of sub-pixels in the n rows of sub-pixels; determining, based on the image data of the current frame image, a charging voltage of each sub-pixel in each row of sub-pixels in the n rows of sub-pixels; Based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels, the gate opening time of each row of sub-pixels in the n rows of sub-pixels is determined to obtain the n gate opening times.
2. The method according to claim 1, wherein The determining, based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels, a gate-on time of each row of sub-pixels in the n rows of sub-pixels comprises: For the i-th row of sub-pixels in the n rows of sub-pixels, determining a charging time for each sub-pixel in the i-th row of sub-pixels based on an RC load of the i-th row of sub-pixels and a charging voltage of each sub-pixel in the i-th row of sub-pixels, where the charging time is a time required to charge the corresponding sub-pixel to a corresponding charging voltage; The gate-on time of the sub-pixels in the i-th row is determined based on the charging time of each sub-pixel in the i-th row of sub-pixels.
3. The method according to claim 1, wherein The determining, based on the n gate-on times, the image data of the current frame image and the image data of the previous frame image of the current frame image, of target row sub-pixels requiring charge compensation in the n rows of sub-pixels comprises: Determining a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels based on the n gate-on times; determining, based on image data of the current frame image and image data of a previous frame image of the current frame image, a liquid crystal response time required for each row of sub-pixels in the n rows of sub-pixels; Based on the liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and the liquid crystal response time used by each row of sub-pixels in the n rows of sub-pixels, a target row of sub-pixels in the n rows of sub-pixels requiring charging compensation is determined.
4. The method according to claim 3, wherein The determining, based on the image data of the current frame image and the image data of the previous frame image of the current frame image, the liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels includes: For the i-th row of sub-pixels in the n rows of sub-pixels, determining the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image; Determining a liquid crystal response time for each sub-pixel in the i-th row of sub-pixels based on the grayscale value of each sub-pixel in the i-th row of sub-pixels in the current frame image and the grayscale value of each sub-pixel in the i-th row of sub-pixels in the previous frame image; The time required for liquid crystal response of the sub-pixels in the i-th row is determined based on the time required for liquid crystal response of each sub-pixel in the i-th row of sub-pixels.
5. The method according to claim 3, wherein The determining of a target row of sub-pixels in the n rows of sub-pixels requiring charge compensation based on a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels comprises: For the i-th row of sub-pixels in the n rows of sub-pixels, if the liquid crystal response time of the i-th row of sub-pixels is greater than the liquid crystal response time of the i-th row of sub-pixels, the i-th row of sub-pixels is determined as the target row of sub-pixels.
6. The method according to claim 3, wherein The determining of a target row of sub-pixels in the n rows of sub-pixels requiring charge compensation based on a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels comprises: Determine the rows of sub-pixels in which the time required for the liquid crystal to respond is longer than the time used for the liquid crystal to respond, and obtain multiple rows of sub-pixels to be compensated; determining, based on a liquid crystal response time of each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated and a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated, a compensation weight for each row of sub-pixels to be compensated in the plurality of rows of sub-pixels to be compensated, the compensation weight indicating a deviation between a liquid crystal response time of each sub-pixel in each row of sub-pixels to be compensated and a liquid crystal response time of the corresponding row of sub-pixels to be compensated; The target row of sub-pixels is determined from the multiple rows of sub-pixels to be compensated based on the compensation weight of each row of sub-pixels to be compensated in the multiple rows of sub-pixels to be compensated.
7. The method according to claim 1, wherein After performing grayscale compensation on the target row sub-pixels to obtain compensated grayscale values of the target row sub-pixels, the method further includes: reducing the gate-on time of the sub-pixels in the target row to update the n gate-on times; For the row sub-pixels following the target row sub-pixel, the operation returns to execute the operation based on the n gate opening times, the image data of the current frame image, and the image data of the previous frame image of the current frame image, to determine the target row sub-pixels that need to be charged compensated, and to perform grayscale compensation on the target row sub-pixels to obtain the compensated grayscale value of the target row sub-pixels.
8. A driving circuit for a liquid crystal display, characterized in that: The liquid crystal display comprises n rows of sub-pixels distributed in an array, where n is an integer greater than 1; and the driving circuit comprises: A timing controller, configured to obtain image data of a current frame image to be displayed on the liquid crystal display; The timing controller is further configured to determine n gate opening times corresponding to the current frame image; The timing controller is configured to determine a target row of sub-pixels requiring charge compensation among the n rows of sub-pixels based on the n gate-on times, image data of the current frame image, and image data of a previous frame image of the current frame image; The timing controller is further configured to perform grayscale compensation on the sub-pixels in the target row to obtain compensated grayscale values of the sub-pixels in the target row; The gate driving circuit and the source driving circuit are further configured to charge the n rows of sub-pixels based on the n gate opening times and the compensated grayscale values of the target row of sub-pixels; Wherein, the timing controller is used for: Determining the resistance and capacitance RC load of each row of sub-pixels in the n rows of sub-pixels; determining, based on the image data of the current frame image, a charging voltage of each sub-pixel in each row of sub-pixels in the n rows of sub-pixels; Based on the RC load of each row of sub-pixels in the n rows of sub-pixels and the charging voltage of each sub-pixel in each row of sub-pixels, the gate opening time of each row of sub-pixels in the n rows of sub-pixels is determined to obtain the n gate opening times.
9. The driving circuit according to claim 8, wherein: The timing controller is used for: Determining a liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels based on the n gate-on times; determining, based on image data of the current frame image and image data of a previous frame image of the current frame image, a liquid crystal response time required for each row of sub-pixels in the n rows of sub-pixels; Based on the liquid crystal response time of each row of sub-pixels in the n rows of sub-pixels and the liquid crystal response time used by each row of sub-pixels in the n rows of sub-pixels, a target row of sub-pixels in the n rows of sub-pixels requiring charging compensation is determined.
10. The driving circuit according to claim 8, wherein: The timing controller is further configured to: reducing the gate-on time of the sub-pixels in the target row to update the n gate-on times; For the row sub-pixels following the target row sub-pixel, the operation returns to execute the operation based on the n gate opening times, the image data of the current frame image, and the image data of the previous frame image of the current frame image, to determine the target row sub-pixels that need to be charged compensated, and to perform grayscale compensation on the target row sub-pixels to obtain the compensated grayscale value of the target row sub-pixels.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Time sequence controller, driving control method, gate driving circuit and method
CN104766577A
Liquid crystal display and driving compensation method and device thereof
CN111816136A