The invention relates to a driving method and a driver circuit, more specifically, to a method for driving a display panel and a driver circuit configured to drive a display panel.
An electronic device with a display function typically includes a display panel and a driver chip. The driver chip is configured to drive the display panel to display an image. The driver chip is connected to the display panel through a fan-out area to output display data to drive the display panel. In order to reduce the length of the fan-out area between the driver chip and the display panel, extended connecting lines of the display panel may be laid out in the active area of the display panel. However, for the driver chip to drive a display panel with this layout, the sequence of the data outputted to the display panel must be changed so that the display data could properly drive the pixels on the display panel.
The invention is directed to a method for driving a display panel and a driver circuit, capable of rearranging display data to adaptively drive the display panel having different data line layout.
A method for driving a display panel is provided. The method includes: receiving a first display data having a first data sequence; rearranging the first display data to generate a second display data having a second data sequence according to at least one setting signal; and outputting the second display data to drive the display panel. The second data sequence is different from the first data sequence.
A driver circuit configured to drive a display panel is provided. The driver circuit includes a processing circuit. The processing circuit is configured to receive a first display data having a first data sequence, rearrange the first display data to generate a second display data having a second data sequence according to at least one setting signal, and output the second display data to drive the display panel. The second data sequence is different from the first data sequence.
To make the aforementioned more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Embodiments are provided below to describe the disclosure in detail, though the disclosure is not limited to the provided embodiments, and the provided embodiments could be suitably combined. The term “coupling/coupled” or “connecting/connected” used in this specification (including claims) of the application may refer to any direct or indirect connection means. For example, “a first device is coupled to a second device” should be interpreted as “the first device is directly connected to the second device” or “the first device is indirectly connected to the second device through other devices or connection means.” In addition, the term “signal” could refer to a current, a voltage, a charge, a temperature, data, electromagnetic wave or any one or multiple signals.
The driver circuit 110 is configured to drive the display panel 120 to display images. The driver circuit 110 includes a processing circuit 112, an image data processing circuit 114, a source driver circuit 116, and gate signal circuits 118_1 and 118_2. The image data processing circuit 114 receives image data D_IN0 from a host, e.g. an application processor (AP) of the electronic device 100, and preforms some data processing operations on the image data D_IN0. The image data processing circuit 114 outputs a first display data D_IN to the processing circuit 112. The processing circuit 112 is adapted to perform a data rearrangement operation on the first display data D_IN according to at least one setting signal S_SET. For example, the processing circuit 112 may receive the first display data D_IN and rearrange the first display data D_IN to generate a second display data D_OUT according to the at least one setting signal S_SET. The driver circuit 110 outputs the second display data D_OUT to the source driver circuit 116. The source driver circuit 116 converts the second display data D_OUT of digital format into voltage signals of analog format to drive the display panel 120 to display images. In addition, the gate signal circuits 118_1 and 118_2 may output gate signals to gate circuits on the display panel 120, such that the gate circuits could generate scan signals to drive scan lines of the display panel 120. The number of the gate signal circuits 118_1 and 118_2 does not intend to limit the invention.
Regarding hardware structures of the components in the embodiment of
In the present embodiment, the electronic device 100 may be an electronic device having a display function, a touch sensing function and/or a fingerprint sensing function. In an embodiment, the electronic device 100 may be, but not limited to, a smartphone, a non-smart phone, a wearable electronic device, a tablet computer, a personal digital assistant, a notebook and other portable electronic devices that could operate independently and have the display function, the touch sensing function and/or the fingerprint sensing function. In an embodiment, the electronic device 100 may be, but not limited to, a portable or un-portable electronic device in a vehicle intelligent system. In an embodiment, the electronic device 100 may be, but not limited to, intelligent home appliances such as, a television, a computer, a refrigerator, a washing machine, a telephone, an induction cooker, a table lamp and so on.
In order to reduce a length L of the fan-out area 430, a layout of data lines of the display panel 420 may be implemented in a manner of fan-out in active area (FIAA). In the present embodiment, FIAA layout is adopted for data lines, and thus the length L of the fan-out area 430 of
In the present embodiment, some pin numbers of the display panel 620 are interlaced due to FIAA layout. For example, in the dotted block 601, the pin numbers 488 to 1 and the pin numbers 489 to 976 are interlaced. The pin numbers 488 to 1 are arranged from left to right in a negative sequence, and the pin numbers 489 to 976 are arranged from left to right in the positive sequence, wherein the negative sequence is an inverse sequence of the positive sequence. The negative sequence is the decreasing sequence of numbers in a predetermined direction, and the positive sequence is the increasing sequence of numbers in the same direction. In the present embodiment, the predetermined direction is from left to right. On the other hand, in the dotted block 602, the pin numbers 2160 to 1673 and the pin numbers 1185 to 1672 are interlaced. The pin numbers 2160 to 1673 are arranged from left to right in the negative sequence, and the pin numbers 1185 to 1672 are arranged from left to right in the positive sequence. In addition, in the dotted block 603, the pin numbers 977 to 1184 are arranged from left to right in the positive sequence.
In the embodiment of
To be specific, the display panel 820 includes a first edge region 821, a second edge region 822, and a center region 823, wherein the first edge region 821 and the second edge region 822 are located at two opposite sides of the center region 823. FIAA layout is adopted for the data lines corresponding to the first edge region 821 and the second edge region 822 of the display panel 820. It is required to rearrange the data sequence of the display data outputted to data lines corresponding to the first edge region 821 and the second edge region 822 to adaptively drive the display panel 820. The data rearrangement operation performed on the display data outputted to data lines corresponding to the first edge region 821 and the second edge region 822 could be separately set and independently performed by the single chip integrated circuit 810.
Similarly, FIAA layout is adopted for the data lines corresponding to the first edge region 921 and the second edge region 922 of the display panel 920, wherein the first edge region 921 and the second edge region 922 are located at two opposite sides of the center region 923. It is also required to rearrange the data sequence of the display data outputted to data lines corresponding to the first edge region 921 and the second edge region 922 to adaptively drive the display panel 920. The data rearrangement operation performed on the display data outputted to data lines corresponding to the first edge region 921 and the second edge region 922 could be separately set and independently performed by the chip integrated circuits 910_1 and 910_2.
Some embodiments of data rearrangement will be described in the following description, and it should be noted that the described embodiments are not limited to the FIAA layout and the interlaced sequence depicted in
In
The data arranging circuit 122 is configured to perform the data rearrangement operation on the first display data D_IN. For example, the data arranging circuit 122 may rearrange the data indexes of the first display data D_IN, and store the rearranged data index 1200 to the buffer circuit 124. The buffer circuit 124 is configured to store the rearranged data indexes 1200. The processing circuit 112 could generate the second display data D_OUT according to the rearranged data indexes 1200 stored in the buffer circuit 124.
To be specific, taking the electronic device 100 for example, in step S100, the processing circuit 112 receives the first display data D_IN having a first data sequence as illustrated in
In step S110, the processing circuit 112 rearranges the first display data D_IN to generate the second display data D_OUT having a second data sequence via the data arranging circuit 122 according to the at least one setting signal S_SET, wherein the second data sequence is different from the first data sequence, as illustrated in
In step S120, the processing circuit 112 outputs the second display data D_OUT to drive the display panel 120. In an embodiment, the processing circuit 112 may access the rearranged data indexes 1200 stored in the buffer circuit 124, and generate and output the second display data D_OUT according to the stored data indexes 1200.
In
The data sequence of the first part FD_1 is rearranged according to the at least one setting signal S_SET. The first part FD_1 of the first display data D_IN is arranged from the first edge region 821 to the center region 823 of the display panel 120 in the negative sequence after rearrangement. For example, in the rearranged data indexes 1200, the data indexes m to 1 of the first part FD_1 is rearranged from left to right in the negative sequence, wherein m is an integer, and 1<m<n/2.
The data sequence of the third part ND is maintained unchanged according to the at least one setting signal S_SET. The third part ND of the first display data D_IN is maintained in the positive sequence from left to right of the display panel 120. For example, the data indexes m+1 to n/2 of the third part ND is maintained as the positive sequence after rearrangement.
On the other hand, the first part FD and some data of the third part ND are interlaced in the second display data D_OUT. The region IR1 is an interlaced region, and the region NIR1 is a non-interlaced region. To be specific, the first part FD_1 of the first display data D_IN includes a plurality of first data units FD1 and FD2, and the third part ND of the first display data D_IN includes a plurality of third data units ND1 and ND2. The first data units FD1 and FD2 are interlaced with the third data units ND1 and ND2.
In the present embodiment, the first data units FD1 include one data Dm or D3, and the first data units FD2 include two data Dm−1 and Dm−2 or D2 and D1. The first data units FD1 and FD2 include different numbers of data, but the invention is not limited thereto. In an embodiment, the first data units may include the same number of data. In an embodiment, each of the first data units may include different number of data.
In the present embodiment, the third data units ND1 include two data Dm+1 and Dm+2 or D3m−5 and D3m−4, and the third data units ND2 include four data Dm+3, Dm+4, Dm+5, and Dm+6. The third data units ND1 and ND2 include different numbers of data, but the invention is not limited thereto. In an embodiment, the third data units may include the same number of data. In an embodiment, each of the third data units may include different number of data.
In addition, the first display data D_IN further includes a second part. The second part of the first display data D_IN is configured to drive data lines located in the second edge region 822 of the display panel 120. For clarity and conciseness, only the first part and some of the third part, i.e. n/2 data, are illustrated in
In an embodiment, the second display data D_OUT may include 2160 data, i.e. n=2160 and n/2=1080, and the first part FD_1 may include 488 data, i.e. m=488, and the second part (not shown) may also include 488 data, wherein n/2 and m are the data indexes of Dn/2 and Dm.
The data rearrangement operation performed on the second part of the first display data D_IN could be deduced by referring to
To be specific, after the data rearrangement operation of
Therefore, in the present embodiment, the data rearrangement operation includes the data shift operation to flexibly adjust the first display data D_IN to match more panel layout requirements.
The second display data D_OUT includes interlaced regions IR1 and IR2 and non-interlaced regions NIR1 and NIR2. Taking
The second display data D_OUT includes a first part FD_1, a second part FD_2 and a third part ND. The first part FD_1 includes a plurality of first data units FD1_BG and FD1_RG. The second part FD_2 includes a plurality of second data units FD3_BG and FD3_RG. The third part ND includes a plurality of third data units ND1. Each of the first data units FD1_BG and FD1_RG, the second data units FD3_BG and FD3_RG, and the third data units ND1 is set to have the same number of data, e.g. two data. The first data units FD1_BG and FD1_RG and the third data units ND1 are interlaced in the interlaced region IR1. The second data units FD3_BG and FD3_RG and the third data units ND1 are interlaced in the interlaced region IR2.
In an embodiment, the interlaced region IR1 may simply include the first data units FD1_BG and FD1_RG, and the interlaced region IR2 may simply include the second data units FD3_BG and FD3_RG. That is, the first data units FD1_BG and FD1_RG, the second data units FD3_BG and FD3_RG and the third data units ND1 are not interlaced.
In the present embodiment, each of the first data units FD1_BG and FD1_RG, the second data units FD3_BG and FD3_RG, and the third data units ND1 is set to have two data, but the invention is not limited thereto. In an embodiment, the number of data of each of the first data units FD1_BG and FD1_RG, the second data units FD3_BG and FD3_RG, and the third data units ND1 may be set as one data. In an embodiment, the number of data of each of the first data units FD1_BG and FD1_RG and the second data units FD3_BG and FD3_RG may be set as two data, and the number of data of each of the third data units ND1 may be set as four data.
For the first part FD_1 of the second display data D_OUT, the first part FD_1 is rearranged from the first edge region 821 to the center region 823 of the display panel 120 in the negative sequence. For example, the first data unit FD1_BG is rearranged to include data Dm and Dm−1, and the first data unit FD1_RG is rearranged to include Dm−2 and Dm−3.
For the second part FD_2 of the second display data D_OUT, the second part FD_2 is rearranged from the center region 823 to the second edge region 822 of the display panel 120 in the negative sequence. For example, the second data unit FD3_BG is rearranged to include data Dn and Dn−1, and the second data unit FD3_RG is rearranged to include data Dn−2 and Dn−3.
In an embodiment, the second display data D_OUT may include 2160 data, i.e. n=2160, and the first part FD_1 may include 488 data, i.e. m=488, and the second part FD_2 may also include 488 data, i.e. n-m+1=1673, wherein n, m and n-m+1 are the data indexes of Dn, Dm, and Dn−m+1.
To be specific, for the first part FD_1 of the second display data D_OUT, the first part FD_1 is rearranged from the first edge region 821 to the center region 823 of the display panel 120 in the positive sequence. For example, the first data unit FD1_RG is rearranged to include data D1 and D2, and the first data unit FD1_BG is rearranged to include D3 and D4.
For the second part FD_2 of the second display data D_OUT, the second part FD_2 is rearranged from the center region 823 to the second edge region 822 of the display panel 120 in the positive sequence. For example, the second data unit FD3_RG is rearranged to include data Dn−m+1 and Dn−m+2, and the second data unit FD3_BG is rearranged to include data Dn−m+3 and Dn−m+4.
Therefore, in the embodiment of
In the present embodiment, the data rearrangement operation includes a data swapping operation 1401. To be specific, for the first part FD_1 of the second display data D_OUT, the first part FD_1 is firstly rearranged from the first edge region 821 to the center region 823 of the display panel 120 in the negative sequence, and next, the processing circuit 112 could further swap a data sequence of each of the first data units FD1_BG and FD1_RG according to the at least one setting signal S_SET. That is, the data sequence of each of the first data units FD1_BG and FD1_RG could be swapped in a manner of subpixel base. For example, the first data unit FD1_BG is swapped from Dm and Dm−1 to Dm−1 and Dm, and the first data unit FD1_RG is swapped from Dm−2 and Dm−3 to Dm−3 and Dm−2.
For the second part FD_2 of the second display data D_OUT, the second part FD_2 is firstly rearranged from the center region 823 to the second edge region 822 of the display panel 120 in the negative sequence, and next, the processing circuit 112 could further swap a data sequence of each of the second data units FD3_BG and FD3_RG according to the at least one setting signal S_SET. That is, the data sequence of each of the second data units FD3_BG and FD3_RG could be swapped in the manner of subpixel base. For example, the second data unit FD3_BG is swapped from Dn and Dn−1 to Dn−1 and Dn, and the second data unit FD3_RG is swapped from Dn−2 and Dn−3 to Dn−3 and Dn−2.
Therefore, in the present embodiment, the data rearrangement operation includes the data swapping operation performed in the manner of subpixel base to flexibly adjust the first display data D_IN to obtain the second display data D_OUT to match more panel layout requirements and reduce the impact on panel manufacturing process.
In the present embodiment, the data swapping operation 1501 and 1502 is performed in the manner of subpixel base as well as pixel base. For the first part FD_1 of the second display data D_OUT, the first part FD_1 is firstly rearranged from the first edge region 821 to the center region 823 of the display panel 120 in the negative sequence, and next, the processing circuit 112 could further swap a data sequence of each of the first data units FD1 according to the at least one setting signal S_SET. That is, the data sequence of each of the first data units FD1 can be swapped in the manner of subpixel base as well as pixel base. For example, the left first data unit FD1 is swapped from Dm, Dm−1, Dm−2 and Dm−3 to Dm−1, Dm, Dm−3 and Dm−2 in the manner of subpixel base, and then further swapped from Dm−1, Dm, Dm−3 and Dm−2 to Dm−3, Dm−2, Dm−1 and Dm in the manner of pixel base.
For the second part FD_2 of the second display data D_OUT, the second part FD_2 is firstly rearranged from the center region 823 to the second edge region 822 of the display panel 120 in the negative sequence, and next, the processing circuit 112 could further swap a data sequence of each of the second data units FD3 according to the at least one setting signal S_SET. That is, the data sequence of each of the second data units FD3 could be swapped in the manner of subpixel base as well as pixel base. For example, the left second data unit FD3 is swapped from Dn, Dn−1, Dn−2 and Dn−3 to Dn−1, Dn, Dn−3 and Dn−2 in the manner of subpixel base, and then further swapped from Dn−1, Dn, Dn−3 and Dn−2 to Dn−3, Dn−2, Dn−1 and Dn in the manner of pixel base.
Therefore, in the present embodiment, the data rearrangement operation includes the data swapping operation performed in the manner of subpixel base as well as pixel base to flexibly adjust the first display data D_IN to obtain the second display data D_OUT to match more panel layout requirements and reduce the impact on panel manufacturing process.
In the present embodiment, the data swapping operation 1601 is performed in the manner of subpixel base. For the first part FD_1 of the second display data D_OUT, the first part FD_1 is firstly rearranged from the first edge region 821 to the center region 823 of the display panel 120 in the negative sequence, and next, the processing circuit 112 could further swap a data sequence of each of the first data units FD1 according to the at least one setting signal S_SET. That is, the data sequence of each of the first data units FD1 could be swapped in the manner of subpixel base. For example, the left first data unit FD1 is swapped from Dm, Dm−1 and Dm−2 to Dm−2, Dm−1, Dm in the manner of subpixel base.
For the second part FD_2 of the second display data D_OUT, the second part FD_2 is firstly rearranged from the center region 823 to the second edge region 822 of the display panel 120 in the negative sequence, and next, the processing circuit 112 could further swap a data sequence of each of the second data units FD3 according to the at least one setting signal S_SET. That is, the data sequence of each of the second data units FD3 could be swapped in the manner of subpixel base as well as pixel base. For example, the left second data unit FD3 is swapped from Dn, Dn−1 and Dn−2 to Dn−2, Dn−1, Dn in the manner of subpixel base.
Therefore, in the present embodiment, the data rearrangement operation includes the data swapping operation performed in the manner of subpixel base to flexibly adjust the first display data D_IN to obtain the second display data D_OUT to match more panel layout requirements and reduce the impact on panel manufacturing process.
For the third data unit ND_ST1 including the data Dm+1, the processing circuit 112 could shift the third part ND relative to the first part FD_1 according to the at least one setting signal S_SET, such that the third data unit ND_ST1 including the data Dm+1 is rearranged to left of the first data unit FD1 including the data Dm and Dm−1. On the other hand, for the third data unit ND_ST2 including the data Dn−m, the processing circuit 112 could also shift the third part ND relative to the second part FD_2 according to the at least one setting signal S_SET, such that the third data unit ND_ST2 including the data Dn−m is rearranged to right of the second data unit FD3 including the data Dn−m+2 and Dn−m+1. In the present embodiment, the number of shifted data is set as one data.
Therefore, in the present embodiment, the data rearrangement operation includes the data shift operation but not includes the data swapping operation to flexibly adjust the first display data D_IN to obtain the second display data D_OUT to match more panel layout requirements and reduce the impact on panel manufacturing process. In addition, the data shift operation without the data swapping operation could avoid the issue that the lengths of data lines are subject to incremental or decremental discontinuities.
In the present embodiment, the number of shifted data is set as three data. The third data unit ND_ST1 includes the data Dm, Dm+1 and Dm+2. The third data unit ND_ST2 includes the data Dn−m−1, Dn−m and Dn−m+1. As a result, the first data unit FD1 including the data Dm−1 and Dm−2 is outputted to data lines 1800 that are located between two neighboring pixels 1810 and 1820.
In addition, the last first data unit FD1_L including the data D1 is located between two neighboring third data units ND1, and the last first data unit FD1_L could be outputted to a dummy data line. Similarly, the last second data unit FD3_L including the data Dn is located between two neighboring third data units ND1, and the last first data unit FD3_L could be outputted to another dummy data line.
In the present embodiment, the number of data of each of the first data units FD1, the second data units FD3, and the third data units ND1 may be set as two data, but the invention is not limited thereto. In an embodiment, the number of data of each of the first data units FD1 and the second data units FD3 may be set as two data, and the number of data of each of the third data units ND1 may be set as four data.
Returning to
In the present embodiment, the at least one setting signal S_SET may include a plurality of setting signals S_FD, S_SEQ, S_FCD, S_NCD, S_SWAP and S_SFT to set parameters of the data rearrangement operation. For example, the setting signals S_FD, S_SEQ, S_FCD, S_NCD, S_SWAP and S_SFT and corresponding functions are listed in the following Table 1:
Therefore, the processing circuit 112 could rearrange the first display data D_IN to generate the second display data D_OUT according to at least one of the setting signals S_FD, S_SEQ, S_FCD, S_NCD, S_SWAP and S_SFT, such that the second display data D_OUT could adaptively drive the display panel 120 having FIAA layout.
In summary, in the embodiment, the data sequence of the display data outputted from the driver circuit is rearranged to adaptively drive the display panel. The display data corresponding to the edge regions of the display panel is required to be rearranged. The rearranged display data may be arranged in the negative sequence or the positive sequence in the interlaced regions. In addition, the data rearrangement operation may include the data swapping operation and the data shift operation to flexibly adjust the display data to match more panel layout requirements and reduce the impact on panel manufacturing process.
It will be apparent to those skilled in the art that various modifications and variations could be made to the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure covers modifications and variations provided that they fall within the scope of the following claims and their equivalents.