This invention relates to an interface circuit, and more particularly, to an interface circuit between a timing controller and source driver of a liquid crystal display.
An RSDS (reduced swing differential signaling) interface circuit or TTL (single edge of transistor logic) interface circuit is typically used between the timing controller 52 and the group of source drivers 56. In the RSDS or TTL interface, each value of the pixel of red, green or blue is represented by 6 bits, which necessitates 18 wire lines for RGB data transmission. With the demands of higher color resolution and image quality, the number of bits of the pixel value should be increased, for example, to 8 or 10. However, increasing the bits of the pixel value will necessitates more wire lines and therefore result in a larger power consumption, more serious EMI (electromagnetic interference) effect and higher fabrication cost.
It is therefore an aspect of the present invention to provide an interface circuit for data transmission and the method thereof in which a mechanism of dual edges is used to reduce the number of wire lines.
It is therefore another aspect of the present invention to provide an interface circuit for data transmission and the method thereof in which the number of transitions of the transmitted signal can be reduced by automatically detecting the number of transitions so that the power consumption can be reduced and the EMI effects can also be lowered.
In order to achieve the aforementioned aspects, the present invention provides an interface circuit including a transmitter, a transition detection unit, a transition reduction unit and a receiver. The transmitter provides data through first data signals during the data periods corresponding to rising and falling edges of a clock signal. The transition detection unit selectively asserts a detection signal in response to the number of the first data signals having transitions between every two adjacent data periods. The transition reduction unit generates second data signals by outputting the inverted and non-inverted first data signals, respectively, when the detection signal is asserted and de-asserted. The receiver restores the data from the second data signals and the detection signal.
According to the embodiment of the present invention, the detection signal is asserted when the number of the first data signals having transitions is greater than a threshold. The data restored by the receiver is substantially the same as the data provided by the transmitter. The transmitter and the receiver are located in a timing controller and a source driver of an LCD, respectively.
To achieve the aforementioned aspects, the present invention provides a method for data transmission comprising the following steps. First, data is provided through first data signals during data periods corresponding to rising and falling edges of a clock signal. A detection signal is then selectively asserted in response to the number of the first data signals having transitions between every two adjacent data periods. The second data signals are then generated by outputting the inverted and non-inverted first data signals, respectively, when the detection signal is asserted and de-asserted. The data are restored from the second data signals and the detection signal.
According to the embodiment of the present invention, the detection signal is asserted when the number of the first data signals having transitions is greater than a threshold. The data restored is substantially the same as the data provided. The data is provided and restored by a timing controller and a source driver of an LCD, respectively.
The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
While the present invention is susceptible of embodiment in various forms, there are presently preferred embodiments shown in the drawings and will hereinafter be described with the understanding that the present disclosure is to be considered as an exemplification of the invention and is not intended to limit the invention to the specific embodiment illustrated.
The transmitter 102 provides data through data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2 during the data periods corresponding to rising edges and falling edges of a clock signal RXCLK. More specifically, the bits R1(0), R1(1), R1(2), R1(3), R1(4) and R1(5) representing the value of the first red pixel are divided into two groups, one includes bits R1(0), R1(2), R1(4) and the other includes bits R1(1), R1(3), R1(5). In the first group, the bits R1(0), R1(2), R1(4) are transmitted respectively through the signals RSR0, RSR1 and RSR2 in parallel during the data period DP(1) corresponding to the falling edge FE1 of the clock signal RXCLK. In the second group, the bits R1(1), R1(3), R1(5) are transmitted respectively through the signals RSR0, RSR1 and RSR2 in parallel during the data period DP(2) corresponding to the rising edge RE1 of the clock signal RXCLK. Similarly, the bits G1(0), G1(1), G1(2), G1(3), G1(4) and G1(5) representing the value of the first green pixel are divided into two groups, one includes bits G1(0), G1(2), G1(4) and the other includes bits G1(1), G1(3), G1(5). In the first group, the bits G1(0), G1(2), G1(4) are transmitted respectively through the signals RSG0, RSG1 and RSG2 in parallel during the data period DP(1) corresponding to the falling edge FE1 of the clock signal RXCLK. In the second group, the bits G1(1), G1(3), G1(5) are transmitted respectively through the signals RSG0, RSG1 and RSG2 in parallel during the data period DP(2) corresponding to the rising edge RE1 of the clock signal RXCLK. The bits B1(0), B1(1), B1(2), B1(3), B1(4) and B1(5) representing the value of the first blue pixel are divided into two groups, one includes bits B1(0), B1(2), B1(4) and the other includes bits B1(1), B1(3), B1(5). In the first group, the bits B1(0), B1(2), B1(4) are transmitted respectively through the signals RSB0, RSB1 and RSB2 in parallel during the data period DP(1) corresponding to the falling edge FE1 of the clock signal RXCLK. In the second group, the bits B1(1), B1(3), B1(5) are transmitted respectively through the signals RSB0, RSB1 and RSB2 in parallel during the data period DP(2) corresponding to the rising edge RE1 of the clock signal RXCLK. The values of the second, third and all the following red, green and blue pixels are transmitted in a way the same as the above.
The transition detection unit 104 selectively asserts detection signals POL20 and POL21 in response to the number of the data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2 having transitions between every two adjacent data periods. The detection signals POL20 is asserted if more than half of the number of the data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2 have transitions between the two adjacent data periods DP(2n) and DP(2n+1), while the detection signals POL21 is asserted if more than half of the number of the data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2 have transitions between the two adjacent data periods DP(2n−1) and DP(2n), wherein n is a natural number. More specifically, in the data period DP(1), the transmitted bits R1(0), R1(2), R1(4), G1(0), G1(2), G1(4), B1(0), B1(2) and B1(4) are respectively 0, 0, 0, 1, 1, 0, 1, 0 and 1, while the transmitted bits R1(1), R1(3), R1(5), G1(1), G1(3), G1(5), B1(1), B1(3) and B1(5) are respectively 1, 0, 0, 0, 0, 0, 0, 0 and 1 in the data period DP(2). Since the levels of the data signals RSR0, RSG0, RSG1 and RSB0 changed from 1 to 0 or from 0 to 1, they have transitions between the two adjacent data periods DP(1) and DP(2). However, since the number of the data signals having transitions is 4, which is smaller than half of the number of the data signals, the transition detection unit 104 de-asserts the detection signal POL21. In the data period DP(3), the transmitted bits R2(0), R2(2), R2(4), G2(0), G2(2), G2(4), B2(0), B2(2) and B2(4) are respectively 1, 0, 0, 0, 0, 0, 1, 0 and 1. Since only the level of the data signal RSB0 changed from 0 to 1 between the two adjacent data periods DP(2) and DP(3), the transition detection unit 104 de-asserts the detection signal POL20. In the data period DP(4), the transmitted bits R2(1), R2(3), R2(5), G2(1), G2(3), G2(5), B2(1), B2(3) and B2(5) are respectively 0, 1, 1, 1, 1, 1, 1, 0 and 1. Since the levels of the data signals RSR0, RSR1, RSR2, RSG0, RSG1 and RSG2 changed from 0 to 1 or from 1 to 0 between the two adjacent data periods DP(3) and DP(4), the transition detection unit 104 asserts the detection signal POL21.
The transition reduction unit 106 generates data signals RSR0′, RSR1′, RSR2′, RSG0′, RSG1′, RSG2′, RSB0′, RSB1′ and RSB2′ by selectively outputting the inverted and non-inverted data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2 in response to the assertion and de-assertion of the detection signals POL20 and POL21. More specifically, since the detection signal POL21 is de-asserted when the transition reduction unit 106 receives the bits R1(1), R1(3), R1(5), G1(1), G1(3), G1(5), B1(1), B1(3) and B1(5), the transition reduction unit 106 outputs the non-inverted data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2 as the signals RSR0′, RSR1′, RSR2′, RSG0′, RSG1′, RSG2′, RSB0′, RSB1′ and RSB2′. Similarly, since the detection signal POL20 is de-asserted when the transition reduction unit 106 receives the bits R2(0), R2(2), R2(4), G2(0), G2(2), G2(4), B2(0), B2(2) and B2(4), the transition reduction unit 106 outputs the non-inverted data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2 as the signals RSR0′, RSR1′, RSR2′, RSG0′, RSG1′, RSG2′, RSB0′, RSB1′ and RSB2′. However, when the transition reduction unit 106 receives the bits R2(1), R2(3), R2(5), G2(1), G2(3), G2(5), B2(1), B2(3) and B2(5), the detection signal POL21 is asserted. The transition reduction unit 106 inverts the data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2, and output them as the signals RSR0′, RSR1′, RSR2′, RSG0′, RSG1′, RSG2′, RSB0′, RSB1′ and RSB2′.
The receiver 108 restores the data provided by the transmitter 102 from the data signals RSR0′, RSR1′, RSR2′, RSG0′, RSG1′, RSG2′, RSB0′, RSB1′ and RSB2′, and the detection signals POL20 and POL21. More specifically, since the detection signal POL21 is de-asserted when the receiver 108 receives the bits R1(1), R1(3), R1(5), G1(1), G1(3), G1(5), B1(1), B1(3) and B1(5), the receiver 108 identifies the bits carried by the signals RSR0′, RSR1′, RSR2′, RSG0′, RSG1′, RSG2′, RSB0′, RSB1′ and RSB2′ as those provided by the transmitter 102. Similarly, since the detection signal POL20 is de-asserted when the receiver 108 receives the bits R2(0), R2(2), R2(4), G2(0), G2(2), G2(4), B2(0), B2(2) and B2(4), the receiver 108 identifies the bits carried by the signals RSR0′, RSR1′, RSR2′, RSG0′, RSG1′, RSG2′, RSB0′, RSB1′ and RSB2′ as those provided by the transmitter 102. However, when the receiver 108 receives the bits R2(1), R2(3), R2(5), G2(1), G2(3), G2(5), B2(1), B2(3) and B2(5), the detection signal POL21 is asserted. The receiver 108 identifies the complements of the bits carried by the data signals RSR0, RSR1, RSR2, RSG0, RSG1, RSG2, RSB0, RSB1 and RSB2, as those provided by the transmitter 102.
Thus, in the previously described interface circuit, each 6-bit pixel value are transmitted within one period of the clock signal through only 3 data signals, which halves the number of the wire lines between the timing controller and source driver in comparison with the conventional RSDS or TTL interface circuit. Moreover, the transitions occurring in the data signals are reduced, which alleviates the EMI issue in double data rate transmission.
As is understood by a person skilled in the art, the foregoing preferred embodiments of the present invention are strengths of the present invention rather than limiting of the present invention. It is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims, the scope of which should be accorded the broadest interpretation so as to encompass all such modifications and similar structure.
Number | Name | Date | Kind |
---|---|---|---|
6335718 | Hong et al. | Jan 2002 | B1 |
7307613 | Teshirogi et al. | Dec 2007 | B2 |
7456814 | Lee et al. | Nov 2008 | B2 |
7474706 | Wang et al. | Jan 2009 | B2 |
RE40864 | Hong et al. | Jul 2009 | E |
20030030642 | Chen et al. | Feb 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20070273631 A1 | Nov 2007 | US |