The present invention relates to a method of controlling a display panel, and more particularly, to a method of using multi-frequency display (MFD) with adaptive refresh panel (ARP) timing to control a display panel.
In a display system, the application processor (AP) transmits display data to the display driver circuit through a mobile industry processor interface (MIPI). There are two commonly used transmission modes on the MIPI: the command mode and the video mode. Currently available specifications of multi-frequency display (MFD) are mostly developed in the command mode, in which the display driver circuit is equipped with a frame buffer for storing display data received from the AP. However, the prior art has no plans for the application of MED in the RAM-less video mode.
It is therefore an objective of the present invention to provide a method of controlling a display panel with the multi-frequency display (MFD) for the video mode, where an adaptive refresh panel (ARP) timing scheme is also applied to achieve power saving.
An embodiment of the present invention discloses a method of controlling a display panel for a display driver circuit. The method comprises steps of: starting counting time in a time period for receiving a first frame of display data, to generate a timing result; determining whether a timeout occurs according to the timing result; and outputting a control signal to instruct a host processor to transmit a second frame of display data at a time when the timeout occurs.
Another embodiment of the present invention discloses a display driver circuit for controlling a display panel. The display driver circuit starts counting time in a time period for receiving a first frame of display data, to generate a timing result; determines whether a timeout occurs according to the timing result; and outputs a control signal to instruct a host processor to transmit a second frame of display data at a time when the timeout occurs.
Another embodiment of the present invention discloses a method of controlling a display panel for a host processor. The method comprises steps of: transmitting a first frame of display data to a display driver circuit for driving the display panel; receiving a control signal from the display driver circuit after transmitting the first frame of display data; and transmitting a second frame of display data in response to the control signal.
Another embodiment of the present invention discloses a host processor for controlling a display panel. The host processor transmits a first frame of display data to a display driver circuit for driving the display panel; receives a control signal from the display driver circuit after transmitting the first frame of display data; and transmits a second frame of display data in response to the control signal.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
According to the present invention, multi-frequency display (MFD) with partial refresh may be implemented in the video mode of the mobile industry processor interface (MIPI). In order to reduce power consumption and be closer to the application of the command mode, when the host processor does not update the image, the image sending frequency through the MIPI may be reduced to achieve a power saving mode in which the frequency of full screen display is reduced to an extremely low frame rate (e.g., 1 Hz). The present invention may incorporate the adaptive refresh panel (ARP) mode of video transmission to realize an automatic switching behavior and complete the timing control of MIPI power saving.
In various embodiments of the present invention, the automatic switching of MED and ARP timing does not require the host processor to send a command. As long as the frequency of the host processor sending images decreases to a certain level, a timeout would be triggered. Based on the timeout determination, the display driver circuit may output a control signal to the host processor, to enter the ARP mode and start the operation of a full-screen frequency down-conversion. When the host processor needs to update images, it may automatically and immediately apply the MFD operation to perform full refresh or partial refresh display, achieving the advanced power saving application function of the RAM-less display driver circuit along with the MFD control.
A brief explanation of MFD will be given as follows. The conventional variable frame rate mechanism is full-screen frame rate adjustment; that is, all pixels on the display panel must be refreshed or not simultaneously during a frame period allocated to display a frame of images. However, in order to meet the applications where dynamic images and still images coexist on the screen, the display panel is allowed to refresh only a part of pixels during a frame period. This is the basic mechanism of MFD.
As shown in
As mentioned above, common MFD specifications are developed in the command mode and applied to a display driver circuit equipped with a frame buffer.
The display driver circuit 204 may process the display data and convert the display data into data voltages to be output to the pixels on the display panel 206. In an embodiment, the display driver circuit 204 may be implemented in an integrated circuit (IC) to realize a display driver IC (DDIC). In the following descriptions, the display driver circuit will be abbreviated as DDIC, and those skilled in the art would know that the DDIC described hereinafter may represent a display driver circuit capable of driving a display panel and implemented in any manner.
As shown in
The display panel 206 may be any type of display device, which may be, but not limited to, an organic light emitting diode (OLED) panel, liquid crystal display (LCD) panel, or any other panel performing display by receiving scan control.
When the AP 202 transmits display data to the DDIC 204, the display data could be written into the frame buffer implemented in the memory 214. Based on the display data stored in the frame buffer, the DDIC 204 may use an internal clock to control the panel refresh timing by itself, to perform full-screen frame rate conversion or MFD timing control. Through the panel refresh timing of the DDIC 204, the output driver circuit 218 may output the display data voltages to the display panel 206 at predetermined time points, and the gate control signals may be output to a gate on array (GOA) circuit of the display panel 206 correspondingly. In the example shown in
However, in order to reduce circuit costs, the display system might change to use a RAM-less DDIC with the MIPI video mode to send images. For example,
In the video mode, there is no frame buffer in the DDIC 304; therefore, when the AP 302 transmits display data to the DDIC 304, the DDIC 304 may directly forward the display data to the display panel 306 to perform refresh. The DDIC 304 may receive a vertical synchronization signal VS and a horizontal synchronization signal HS from the AP 302 to perform frame rate conversion. More specifically, the DDIC 304 may start the next frame period only when receiving a packet of the vertical synchronization signal VS. The main difference in the timing between the video mode and the command mode is that, the DDIC 304 in the video mode, which is mainly controlled by an external clock, performs panel refresh control through the timing control signals sent from the AP 302, and these timing control signals may include the vertical synchronization signal VS and the horizontal synchronization signal HS. In contrast, the panel refresh operation in the command mode reads out the display data from the frame buffer of the DDIC 304 itself, and its display timing is completely controlled by the DDIC 304 itself.
Therefore, under the transmission architecture of the video mode, the implementation of MED is slightly different from that under the command mode. In the command mode (as shown in
In addition, the address information sent with the display data in the command mode should be replaced with the position information of the display lines or pixels to be refreshed in the video mode. According to the current MIPI specification, the AP should transmit full-screen display data to the DDIC in the video mode, and the DDIC may refresh partial pixels based on the position information provided by the AP, so as to realize the MFD control in the video mode.
As mentioned above, since the current MIPI specification instructs the AP to transmit full-screen display data to the DDIC in the video mode, those sent through the MIPI include the full-screen display data, vertical back porch (VBP) and vertical front porch (VFP). A command CMD carrying the position information of the partial display lines that need to be refreshed may also be sent. Therefore, based on the position information of the display lines to be refreshed, the DDIC may extract the corresponding display data to refresh the corresponding pixels on the display panel, and ignore other unused display data. In this embodiment, the command CMD carrying the position information of the display lines to be refreshed is sent in the VFP of the previous frame, but those skilled in the art should know that the AP may provide the command to the DDIC in any manner (such as in other positions of MIPI channels or through other transmission interfaces), which is not limited herein.
As shown in
In addition, if the DDIC is configured to drive an LED panel or OLED panel, the DDIC is requested to output the emission control signal EM to control the timing of light emission. As shown in
In the video mode, since the DDIC performs panel refresh control entirely based on the external synchronization signal received from the AP, when the frequency of the external synchronization signal changes, the panel refresh timing of the DDIC may also be adjusted accordingly. For example, under a variable refresh rate, the transmission timing of the vertical synchronization signal VS may be variable, and the AP may change the frequency by extending the VFP. As shown in
Similarly, under the display architecture of a variable frequency or variable frame rate, the DDIC may also perform partial refresh in the same manner; that is, determine the position of the display pixels that need to be refreshed according to the position information received from the AP and refresh the designated areas with the partial display data (e.g., DAT1P-DAT4P) with the predetermined frequencies, thereby achieving different refresh rates in different areas on the display panel.
The MIPI Association has proposed an ARP mechanism that could perform sequential frequency down-conversion in the video mode. The low temperature polycrystalline oxide (LTPO) panel supports an extremely low frame rate such as 1 Hz. If the display panel is directly switched to the extremely low frame rate of 1 Hz from the display of a high frame rate of 120 Hz, the significant frequency drop would easily cause visual effect problems such as screen flickering. Therefore, a sequential frequency down-conversion mechanism is necessary, such as from 120 Hz, 60 Hz, 30 Hz, and 15 Hz down to 1 Hz sequentially. In the command mode, the display data are stored in the frame buffer of the DDIC, so the DDIC may generate the timing of sequential frequency down-conversion by itself. However, in the video mode, the DDIC is not equipped with a frame buffer but receives the vertical synchronization signal from the AP for timing control, so the ARP mechanism should be used to realize the communications between the DDIC and the AP, to achieve the sequential frequency down-conversion control; that is, the frequency of the vertical synchronization signal and display data output is sequentially reduced until the target frequency (e.g., 1 Hz) is reached.
When the DDIC needs to refresh the panel, it may output a control signal (i.e., the control signal TE shown in
Sometimes the AP may need to actively update the image content. At this time, the AP would send updated display data to the DDIC regardless of whether it receives the control signal TE. For example, the user of the mobile phone may send a touch command to trigger an application and enter a new image. At this time, the AP needs to actively send new display data to the DDIC. When the AP actively sends the display data, the display panel may return to the high frequency display of 120 Hz, until the images are no longer updated. When the AP does not actively update the image content, it needs to be triggered by the control signal TE to send images. At this time, the DDIC may output the control signal TE to the AP at suitable time points to control the AP to gradually reduce the image sending frequency to an extremely low frequency (e.g., 1 Hz) using the sequential frequency down-conversion mechanism.
In the present invention, the applications of ARP timing and MED timing may be combined under the display architecture of the video mode, to enhance the power saving effect of the display system. The ARP mode is an operation of the MIPI forwarding images with sequentially down-converted frequencies to enter a low-frequency power saving mode under a still image, and the MED is a mechanism that the dynamic image areas on the display panel perform high-speed refresh while other areas apply a lower refresh rate. In the embodiments of the present invention, the AP does not need to send any command for mode switching to the DDIC, and the DDIC may be switched between the ARP mode and the MED mode. In other words, the DDIC may switch the operation mode without being instructed by a command received from the AP.
Subsequently, when the display images stop changing (i.e., converted into a full-screen still image), the AP stops updating images and starts to reduce the frequency of outputting display data. At this time, the frequency of display data sent through the MIPI decreases, and the interval between adjacent vertical synchronization signals VS also becomes longer. In such a situation, the DDIC leaves the MED mode and enters the ARP mode. In order to avoid the visual effect problems caused by a sudden drop of the display frequency, the DDIC may output the control signals TE (not illustrated) at specific time points to instruct the AP to transmit display data, thereby controlling the AP to output display data to the DDIC with sequentially down-converted frequencies. The detailed settings of the sequential frequency down-conversion may be arranged arbitrarily according to system requirements. In this embodiment, the image sending frequency of the AP could be decreased sequentially from 120 Hz, 20 Hz, 15 Hz, to 1 Hz.
In other words, in the ARP mode, the DDIC actively outputs the control signals TE to control the AP to send images with sequentially down-converted frequencies based on the predetermined timing sequence, and the AP sends images according to the instruction of the control signals TE. In such a situation, the refresh rate in the ARP mode is mainly controlled by the DDIC.
In an embodiment, the DDIC may determine whether to enter the ARP mode through time counting. For example,
As shown in
The DDIC may start counting time in each time period for receiving a frame of display data. More specifically, the DDIC may start counting time every time it receives a vertical synchronization signal VS from the AP, where the vertical synchronization signal VS indicates the start of a time period for transmitting a frame of display data. The DDIC may also set a timeout length, so as to determine whether a timeout occurs according to the timing result. The DDIC may determine that the timeout occurs and enter the ARP mode when the timing result indicates that no vertical synchronization signal VS is received for a predetermined period of time exceeding the timeout length. The timeout means that the AP does not actively update images for more than a period of time, which means that the frequency of the vertical synchronization signal VS output by the AP falls below a certain level. For example, the DDIC may set the timeout length to an appropriate value so that it is expected to enter the ARP mode when the frequency of the output vertical synchronization signal VS falls below 20 Hz, which means that the image sending frequency of the AP falls below 20 Hz.
At the time of expiring/timeout, the DDIC may leave the MED mode to enter the ARP mode. The DDIC may also output a control signal TE to the AP to indicate that the operation mode is switched to the ARP mode. In response to the control signal TE, the AP would transmit a frame of display data and send a vertical synchronization signal VS indicating the corresponding frame period. In an embodiment, the DDIC may pull high the level of a corresponding GPO pin to deliver the control signal TE through the GPO interface. Since the AP does not actively send images due to image changing, the output display data may be the same as the previous frame of display data (i.e., DAT2). Subsequently, in the ARP mode, the DDIC may output control signals TE at several specific time points according to the ARP specification of MIPI. The AP, which is triggered by the received control signals TE, may transmit a series of frames of display data based on the timing of sequentially down-converted frequencies, making the frame rate gradually decrease to 1 Hz.
The above time counting scheme used for determining the occurrence of timeout may be implemented in any manner. In an embodiment, a timeout counter may be applied to calculate the number of horizontal synchronization signals HS continuously received after the DDIC receives the vertical synchronization signal VS, so as to determine whether the timeout occurs. Therefore, when the number of accumulated horizontal synchronization signals HS exceeds a specific value, the DDIC determines that a timeout occurs and thereby enters the ARP mode.
In such a situation, when the AP stops updating display data and enters a low-frequency display period, there is no need to send additional commands or notifications to the DDIC. The DDIC may use a timeout counter or timer to determine the timeout and decide whether to enter the ARP mode based on the occurrence of timeout, so as to realize the full-screen frequency down-conversion mechanism. In contrast, in the conventional ARP mode, the AP is requested to send a command to the DDIC to notify the DDIC to enter the ARP mode. In the conventional method, it is difficult for the AP to efficiently determine that the MFD mode of high-frequency image sending or the ARP mode of low-frequency image sending is suitable under various usage scenarios, and thus the power saving effect is quite limited.
In an embodiment of the present invention, in order to avoid the visual effect problems, the DDIC may forcibly perform full refresh with a frame of display data after entering the ARP mode, i.e., suspend the partial refresh operation of MFD. In the full refresh operation, the DDIC may refresh all pixels on the display panel by using the entire frame of display data (e.g., DAT2). This is because when the display panel is refreshed with an extremely low refresh rate (e.g., 1 Hz), if the partial refresh mechanism is incorporated, the display frequency in the non-refresh area may drop to less than 1 Hz, or even less than 0.1 Hz. However, the excessively low refresh rate would reduce the smoothness of the images and/or cause other unexpected visual effect problems. Therefore, it is preferable to forcibly perform full refresh in the ARP mode, in order to maintain the display quality.
Therefore, when entering the ARP mode, the DDIC may perform full refresh with the sequentially down-converted frequencies of, for example, 120 Hz, 60 Hz . . . , to the extremely low frame rate of 1 Hz, as shown in FIG. 7. At this time, although the AP may still send the information of the display lines to be refreshed while sending images, the DDIC may ignore this information and forcibly perform full refresh.
When the AP needs to actively update display images, it would actively send the vertical synchronization signal VS and transmit a new frame of display data to the DDIC. At this time, the DDIC may return to the MED mode. As for the DDIC, it is configured to instruct the AP to send images at specific time points by outputting the control signals TE to realize the extremely low frequency in the ARP mode. However, if the DDIC receives a new frame of display data from the AP but this new frame of display data is not in response to the control signal TE, which means that the display data are not received at the time point indicated by any control signal TE and expected by the DDIC, this new display data may be the images sent by the AP to actively update the image content. In such a situation, the DDIC may determine that the AP starts to update the images, and thereby leave the ARP mode to enter the MED mode.
As mentioned above, the DDIC may send the control signal TE to instruct the AP to send images. In the embodiment as shown in
Note that in a preferable embodiment, full refresh should be forcibly performed in the first frame (or the first few frames) when the DDIC just enters the MFD mode. In general, in the ARP mode, the frequency of the AP sending images may decrease to approximately a 1-Hz level. Entering the MFD mode means that the AP actively updates the display data, where the AP may update full images or partial images based on the image content. Therefore, if the low-frequency display is still performed in some still image areas when the DDIC enters the MFD mode, the tearing effect, dropped images, or other unpredictable visual effect problems may occur. In such a situation, the forcible full refresh in one or more frames may be applied to solve the problems. At this time, although the AP may send the information of the display lines to be refreshed while sending images, the DDIC may ignore this information and perform the full refresh.
In the embodiment as shown in
As can be seen, the present invention aims at providing a timing control mechanism that allows the DDIC to be switched between the MFD mode and the ARP mode in the MIPI video mode. Those skilled in the art may make modifications and alterations accordingly. For example, the timing in
Referring back to
Referring back to
For example, under a certain application, the display system may have a higher requirement for power saving than image quality. Therefore, multi-frequency refresh with partitioning may be started when the DDIC enters the MFD mode, so that the power saving effect of MED may be optimized.
In another embodiment, when entering the MFD mode from the ARP mode, the DDIC may forcibly perform full refresh with a higher frequency several times to ensure good visual effects. In other words, the DDIC may be forced to perform full refresh with the received display data of a predetermined number of frames after entering the MED mode. For example, as shown in
Under several applications, the display system may be playing a video in a relatively lower frame rate such as 30 Hz, and thus the AP may send images with this lower frame rate. If the display panel is refreshed with a lower frequency when the DDIC enters the MED mode, several visual effect problems such as the screen flickering, image sticking, or tearing effect may occur. In order to solve this problem, the DDIC may forcibly perform full refresh with a higher frequency in several consecutive frames after entering the MFD mode. Therefore, the DDIC should output the control signals TE with a higher frequency in several consecutive frames, to ensure that the AP sends images with a higher frequency, allowing the display panel to perform high-frequency full refresh. As a result, various visual effect problems due to the display panel entering partial refresh of the MFD mode under a lower-frequency display state may be avoided. In the embodiment shown in
In another embodiment, the DDIC may also use the sequential frequency down-conversion mechanism to control the refresh frequency in partial areas in the MFD mode. For example, as shown in
In such a situation, the DDIC may output the control signals TE to instruct the AP to transmit entire frames of display data with sequentially down-converted frequencies, such as from 60 Hz, 40 Hz, 10 Hz, 5 Hz, to 1 Hz in the embodiment shown in
The DDIC may calculate the time points to perform full refresh based on the setting of frequency down-conversion, and send the control signals TE at these time points to instruct the AP to send images. The DDIC may also forcibly perform full refresh in the corresponding frame periods, while other frame periods may be applied with partial refresh in the positions indicated by the command of the AP if any display data are received. More specifically, the full refresh may be performed with the sequentially down-converted frequencies, while the partial refresh (or might be full refresh) may still be performed in other frame periods where the images are partially or fully updated and the corresponding display data are transmitted by the AP.
Note that in the MFD mode, the AP may adjust the image sending frequency by itself based on whether the image content needs to be updated and its updating frequency. For example, the AP may reduce the image sending frequency by extending the VFP (i.e., VFP EXT) to extend the interval between the vertical synchronization signals VS. In such a situation, the time points to perform full refresh (i.e., the time points of sending the control signals TE) calculated by the DDIC should be adapted to the actual timing, and cannot be calculated solely by using the vertical synchronization signals VS. In other words, the DDIC may determine the frequency down-conversion by considering the vertical synchronization signals VS as well as the length of the extended VFP intervals (i.e., VFP EXT), and/or may count the frequencies in consideration of the absolute time containing the data transmission periods and the extended VFP intervals. In an embodiment, the DDIC may use a counter to count the number of horizontal synchronization signals HS, or use a timer to calculate the real time, in order to achieve an effective sequential frequency down-conversion control.
Under the display architecture of the MIPI video mode, the present invention provides the switching control between the MFD mode and the ARP mode for a display system, in order to achieve the purpose of power saving while ensuring the display quality. The above embodiments are only used for illustrating exemplary methods of signal transmission between the AP and the DDIC, but the present invention is not limited thereto. The following embodiments illustrate more feasible variations.
In the above embodiments, according to the MIPI specification, regardless of whether the display panel needs to perform full refresh or partial refresh, the AP should transmit full-screen display data to the DDIC in a predetermined format, and the DDIC selects the areas to be refreshed based on the information of the display lines that need to be refreshed carried in the command sent by the AP. In other embodiments, the AP is allowed to transmit only parts of the display data to be refreshed to the DDIC. In such a situation, if only several areas on the panel need to be refreshed, the AP may only transmit the display data in the corresponding time slots.
In the MFD mode, in addition to the more common frame rate allocation in the vertical direction, the new generation MFD scheme may combine the frame rate allocation in the vertical direction and the horizontal direction. For example, as shown in
In another embodiment, the MED operation may be integrated with the ARP mode. For example, as shown in
In this embodiment, since the panel refresh is solely based on the display data provided by the AP, when the display data received by the DDIC is accompanied by the corresponding information of the areas to be refreshed, the DDIC may refresh the corresponding pixels based on this information. If a frame of images needs to perform full refresh, the AP may send the information about the areas to be refreshed covering the entire panel to the DDIC, or alternatively send no information of partial refresh; hence, the DDIC may know that the display panel needs to be fully refreshed and thereby perform the full refresh operation.
The abovementioned operations of data transmission and panel refresh may be summarized into a control process 170, as shown in
Step 1702: Start counting time in a time period for receiving a first frame of display data, to generate a timing result.
Step 1704: Determine whether a timeout occurs according to the timing result.
Step 1706: Output a control signal TE to instruct the host processor to transmit a second frame of display data at the time when the timeout occurs.
Note that the abovementioned operations of data transmission and panel refresh may also be summarized into another control process 180, as shown in
Step 1802: Transmit a first frame of display data to the display driver circuit for driving the display panel.
Step 1804: Receive a control signal TE from the display driver circuit after transmitting the first frame of display data.
Step 1806: Transmit a second frame of display data in response to the control signal TE.
The detailed operations and alterations of the control processes 170 and 180 are illustrated in the above descriptions, and will not be narrated herein.
To sum up, the present invention may integrate the applications of MFD and ARP in the MIPI video mode. In addition to keeping the cost advantage of RAM-less in the video mode, the partial refresh mechanism may also be used to reduce the panel refresh area to save power consumption. The sequential frequency down-conversion mechanism of the ARP is also utilized to achieve an extremely low refresh rate, to achieve the purpose of power saving without affecting visual effects. In addition to the decrease in the refresh rate of the display panel, the data quantities sent through MIPI may also be reduced significantly, so as to further enhance power saving effects. In addition, in the present invention, the DDIC may be switched between the MED mode and the ARP mode by itself without being indicated by any commands or notifications sent by the AP, which may further improve the efficiency of display operations. In detail, the DDIC in the MFD mode may count time to determine that the AP does not update images when a timeout occurs (which means that the transmission of display data is lower than a certain frequency), and enter the ARP mode to perform sequential frequency down-conversion to save power of the MIPI. The DDIC in the ARP mode may automatically enter the MED mode when receiving the images actively sent by the AP, and start to perform the partial refresh display in the MED mode.
In an embodiment, in order to ensure the display quality, the DDIC may forcibly perform full refresh in the first N frame periods after entering the MFD mode, and send the control signals TE in the corresponding time points to instruct the AP to send images. In an embodiment, the DDIC use may the sequential frequency down-conversion control in the MFD mode to ensure the visual effects in low frame rate areas (i.e., the still image areas). In an embodiment, the AP is allowed to transmit only the display data to be refreshed to the DDIC, so that the DDIC performs partial refresh according to the received display data, and/or along with the indication of the areas to be refreshed. In an embodiment, the AP may stop sending the horizontal synchronization signal after completely sending the images, and the DDIC changes to use the internal horizontal synchronization signal to perform timing control of the display panel. In an embodiment, the information of the areas to be refreshed sent by the AP includes the coordinate information of pixels in the horizontal and vertical directions, so that the DDIC may perform partial refresh display in the horizontal and vertical directions accordingly. In an embodiment, the DDIC may perform partial refresh based on the display lines to be refreshed provided by the AP in the ARP mode, and the panel refresh is directly controlled by the AP. Except for contradictory or non-implementable situations, the above embodiments may be combined with each other to further enhance the power saving effect and improve the display quality.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This application claims the benefit of U.S. Provisional Application No. 63/614, 917, filed on Dec. 27, 2023. The content of the application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63614917 | Dec 2023 | US |