Display device and control method and equipment thereof
By adjusting the total number of horizontal pixels and the gate high-level voltage in the display device, the screen tearing problem caused by the mismatch between the P2P signal rate and the GDL signal rate in large-size high refresh rate TVs was solved, achieving matching of transmission rates and improvement of display quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-30
- Publication Date
- 2026-03-10
AI Technical Summary
When playing high refresh rate games on a large-screen high refresh rate TV connected to a console, the mismatch between the P2P signal rate and the GDL signal rate on the TV causes severe screen tearing, affecting the user's gaming experience.
By acquiring the current refresh rate of the display device, the transmission rates of the timing controller and the power management module are calculated, and when they are not equal, the total number of horizontal pixels in the timing controller is adjusted so that the transmission rate of the timing controller approaches the transmission rate of the power management module. At the same time, the gate high-level voltage is adjusted to match the rates of the two.
It effectively reduces or eliminates screen tearing, improves display quality, and ensures matching transmission rates.
Smart Images

Figure CN121640945A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of display, and in particular, to a display device and a control method and apparatus thereof. BACKGROUND
[0002] At present, large-size high-refresh-rate televisions are developing rapidly on the market, and the refresh rate has reached 165Hz (Hertz). However, when the television is connected to a host computer for high-refresh-rate gaming, the P2P (Point-to-Point) signal rate (for example, the rate of the timing signal output by the TCON (Timing Controller)) and the GDL (Gate Driver Logic) signal rate in the television do not match, which will cause serious screen tearing, seriously affecting the customer's gaming experience. Therefore, there is currently a technical problem of serious screen tearing.
[0003] The above content is only used to assist in understanding the technical solutions of the embodiments of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY
[0004] The main purpose of the embodiments of the present application is to provide a display device and a control method and apparatus thereof, aiming to solve the technical problem of serious screen tearing.
[0005] To achieve the above-mentioned purpose, the embodiments of the present application provide a control method of a display device, comprising:
[0006] obtaining a target refresh rate of the display device, and determining a first transmission rate of a timing controller in the display device for outputting a timing signal at a set number of total horizontal pixels based on the target refresh rate; obtaining a second transmission rate of a power management module in the display device for outputting a gate drive signal; if the first transmission rate is not equal to the second transmission rate, adjusting the number of total horizontal pixels in the timing controller to adjust the first transmission rate, so that the adjusted first transmission rate approaches the second transmission rate.
[0007] In an embodiment, the step of determining the first transmission rate of the timing controller in the display device for outputting the timing signal at the set number of total horizontal pixels based on the target refresh rate comprises: obtaining the number of total vertical pixels, the number of three-color channels, the number of channel bits, the encoding conversion rate in the display device, and the number of drivers in the display device receiving the timing signal output by the timing controller; The first transmission rate is calculated based on the target refresh rate, the total number of horizontal pixels, the total number of vertical pixels, the number of three primary color channels, the number of channel bits, the number of the drivers, and the encoding conversion rate.
[0008] In an embodiment, the control method of the display device further comprises: detecting a gate driving signal output by the power management module; counting a number of pulses generated by the gate driving signal within a preset time length; determining that the first transmission rate is not equal to the second transmission rate in a case where the number of pulses is not equal to a target number of the target refresh rate within the preset time length.
[0009] In an embodiment, the step of adjusting the number of the total number of horizontal pixels in the timing controller comprises: calculating a product of a second transmission rate and the number of the total number of horizontal pixels currently set by the timing controller to obtain an equivalent transmission rate; obtaining a target total number of pixels based on a ratio of the equivalent transmission rate to a target refresh rate; adjusting the number of the total number of horizontal pixels in the timing controller to the target total number of pixels to adjust the first transmission rate.
[0010] In an embodiment, the display device further comprises a display panel, and after the step of adjusting the number of the total number of horizontal pixels in the timing controller, the display device further comprises: adjusting a gate high voltage input to a gate line in the display panel.
[0011] In an embodiment, the display panel is provided with a test pixel, and the step of adjusting the gate high voltage input to the gate line in the display panel comprises: periodically applying a preset test voltage to the test pixel, and detecting a pixel voltage of a pixel electrode in the test pixel in a charging process of the test pixel in a current period; determining a voltage error based on the preset test voltage and the pixel voltage; calculating a voltage adjustment amount according to the voltage error, a historical voltage cumulative error of the test pixel obtained, a change rate of the voltage error relative to an error of a last period, a preset proportional coefficient, a preset integral coefficient, and a preset differential coefficient; adjusting the gate high voltage based on the voltage adjustment amount.
[0012] In addition, to achieve the above object, the embodiment further provides a display device, which comprises a timing controller, a power management module, and a rate detection module, wherein the rate detection module is connected to the timing controller and the power management module. The timing controller is configured to acquire a target refresh rate of the display device, and determine a first transmission rate of the timing controller for outputting a timing signal under a set total number of horizontal pixels based on the target refresh rate. The rate detection module is configured to detect a second transmission rate of the power management module for outputting a gate driving signal. The timing controller is further configured to adjust the total number of horizontal pixels to adjust the first transmission rate to approach the second transmission rate in a case where the first transmission rate and the second transmission rate are not equal.
[0013] In an embodiment, the rate detection module includes a pulse detection unit, a timing unit, a counter unit, and a comparator. The detection end of the pulse detection unit is connected to a port of the power management module for outputting a gate driving signal, the output end of the pulse detection unit is connected to the input end of the timing unit, the output end of the timing unit is connected to the input end of the counter unit, the input end of the counter unit is connected to the first input end of the comparator, the second input end of the comparator is connected to a target number, and the output end of the comparator is connected to the timing controller. The pulse detection unit is configured to detect a pulse of the gate driving signal, the timing unit is configured to monitor a detection duration of the pulse detection unit for detecting the pulse, and in a case where the detection duration reaches a preset duration, the pulse detection unit is configured to send all the pulses detected in the preset duration to the counter unit. The counter unit is configured to count a number of pulses detected in the preset duration. The comparator is configured to compare the number of pulses and the target number, and input a comparison result to the timing controller.
[0014] In an embodiment, the display device further includes a display panel and a voltage test module, the voltage test module is arranged on the display panel, and the voltage test module includes a test pixel, a voltage control unit, and a voltage detection unit. The voltage application end of the voltage control unit is connected to a port of the test pixel connected to a data line, the detection end of the voltage detection unit is connected to a pixel electrode of the test pixel, the output end of the voltage detection end is connected to the voltage receiving end of the voltage control unit, and the voltage compensation end of the voltage control unit is connected to an input end of the power management module. The voltage control unit is configured to periodically apply a preset test voltage to the test pixel, and the voltage detection unit is configured to detect a pixel voltage of the pixel electrode of the test pixel in a charging process of the test pixel in a current period. The voltage control unit is used to calculate the voltage error of the test pixel in the current cycle based on the pixel voltage and the preset test voltage. It is also used to calculate the voltage adjustment amount based on the voltage error, the historical cumulative voltage error of the test pixel, the error change rate of the voltage error relative to the previous cycle, the preset proportional coefficient, the preset integral coefficient, and the preset differential coefficient, and send the voltage adjustment amount to the power management module. The power management module is used to adjust the gate high-level voltage input to the gate line in the display panel based on the voltage adjustment amount.
[0015] Furthermore, to achieve the above objectives, this application also provides a display device, which includes: a memory, a processor, and a program for a control method of the display device stored in the memory and executable on the processor. When the program for the control method of the display device is executed by the processor, it can implement the steps of the control method of the display device as described above.
[0016] Furthermore, to achieve the above objectives, embodiments of this application also provide a computer-readable storage medium storing a program for implementing a control method for a display device. When the program for the control method for the display device is executed by a processor, it implements the steps of the control method for the display device as described above.
[0017] In addition, to achieve the above objectives, this application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the control method for the display device as described above.
[0018] One or more technical solutions proposed in this application have at least the following technical effects: This application can obtain the current refresh rate of the display device, and can also determine the first transmission rate of the timing signal output by the timing controller in the display device under the current horizontal total number of pixels based on the current refresh rate, and can also obtain the second transmission rate of the gate drive signal output by the power management module in the display device; thus, when the first transmission rate and the second transmission rate are not equal, the number of horizontal total pixels in the timing controller can be adjusted, thereby realizing the adjustment of the first transmission rate. Since the first transmission rate is related to the horizontal total number of pixels, in this embodiment, by adjusting the number of horizontal total pixels, the first transmission rate can be adjusted so that the first transmission rate approaches the second transmission rate, thereby reducing the phenomenon of screen tearing. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with those described herein and, together with the specification, serve to explain the principles of those embodiments.
[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a schematic flowchart of one embodiment of the control method for the display device according to this application. Figure 2 This is a schematic flowchart illustrating an example of a control method for a display device according to an embodiment of this application. Figure 3 This is a schematic diagram of the display device modules according to an embodiment of this application; Figure 4 This is a schematic diagram showing the module connection of the rate detection module in the display device according to an embodiment of this application; Figure 5 This is a schematic diagram showing the module connection of the voltage testing module in the display device according to an embodiment of this application; Figure 6 This is a schematic diagram of the hardware operating environment involved in the control method of the display device in the embodiments of this application. Attached image description: 100. Timing controller; 200. Rate detection module; 300. Power management module; 210. Pulse detection unit; 220. Timing unit; 230. Counter unit; 240. Comparator; MS, Target quantity; 400. Voltage test module; 410. Voltage control unit; 420. Test pixel; 430. Voltage detection unit; 500. Display panel.
[0023] The objectives, features, and advantages of the embodiments described in this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0024] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of the embodiments of this application and are not intended to limit the embodiments of this application.
[0025] To better understand the technical solutions of the embodiments of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0026] Currently, large-screen high refresh rate TVs are developing rapidly, with refresh rates reaching 165Hz. However, when playing high refresh rate games on a TV connected to a console, a mismatch occurs between the P2P signal rate (e.g., the rate of the TCON output timing signal) and the GDL (gate drive circuit) signal rate, resulting in screen tearing and severely impacting the gaming experience. Therefore, screen tearing is a current technical issue.
[0027] Therefore, this embodiment provides a control method for a display device. This embodiment can obtain the current target refresh rate of the display device, calculate the first transmission rate (P2P rate) based on the target refresh rate, and also obtain the second transmission rate (GDL rate). Then, when the first transmission rate is not equal to the second transmission rate, the number of horizontal total pixels in the timing controller can be adjusted, thereby adjusting the first transmission rate so that the adjusted first transmission rate approaches the second transmission rate, so that the P2P rate matches the GDL rate. This can solve the problem of screen tearing caused by the mismatch between the P2P rate and the GDL rate and improve the display quality.
[0028] Based on this, embodiments of this application provide a control method for a display device, referring to... Figure 1 , Figure 1 This is a flowchart illustrating one embodiment of the control method for a display device according to this application. The control method for the display device includes steps S10 to S30: Step S10: Obtain the current target refresh rate of the display device; based on the target refresh rate, determine the first transmission rate of the timing signal output by the timing controller in the display device under the set horizontal total number of pixels. It should be noted that the current target refresh rate of the display device is the current refresh rate of the display device. For example, when the maximum refresh rate of the display device is 165Hz, the target refresh rate can be 165Hz. In other embodiments, the target refresh rate can be the actual refresh rate output by the display device, which can be less than the maximum refresh rate of the display device. This embodiment does not specifically limit this. In this embodiment, the execution subject is described using the display device. The display device can be a television, a tablet, or any device capable of displaying information, etc., and this embodiment does not specifically limit this.
[0029] The timing controller is TCON, and the total horizontal pixel count is Htotal. The set total horizontal pixel count is stored in TCON, and TCON can generate timing signals based on the set total horizontal pixel count. In this embodiment, an Htotal buffer can also be reserved in TCON. That is, if the total horizontal pixel count set in TCON is Y1, this embodiment can configure an Htotal buffer on top of Y1, which facilitates the subsequent increase of Htotal to increase the P2P rate. The size of the Htotal buffer can be set according to the actual situation, and this embodiment does not make a specific limitation on it. For example, the size of the Htotal buffer can be 50 or 60, etc. This embodiment does not make a specific limitation on it.
[0030] The first transmission rate is the P2P rate. The timing signal generated by TCON can be sent to the driver IC (Driver Integrated Circuit) in the display device. The display device also includes a display panel. The driver IC can be connected to the pixels in the display panel to drive the pixels to display.
[0031] For example, the current target refresh rate of the display device can be obtained. For instance, the target refresh rate can be directly obtained from the timing controller in the display device, and the refresh rate set in the timing controller can be used as the target refresh rate. Based on the target refresh rate, a first transmission rate of the timing controller at a set horizontal total pixels can be calculated.
[0032] Step S20: Obtain the second transmission rate of the gate drive signal output by the power management module in the display device; It should be noted that the gate drive signal is GDL, the second transmission rate is the GDL rate, and the power management module is PMIC (Power Management Integrated Circuit).
[0033] For example, the gate drive signal output by the power management module can be detected to obtain the second transmission rate.
[0034] Step S30: If the first transmission rate is not equal to the second transmission rate, adjust the number of horizontal total pixels in the timing controller to adjust the first transmission rate so that the adjusted first transmission rate approaches the second transmission rate.
[0035] It should be noted that when the first transmission rate is equal to the second transmission rate, it means that there will be no screen tearing on the display device, so the total number of horizontal pixels does not need to be adjusted.
[0036] When the first transmission rate is not equal to the second transmission rate, screen tearing may occur in the display device. Therefore, in this embodiment, the first transmission rate is adjusted by changing the total number of horizontal pixels, thereby making the first transmission rate closer to the second transmission rate and reducing screen tearing. In a possible embodiment, adjusting the first transmission rate can also make it equal to the second transmission rate, thus eliminating screen tearing. This is because the first transmission rate is related to the total number of horizontal pixels; therefore, adjusting the total number of horizontal pixels can adjust the first transmission rate to reduce screen tearing.
[0037] In this embodiment, when the absolute value of the difference between the first transmission rate and the second transmission rate is within a preset approach range, it is determined that the first transmission rate is approaching the second transmission rate. The preset approach range can be set based on actual conditions. For example, the preset approach range can include 0 to a preset approach threshold. For instance, the preset approach range can be represented as [0, Yz], where Yz is the preset approach threshold, which can be 0.5%. In other embodiments, the preset approach threshold can also be set to 1% or 0.8%, etc. This embodiment does not specifically limit this; it can be set based on actual conditions. When the absolute value of the difference between the first transmission rate and the second transmission rate is not within the preset approach range, it is considered that the first transmission rate is not approaching the second transmission rate.
[0038] For example, when the first transmission rate is not equal to the second transmission rate, the number of horizontal total pixels in the timing controller is adjusted to adjust the first transmission rate so that the adjusted first transmission rate approaches the second transmission rate. In other embodiments, the number of horizontal total pixels can also be adjusted when the absolute value of the difference between the first and second transmission rates is greater than or equal to a preset tearing threshold. The preset tearing threshold can be set based on actual conditions, and this embodiment does not specifically limit it. When the absolute value of the difference between the first and second transmission rates is less than the preset tearing threshold, the number of horizontal total pixels may not be adjusted. If the absolute value of the difference between the adjusted first and second transmission rates is still greater than or equal to the preset tearing threshold, the number of horizontal total pixels can continue to be adjusted until the absolute value of the difference between the adjusted first and second transmission rates is less than the preset tearing threshold.
[0039] In other embodiments, if the adjusted first transmission rate is not equal to the second transmission rate, the number of horizontal total pixels can be adjusted until the adjusted first transmission rate equals the second transmission rate. If the number of adjustments to the horizontal total pixels exceeds a preset adjustment threshold, the adjustment of the horizontal total pixels is stopped to avoid an infinite loop. The preset adjustment threshold can also be set based on actual conditions. Because the horizontal total pixels are integers, the adjustment of the horizontal total pixels is also an integer adjustment. Therefore, there may still be a small difference between the adjusted first transmission rate and the second transmission rate.
[0040] This embodiment can obtain the current refresh rate of the display device, and based on the current refresh rate, determine the first transmission rate of the timing signal output by the timing controller in the display device at the current total number of horizontal pixels. It can also obtain the second transmission rate of the gate drive signal output by the power management module in the display device. Therefore, when the first transmission rate and the second transmission rate are not equal, the number of total horizontal pixels in the timing controller can be adjusted, thereby adjusting the first transmission rate. Since the first transmission rate is related to the total number of horizontal pixels, in this embodiment, by adjusting the number of total horizontal pixels, the first transmission rate can be adjusted so that the first transmission rate approaches the second transmission rate, thereby reducing screen tearing.
[0041] In a feasible embodiment, step S10 further includes steps S11 to S12: Step S11: Obtain the total number of vertical pixels, the number of primary color channels, the number of channel bits, the encoding conversion rate, and the number of drivers in the display device that receive timing signals output by the timing controller. Step S12: Calculate the first transmission rate based on the target refresh rate, the total number of horizontal and vertical pixels, the number of primary color channels, the number of channel bits, the number of drivers, and the encoding conversion rate.
[0042] It should be noted that the total vertical pixel count is Vtotal, which refers to the total number of rows contained in the vertical direction (one frame) of the display device. The number of primary color channels refers to the RGB (red, green, and blue) channels, which are typically 3. The channel bit count refers to the number of bits of data used to represent the color intensity for each color channel (such as R, G, or B channels). The channel bit count can be 8 bits. The encoding conversion rate is the ratio of the original data volume to the actual transmitted data volume. For example, in this embodiment, the encoding conversion rate can be 9 / 8, and the driver is a driver IC.
[0043] For example, the formula for calculating the first transmission rate can be found in Formula 1: (Formula 1); in, For the first transmission rate, The set total number of horizontal pixels. This represents the total number of pixels vertically. The number of channels for the three primary colors. Number of channels (bits) For the target refresh rate, For the number of drives, This refers to the encoding conversion rate.
[0044] Therefore, the total number of horizontal pixels affects the first transmission rate, which makes it easier to adjust the total number of horizontal pixels in the future to increase the first transmission rate.
[0045] In a feasible embodiment, the control method for the display device further includes steps A10 to A30: Step A10: Detect the gate drive signal output by the power management module; Step A20: Count the number of pulses generated by the gate drive signal within a preset time period; Step A30: If the number of pulses is not equal to the target number of times the target refresh rate is within a preset time, determine that the first transmission rate is not equal to the second transmission rate.
[0046] It should be noted that the number of pulses of the gate drive signal output by the power management module within a preset duration can be detected. The preset duration can be set based on the actual situation. This embodiment does not make a specific limitation on this. In this embodiment, the pulses generated by the gate drive signal can be detected by a D flip-flop, which makes it easier to count the number of pulses generated within the preset duration.
[0047] The number of pulses divided by the preset duration is actually the second transmission rate. In this embodiment, the rate of the STV (Start Pulse for Vertical scan) signal in the GDL can be detected and the rate of the STV signal can be used as the second transmission rate. For example, in this embodiment, detecting the gate drive signal output by the power management module is actually detecting the STV signal in the GDL.
[0048] The target number refers to the number of pulses generated within a preset duration at the target refresh rate. If the number of pulses is not equal to the target number, it indicates that the first transmission rate is not equal to the second transmission rate. The first transmission rate is equivalent to the data transmission rate expected by the timing controller, while the second transmission rate is equivalent to the actual data transmission rate from the power management module to the display panel. When the first transmission rate is based on the target refresh rate, but the number of pulses corresponding to the second transmission rate is not actually equal to the target number corresponding to the target refresh rate, it indicates that the first transmission rate and the second transmission rate are not equal.
[0049] For example, the STV signal in the gate drive signal output by the power management module is detected, and the number of pulses within a preset time period is determined. If the number of pulses is not equal to the target number, it is determined that the first transmission rate is not equal to the second transmission rate. This embodiment can detect the gate drive signal, thereby facilitating subsequent detection of whether the first transmission rate is equal to the second transmission rate, so as to adjust the total number of horizontal pixels in a timely manner and reduce the problem of screen tearing.
[0050] In a feasible embodiment, step S30 further includes steps S31 to S33: Step S31: Calculate the product of the second transmission rate and the total number of horizontal pixels currently set by the timing controller to obtain the equivalent transmission rate; It should be noted that in this embodiment, when a discrepancy is detected between the first and second transmission rates, the first transmission rate is adjusted to bring it closer to the second transmission rate. In other words, in this embodiment, only the first transmission rate is adjusted, while the second transmission rate remains temporarily unchanged. Therefore, the product of the second transmission rate and the set total horizontal pixel count needs to be calculated to obtain the equivalent transmission rate. The equivalent transmission rate is the value that the adjusted total horizontal pixel count multiplied by the target refresh rate should achieve. If the product of the adjusted total horizontal pixel count and the target refresh rate also reaches the equivalent transmission rate, it indicates that the adjusted first transmission rate will at least approach the second transmission rate.
[0051] Because the equivalent transmission rate is equivalent to the value that the first transmission rate should achieve under the second transmission rate. The equivalent value is calculated from the adjusted total horizontal pixels and the target refresh rate. The equivalent value ignores the total vertical pixels, the number of primary color channels, the number of channel bits, the encoding conversion rate, and the number of drivers.
[0052] Step S32: Based on the ratio of the equivalent transmission rate to the target refresh rate, obtain the total number of target pixels; Step S33: Adjust the total horizontal pixel count in the timing controller to the target total pixel count to adjust the first transmission rate.
[0053] It should be noted that the target total number of pixels is the ratio of the equivalent transmission rate to the target refresh rate. Adjusting the horizontal total number of pixels in the timing controller to the target total number of pixels allows for adjustment of the first transmission rate. After adjusting the horizontal total number of pixels to the target total number of pixels, the timing controller will output timing signals according to the target refresh rate and the target total number of pixels. The rate at which the timing signals are output according to the target refresh rate and the target total number of pixels will at least approach the second transmission rate. Because the adjustment of the horizontal total number of pixels is on the order of integers, the first transmission rate obtained after the horizontal total number of pixels adjustment may still differ slightly from the second transmission rate, but the difference will not be significant.
[0054] For example, the formula for calculating the total number of target pixels can be found in Formula 2: Htotal2=N1 Htotal1 / N2 (Formula 2); Where Htotal2 is the target total number of pixels, N1 is the second transmission rate, Htotal1 is the set horizontal total number of pixels, and N2 is the target refresh rate. Formula 2 is based on N1. Htotal1=N2 It was derived from Htotal2.
[0055] This embodiment adjusts the total number of horizontal pixels, thereby adjusting the first transmission rate, which makes the adjusted first transmission rate closer to the second transmission rate, thus effectively reducing screen tearing.
[0056] To better understand this embodiment, you can also refer to Figure 2 The process of this embodiment is briefly described, including steps Y10~Y70: Step Y10: Start; Step Y20: Obtain the current target refresh rate of the display device and calculate the P2P rate; the first transmission rate in this embodiment is the P2P rate; Step Y30: Determine whether the P2P rate is equal to the GDL rate; the GDL rate is the second transmission rate in this embodiment. If the P2P rate is equal to the GDL rate, execute step Y70: End. If the P2P rate is not equal to the GDL rate, execute step Y40: Adjust Htotal to adjust the P2P rate. That is, adjust Htotal to adjust the first transmission rate, and determine step Y50: Whether the adjusted P2P rate is equal to the GDL rate; if the adjusted P2P rate is equal to the GDL rate, then execute step Y60: Save the adjusted Htotal, so that the subsequent timing controller can output timing signals according to the adjusted Htotal, thereby making the adjusted P2P rate equal to the GDL rate. If the adjusted P2P rate is not equal to the GDL rate, then return to step Y30 until the adjusted P2P rate equals the GDL rate. In other embodiments, step Y50 may also determine whether the difference between the adjusted P2P rate and the GDL rate is less than or equal to a preset tear threshold. That is, if the difference between the adjusted P2P rate and the GDL rate is less than or equal to the preset tear threshold, step Y60 can be executed; if the difference between the adjusted P2P rate and the GDL rate is greater than the preset tear threshold, return to step Y50.
[0057] Furthermore, based on the above embodiments of this application, in another embodiment of this application, the same or similar content as the above embodiments can be referred to the above description, and will not be repeated hereafter. In addition, the display device further includes a display panel, and the control method of the display device further includes step X10: adjusting the gate high-level voltage input to the gate line in the display panel.
[0058] It should be noted that since the total number of horizontal pixels is adjusted in integer increments, the adjusted first transmission rate may still differ from the second transmission rate. Therefore, in this embodiment, the second transmission rate is also adjusted by adjusting the gate high-level voltage, thus ensuring that the adjusted second transmission rate is equal to the adjusted first transmission rate. In this embodiment, the gate high-level voltage can be adjusted using closed-loop feedback, such as PID (Proportional-Integral-Derivative) control, to ensure the accuracy of the second transmission rate, thereby eliminating screen tearing and improving display quality.
[0059] A higher GDL rate means a shorter charging time for each pixel. To charge the pixel capacitor to the target voltage within this shorter time, a higher VGH (Gate High Voltage) is needed to more quickly turn on the TFT (Thin-Film Transistor) switches in the pixel. In this embodiment, a voltage testing module can be integrated inside the display panel of the display device to determine whether the gate high voltage needs adjustment and by how much.
[0060] In this embodiment, when the charge is insufficient, the gate high-level voltage can be increased, and when the charge is excessive, the gate high-level voltage can be decreased, thereby adjusting the second transmission rate so that the adjusted second transmission rate matches the adjusted first transmission rate, that is, the adjusted second transmission rate is equal to the adjusted first transmission rate.
[0061] For example, the gate high-level voltage is adjusted to adjust the second transmission rate such that the adjusted second transmission rate is equal to the adjusted first transmission rate.
[0062] In one feasible embodiment, the display panel of the display device is provided with test pixels, and step X10 further includes steps X11 to X14: Step X11: Periodically apply a preset test voltage to the test pixel, and in the current cycle, detect the pixel voltage of the pixel electrode in the test pixel during the charging process; It should be noted that the test pixels are not used for display. The structure of the test pixels is the same as that of the pixels in the display panel that can display valid pixel data. The test pixels are used to sense the actual charging voltage. For example, the test pixels are used to sense the applied preset test voltage. The preset test voltage can be set based on the actual situation, and this embodiment does not impose specific limitations on it.
[0063] In this embodiment, a preset test voltage can be applied to the test pixel in the vertical blanking region, thus not affecting the normal display of the display device. The vertical blanking region refers to the time area during which no visible image is displayed after one frame is displayed and before the next frame begins to be displayed.
[0064] For example, a preset test voltage can be periodically applied to the test pixel in the vertical blanking region, and the pixel voltage of the test pixel during the charging process can be detected in each cycle. For example, in this embodiment, the pixel voltage of the pixel electrode of the test pixel during the charging process can be detected in the current cycle. For example, when the TFT switch of the test pixel is turned on, it indicates that the test pixel is in the charging process, and the pixel voltage of the test pixel can be detected during the charging process. The pixel voltage is equivalent to the charging voltage of the test pixel. By detecting the pixel voltage and comparing the pixel voltage with the preset test voltage, it can be determined whether the charging of the test pixel is sufficient. If the charging of the test pixel is insufficient, it indicates that the charging of the pixels used for display in the display panel may also be insufficient; if the charging of the test pixel is sufficient, it indicates that the charging of the pixels used for display in the display panel may be sufficient. Therefore, in this embodiment, the charging status of the pixels used for display in the display panel can be reflected by the test pixel to determine whether the gate high-level voltage needs to be adjusted.
[0065] Step X12: Determine the voltage error based on the preset test voltage and pixel voltage; Step X13: Calculate the voltage adjustment amount based on the voltage error, the historical cumulative voltage error of the obtained test pixel, the rate of change of voltage error relative to the previous cycle, the preset proportional coefficient, the preset integral coefficient, and the preset differential coefficient. Step X14: Adjust the gate high-level voltage based on the voltage regulation amount.
[0066] It should be noted that voltage error reflects the difference between the pixel voltage and the preset test voltage. A larger voltage error indicates a greater difference between the pixel voltage and the preset test voltage, suggesting potential overcharging or undercharging during testing. Historical cumulative voltage error refers to the sum of the voltage error in each cycle from when the display device receives the power-on command to the current cycle, and the voltage error in the current cycle. The error change rate reflects the change in the voltage error of the current cycle relative to the voltage error of the previous cycle. The error change rate can be determined based on the difference between the voltage error of the current cycle and the voltage error of the previous cycle.
[0067] The preset proportional coefficient, preset integral coefficient, and preset derivative coefficient can all be set based on actual conditions. This embodiment does not impose specific limitations on them. The voltage adjustment amount can be the magnitude by which the gate high-level voltage needs to be adjusted. The larger the voltage error, the greater the magnitude of adjustment to the gate high-level voltage.
[0068] For example, the formula for calculating the voltage regulation amount can be found in Formula 3: F=Kp e+ Ki ∫edt+Kd de / dt (formula 3); Where Kp is a preset proportional coefficient, Ki is a preset integral coefficient, Kd is a preset differential coefficient, e is the voltage error, ∫edt is the historical cumulative voltage error, de / dt is the error change rate, and t can refer to the moment when the pixel voltage is detected. The product of the preset proportional coefficient and the voltage error yields the proportional adjustment; the product of the preset integral coefficient and the historical cumulative voltage error yields the integral adjustment; and the product of the preset differential coefficient and the error change rate yields the differential adjustment. The sum of the proportional, integral, and differential adjustments yields the voltage adjustment. In this embodiment, the integral adjustment can be used to eliminate static errors, such as deviations caused by long-term aging. The differential adjustment helps suppress oscillations, making the gate high-point voltage more stable.
[0069] After obtaining the voltage adjustment amount, the gate high-level voltage can be adjusted. For example, the power management module in the display device can adjust the gate high-level voltage according to the voltage adjustment amount. For example, the sum of the voltage adjustment amount and the gate high-level voltage can be calculated to obtain the target voltage. The power management module can then adjust the gate high-level voltage to the target voltage to achieve the adjustment of the gate high-level voltage. The voltage adjustment amount can be positive or negative, etc., and this embodiment does not specifically limit it.
[0070] This embodiment adjusts the gate high-level voltage using PID control, thereby regulating the TFT switching speed and adjusting the second transmission rate so that the adjusted second transmission rate equals the adjusted first transmission rate, thus solving the screen tearing problem.
[0071] Furthermore, based on the above embodiments of this application, in another embodiment of this application, the same or similar content as the above embodiments can be referred to the above description, and will not be repeated hereafter. Based on this, refer to... Figure 3 This embodiment provides a display device, which includes a timing controller, a power management module, and a speed detection module. The speed detection module is connected to the timing controller and the power management module. The timing controller is used to obtain the current target refresh rate of the display device, and based on the target refresh rate, determine the first transmission rate of the timing signal output by the timing controller under the set horizontal total number of pixels; The rate detection module is used to detect the second transmission rate of the gate drive signal output by the power management module; The timing controller is also used to adjust the total number of horizontal pixels when the first transmission rate and the second transmission rate are not equal, so as to adjust the first transmission rate so that the adjusted first transmission rate approaches the second transmission rate.
[0072] It should be noted that the timing controller can obtain the current target refresh rate of the display device, and can be used to calculate the first transmission rate. The rate detection module can detect the second transmission rate of the gate drive signal output by the power management module. The first transmission rate is the P2P rate, and the second transmission rate is the GDL rate. The rate detection module can be connected to the port in the power management module that outputs the gate drive signal, thereby facilitating the detection of the second transmission rate.
[0073] The timing controller can adjust the total number of horizontal pixels when the first transmission rate and the second transmission rate are not equal, so that the adjusted first transmission rate approaches the second transmission rate.
[0074] The timing controller is TCON, and the total horizontal pixel count is Htotal. The set total horizontal pixel count is stored in TCON, and TCON can generate timing signals based on the set total horizontal pixel count. In this embodiment, an Htotal buffer can also be reserved in TCON. That is, if the total horizontal pixel count set in TCON is Y1, this embodiment can configure an Htotal buffer on top of Y1, which facilitates the subsequent increase of Htotal to increase the P2P rate. The size of the Htotal buffer can be set according to the actual situation, and this embodiment does not make a specific limitation on it. For example, the size of the Htotal buffer can be 50 or 60, etc. This embodiment does not make a specific limitation on it.
[0075] The first transmission rate is a P2P rate. The timing signal generated by TCON can be sent to the driver IC in the display device. The display device also includes a display panel, and the driver IC can be connected to the pixels in the display panel to drive the pixel display. The power management module can be connected to the display panel. When the first transmission rate equals the second transmission rate, it means that there will be no screen tearing in the display device, so the total number of horizontal pixels does not need to be adjusted.
[0076] When the first transmission rate is not equal to the second transmission rate, screen tearing may occur in the display device. Therefore, in this embodiment, the first transmission rate is adjusted by changing the total number of horizontal pixels, thereby making the first transmission rate closer to the second transmission rate and reducing screen tearing. In a possible embodiment, adjusting the first transmission rate can also make it equal to the second transmission rate, thus eliminating screen tearing. This is because the first transmission rate is related to the total number of horizontal pixels; therefore, adjusting the total number of horizontal pixels can adjust the first transmission rate to reduce screen tearing.
[0077] When the first transmission rate is not equal to the second transmission rate, the total number of horizontal pixels in the timing controller is adjusted to adjust the first transmission rate, making the adjusted first transmission rate closer to the second transmission rate. In other embodiments, the total number of horizontal pixels can also be adjusted when the absolute value of the difference between the first and second transmission rates is greater than or equal to a preset tearing threshold. The preset tearing threshold can be set based on actual conditions, and this embodiment does not specifically limit it. When the absolute value of the difference between the first and second transmission rates is less than the preset tearing threshold, the total number of horizontal pixels may not be adjusted. If the absolute value of the difference between the adjusted first and second transmission rates is still greater than or equal to the preset tearing threshold, the total number of horizontal pixels can continue to be adjusted until the absolute value of the difference between the adjusted first and second transmission rates is less than the preset tearing threshold.
[0078] In other embodiments, if the adjusted first transmission rate is not equal to the second transmission rate, the number of horizontal total pixels can be adjusted until the adjusted first transmission rate equals the second transmission rate. If the number of adjustments to the horizontal total pixels exceeds a preset adjustment threshold, the adjustment of the horizontal total pixels is stopped to avoid an infinite loop. The preset adjustment threshold can also be set based on actual conditions. Because the horizontal total pixels are integers, the adjustment of the horizontal total pixels is also an integer adjustment. Therefore, there may still be a small difference between the adjusted first transmission rate and the second transmission rate.
[0079] This embodiment can obtain the current refresh rate of the display device, and based on the current refresh rate, determine the first transmission rate of the timing signal output by the timing controller in the display device at the current total number of horizontal pixels. It can also obtain the second transmission rate of the gate drive signal output by the power management module in the display device. Therefore, when the first transmission rate and the second transmission rate are not equal, the number of total horizontal pixels in the timing controller can be adjusted, thereby adjusting the first transmission rate. Since the first transmission rate is related to the total number of horizontal pixels, in this embodiment, by adjusting the number of total horizontal pixels, the first transmission rate can be adjusted so that the first transmission rate approaches the second transmission rate, thereby reducing screen tearing.
[0080] In one feasible embodiment, please refer to Figure 4 The rate detection module includes a pulse detection unit, a timing unit, a counter unit, and a comparator; The detection terminal of the pulse detection unit is connected to the port of the power management module that outputs the gate drive signal. The output terminal of the pulse detection unit is connected to the input terminal of the timing unit. The output terminal of the timing unit is connected to the input terminal of the counter unit. The input terminal of the counter unit is connected to the first input terminal of the comparator. The second input terminal of the comparator is connected to the target quantity. The output terminal of the comparator is connected to the timing controller. The pulse detection unit is used to detect the pulse of the gate drive signal, and the timing unit is used to monitor the detection duration of the pulse detected by the pulse detection unit, and when the detection duration reaches the preset duration, the pulses detected by the pulse detection unit within the preset duration are sent to the counter unit. The counter unit is used to count the number of pulses detected within a preset time period; The comparator is used to compare the number of pulses with the target number and input the comparison result to the timing controller.
[0081] It should be noted that the pulse detection unit is used to detect the pulse of the gate drive signal, and the pulse detection unit can be a D flip-flop. The pulse detection unit can detect the pulse of the initial signal of the gate drive signal, which is the STV signal. The rate of the detected STV signal can be used as the second transmission rate.
[0082] The timing unit is used for timing. For example, a preset duration can be set. When the pulse detection unit starts detecting the pulse of the gate drive signal, the timing unit can start timing. When the timing duration reaches the preset duration, the timing stops. All pulses detected by the pulse detection unit within the preset duration will be transmitted to the counter unit.
[0083] The counter unit is used to count the number of pulses. The counter can count the number of pulses detected by the pulse detection unit within a preset time period to obtain the pulse count. The ratio of the pulse count to the preset time period can be calculated to obtain the second transmission rate.
[0084] The target number is the number of pulses within a preset time period at the target refresh rate. The comparison result reflects the comparison between the pulse number and the target number. The comparison result is expressed numerically; for example, the comparison result can be 0 or 1. When the comparison result is 0, it means that the number of pulses input at the first input terminal of the comparator is equal to the target number input at the second input terminal. When the comparison result is 1, it means that the pulse number is not equal to the target number, and thus it means that the first transmission rate is not equal to the second transmission rate.
[0085] In this embodiment, the output of the comparator can be connected to a timing controller, which can then determine whether the first transmission rate and the second transmission rate are equal based on the comparison result output by the comparator. The display device may also include a frequency storage unit, which can store the target number of times the target refresh frequency is within a preset time period. The frequency storage unit can be connected to the second input of the comparator.
[0086] In this embodiment, a comparison between the first transmission rate and the second transmission rate can be made, thereby facilitating the determination of whether the first transmission rate needs to be adjusted so that the adjusted first transmission rate can approach the second transmission rate and reduce screen tearing.
[0087] In one feasible embodiment, please refer to Figure 5 The display device also includes a display panel and a voltage testing module. The voltage testing module is located on the display panel and includes test pixels, a voltage control unit, and a voltage detection unit. The voltage application terminal of the voltage control unit is connected to the port of the data line in the test pixel, the detection terminal of the voltage detection unit is connected to the pixel electrode of the test pixel, the output terminal of the voltage detection terminal is connected to the voltage receiving terminal of the voltage control unit, and the voltage compensation terminal of the voltage control unit is connected to the input terminal of the power management module. The voltage control unit is used to periodically apply a preset test voltage to the test pixel, and the voltage detection unit is used to detect the pixel voltage of the pixel electrode in the test pixel during the charging process in the current cycle. The voltage control unit is used to calculate the voltage error of the test pixel in the current cycle based on the pixel voltage and the preset test voltage. It is also used to calculate the voltage adjustment amount based on the voltage error, the historical cumulative voltage error of the test pixel, the error change rate of the voltage error relative to the previous cycle, the preset proportional coefficient, the preset integral coefficient and the preset differential coefficient, and send the voltage adjustment amount to the power management module. The power management module is used to adjust the gate high-level voltage input to the gate lines in the display panel based on the voltage adjustment amount.
[0088] It should be noted that the voltage testing module can be installed on the display panel, specifically in an area of the display panel where no display is used. The voltage testing module includes a test pixel, a voltage control unit, and a voltage detection unit. The pixel structure of the test pixel is the same as that of the pixels used for display on the display panel; this embodiment does not impose specific limitations on this. The test pixel is also connected to the gate lines and data lines in the display panel. For example, the source of the TFT switch in the test pixel is connected to the data line, and the gate is connected to the gate line. The voltage application terminal of the voltage control unit can be connected to the source of the TFT switch in the test pixel. The test pixel is not used for display.
[0089] The voltage control unit can be used to periodically apply a preset test voltage to the test pixel, specifically within the vertical blanking region. This preset test voltage can be represented as a voltage waveform. The voltage detection unit can be used to detect the pixel voltage of the pixel electrode, which is essentially the charging voltage of the capacitor in the test pixel. The voltage detection unit can also be hardware such as a voltage sensor, or other components that can be used to detect pixel voltage in other embodiments; this embodiment does not specifically limit its application.
[0090] The voltage control unit can be used to calculate the voltage error based on the pixel voltage and a preset test voltage. The voltage control unit can also store the historical cumulative voltage error of the test pixel and calculate the rate of change of the voltage error relative to the previous cycle. That is, it can calculate the difference between the voltage error of the current cycle and the voltage error of the previous cycle, and use this difference as the rate of change of error. In other embodiments, the ratio of this difference to the detection duration can also be used as the rate of change of error. The detection duration can be the length of the cycle or the time between the moment the pixel voltage is detected in the current cycle and the moment the pixel voltage is detected in the previous cycle. This embodiment does not specifically limit this. Generally, in this embodiment, the pixel voltage can be detected when the test pixel is about to complete charging or when the test pixel has just completed charging. This embodiment does not specifically limit this.
[0091] When the voltage control unit applies a preset test voltage to the test pixel, the driver IC in the display device can turn on the TFT switch of the test pixel, thereby facilitating the charging of the test pixel.
[0092] The power management module can be connected to the voltage control unit. The voltage control unit can send the calculated voltage regulation amount to the power management module. In this embodiment, the power management module and the voltage control unit can communicate via an I2C (Inter-Integrated Circuit) bus. When the power management module receives the voltage regulation amount, it adjusts the gate high-level voltage based on the voltage regulation amount. This allows for adjustment of the on / off speed of the TFT switches of the pixels in the display panel, thereby adjusting the second transmission rate to ensure that the adjusted second transmission rate equals the adjusted first transmission rate.
[0093] In other embodiments, the power management module can also adjust the gate low-level voltage. That is, after receiving the voltage adjustment amount, the power management module can adjust the gate high-level voltage and / or the gate low-level voltage, as long as the total adjustment of the gate high-level voltage and the gate low-level voltage is equal to the voltage adjustment amount.
[0094] After receiving the voltage regulation value, the power management module can fine-tune the switching frequency or duty cycle of its internal charge pump to adjust the gate high-level voltage and / or gate low-level voltage. Alternatively, it can adjust the feedback network of the DC-DC converter (Direct Current to Direct Current Converter) within the power management module to achieve the same adjustment. The new gate high-level voltage and / or gate low-level voltage can directly affect the opening and closing speed of the TFT switches in each pixel during the next frame cycle, thereby changing the charging efficiency of the pixels in the display panel.
[0095] The charge pump is a boost / buck circuit within the power management module. It converts the voltage into the high voltage (VGH) or negative voltage (VGL, Gate Low Voltage) required for screen driving. A higher switching frequency of the charge pump allows the capacitor within the pump to store and transfer more charge per unit time, resulting in a slightly higher output voltage. Conversely, a lower switching frequency leads to lower charge transfer efficiency and a slightly lower output voltage. A larger duty cycle extends the effective charging / discharging time of the capacitor within the pump, resulting in more transferred charge and a higher output voltage. Therefore, in this embodiment, VGH and / or VGL can be adjusted by changing the switching frequency or duty cycle of the charge pump.
[0096] In other embodiments, a DC-DC converter is provided in the power management module instead of a charge pump. Therefore, when a DC-DC converter is provided in the power management module, the DC-DC converter can be adjusted to regulate VGH and / or VGL. For example, the voltage division ratio of the feedback network in the DC-DC converter can be adjusted to adjust the output of the DC-DC converter, thereby regulating the gate high-level voltage and / or gate low-level voltage.
[0097] The display device provided in this application adopts the control method of the display device in the above embodiments, aiming to solve the technical problem of severe screen tearing. Compared with the prior art, the beneficial effects of the display device provided in this application are the same as the beneficial effects of the control method of the display device provided in the above embodiments, and other technical features in the display device are the same as the features disclosed in the methods of the above embodiments, and will not be repeated here.
[0098] This application provides a display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the control method of the display device in the first embodiment described above.
[0099] The following is for reference. Figure 6 The diagram illustrates a structural schematic of a display device suitable for implementing embodiments of this application. The display device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The display device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0100] like Figure 6As shown, the display device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the display device. The processing unit 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. The communication device 1009 allows the display device to exchange data with other devices wirelessly or via wired communication. Although the diagram shows display devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.
[0101] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0102] The display device provided in this application, employing the control method of the display device in the above embodiments, can solve the technical problem of severe screen tearing. Compared with the prior art, the beneficial effects of the display device provided in this application are the same as those of the control method of the display device provided in the above embodiments, and other technical features of the display device are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.
[0103] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0104] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0105] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, which are used to execute the control method of the display device in the first embodiment described above.
[0106] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, apparatuses, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable EPROM (Electrical Programmable Read Only Memory) or flash memory, optical fiber, portable compact disk CD-ROM (compact discread-only memory), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution device, apparatus, or apparatus. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0107] The aforementioned computer-readable storage medium may be included in the display device or may exist independently without being assembled into the display device.
[0108] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a display device, cause the display device to: acquire the current target refresh rate of the display device; determine, based on the target refresh rate, a first transmission rate at which the timing controller in the display device outputs timing signals at a set total number of horizontal pixels; acquire a second transmission rate at which the power management module in the display device outputs gate drive signals; and, if the first transmission rate is not equal to the second transmission rate, adjust the number of total horizontal pixels in the timing controller to adjust the first transmission rate, so that the adjusted first transmission rate approaches the second transmission rate.
[0109] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a LAN (local area network) or WAN (wide area network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0110] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based device that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0111] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0112] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the control method of the above-described display device, aiming to solve the technical problem of severe screen tearing. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the control method of the display device provided in the above-described embodiments, and will not be repeated here.
[0113] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the control method for the display device as described above.
[0114] The computer program product provided in this application aims to solve the technical problem of severe screen tearing. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the control method for the display device provided in the above embodiments, and will not be repeated here.
[0115] The above are merely preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structural or procedural transformations made using the description and drawings of the present application, or direct or indirect applications in other related technical fields, are similarly included within the patent processing scope of the present application.
Claims
1. A control method of a display device, characterized by, The control method of the display device comprises: obtaining a target refresh rate of the display device, and determining a first transmission rate of a timing controller in the display device for outputting a timing signal under a set total number of horizontal pixels based on the target refresh rate; obtaining a second transmission rate of a power management module in the display device for outputting a gate drive signal; in a case where the first transmission rate is not equal to the second transmission rate, adjusting the number of the total number of horizontal pixels in the timing controller to adjust the first transmission rate, so that the adjusted first transmission rate approaches the second transmission rate.
2. The control method of a display device according to claim 1, wherein The step of determining the first transmission rate of the timing controller in the display device for outputting the timing signal under the set total number of horizontal pixels based on the target refresh rate comprises: obtaining a total number of vertical pixels, a number of three-color channels, a number of channel bits, an encoding conversion rate in the display device, and a number of drivers in the display device receiving the timing signal output by the timing controller; calculating the first transmission rate based on the target refresh rate, the total number of horizontal pixels, the total number of vertical pixels, the number of three-color channels, the number of channel bits, the number of the drivers, and the encoding conversion rate.
3. The control method of a display device according to claim 1, wherein The control method of the display device further comprises: detecting the gate drive signal output by the power management module; counting a number of pulses generated by the gate drive signal within a preset time length; in a case where the number of pulses is not equal to a target number of the target refresh rate within the preset time length, determining that the first transmission rate is not equal to the second transmission rate.
4. The control method of a display device according to claim 1, wherein The step of adjusting the number of the total number of horizontal pixels in the timing controller comprises: calculating a product of the second transmission rate and the total number of horizontal pixels currently set by the timing controller to obtain an equivalent transmission rate; obtaining a target total number of pixels based on a ratio of the equivalent transmission rate to the target refresh rate; adjusting the total number of horizontal pixels in the timing controller to the target total number of pixels to adjust the first transmission rate.
5. The control method of a display device according to claim 1, wherein The display device further comprises a display panel, and after the step of adjusting the number of the total number of horizontal pixels in the timing controller, the method further comprises: adjusting a gate high voltage input to a gate line in the display panel.
6. The control method of a display device according to claim 5, wherein The display panel is provided with test pixels, and the step of adjusting the gate high voltage input to the gate line in the display panel comprises: periodically applying a preset test voltage to the test pixels, and detecting a pixel voltage of a pixel electrode in the test pixels in a charging process of the test pixels in a current period; determining a voltage error based on the preset test voltage and the pixel voltage; calculating a voltage adjustment amount according to the voltage error, a historical voltage cumulative error of the test pixels obtained, a change rate of the voltage error relative to an error of a last period, a preset proportional coefficient, a preset integral coefficient, and a preset differential coefficient; adjusting the gate high voltage based on the voltage adjustment amount.
7. A display device, characterized by comprising: The display device comprises a timing controller, a power management module, and a rate detection module, the rate detection module being connected to the timing controller and the power management module. The timing controller is configured to acquire a target refresh rate of the display device currently, and determine a first transmission rate of the timing controller outputting a timing signal under a set total number of horizontal pixels based on the target refresh rate; The rate detection module is configured to detect a second transmission rate of the power management module outputting a gate driving signal; The timing controller is further configured to adjust the total number of horizontal pixels to adjust the first transmission rate to approach the second transmission rate when the first transmission rate and the second transmission rate are not equal.
8. The display device of claim 7, wherein the rate detection module comprises a pulse detection unit, a timing unit, a counter unit and a comparator; an output end of the pulse detection unit is connected to an input end of the timing unit, an output end of the timing unit is connected to an input end of the counter unit, an input end of the counter unit is connected to a first input end of the comparator, a second input end of the comparator is connected to the target number, and an output end of the comparator is connected to the timing controller; the pulse detection unit is configured to detect pulses of the gate driving signal, and the timing unit is configured to monitor a detection duration of the pulse detection unit detecting the pulses, and send the pulses detected by the pulse detection unit within a preset duration to the counter unit when the detection duration reaches a preset duration; the counter unit is configured to count a number of the pulses detected within the preset duration; the comparator is configured to compare the number of the pulses with the target number, and input a comparison result to the timing controller.
9. The display device of claim 7, wherein, The display device further comprises a display panel and a voltage test module, the voltage test module is arranged on the display panel, and the voltage test module comprises a test pixel, a voltage control unit and a voltage detection unit; a voltage application end of the voltage control unit is connected to a port of the test pixel connected to a data line, a detection end of the voltage detection unit is connected to a pixel electrode of the test pixel, an output end of the voltage detection end is connected to a voltage receiving end of the voltage control unit, and a voltage compensation end of the voltage control unit is connected to an input end of the power management module; the voltage control unit is configured to periodically apply a preset test voltage to the test pixel, and the voltage detection unit is configured to detect a pixel voltage of the pixel electrode of the test pixel in a charging process of the test pixel in a current period; the voltage control unit is configured to calculate a voltage error of the test pixel in the current period based on the pixel voltage and the preset test voltage, and calculate a voltage adjustment amount according to the voltage error, a historical voltage cumulative error of the test pixel, a change rate of the voltage error relative to a voltage error of a previous period, a preset proportional coefficient, a preset integral coefficient and a preset differential coefficient, and send the voltage adjustment amount to the power management module; and The power management module is configured to adjust a gate high voltage input to a gate line in the display panel based on the voltage adjustment amount.
10. A display device, characterized by The display device includes at least one processor, and a memory connected with the at least one processor in communication; The memory stores instructions executable by the at least one processor to cause the at least one processor to perform steps of the control method of the display apparatus of any one of claims 1 to 6.