# Patent

## Title
Data transmission system including encoder and a clock recovery system for display device, data transmission method for display device and display device

## Abstract

A display device includes an encoder having at least one translation table, and encoding m (m is a natural number) bits of a data to n (n is a natural number and n>m) bits of a data on a basis of the at least one translation table; a clock recovery circuit configured to recover a clock from the data encoded by the encoder; a decoder configured to decode the n bits of the encoded data to the m bits of the data in accordance with the clock recovered by the clock recovery circuit; an output driver configured to output a voltage in accordance with the data decoded by the decoder; and a display element having a pixel applied with the voltage.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is a Continuation Application of U.S. patent application Ser. No. 13/431,859, filed on Mar. 27, 2012, which is based on Japanese Patent Application No. 2011-073122 filed on Mar. 29, 2011, the entire contents of which are hereby incorporated by reference.


BACKGROUND
The present invention relates to a data transmission system for a display device, a data transmission method for a display device, and a display device, particularly relates to a data transmission system for a display device, a data transmission method for a display device, and a display device which adopt a clock-embedded serial data transmission system.
Generally, in a clock-embedded serial data transmission system, a clock data recovery circuit on a receiving side extracts a clock component from a received data, and recovers a clock. The recovered clock is referred to as a recovery clock. According to such a clock recovery system, when signals having the same level are consecutively received, the clock data recovery circuit cannot accurately recover the clock component. Therefore, there is adopted an encoding system such that signals having the same level are not made to be consecutive.
As an encoding system in which signals having the same level are not made to be consecutive, there is known an mBnB encoding system. According thereto, signals having the same level are not made to be consecutive by encoding a signal of m (m is a natural number) bits into a signal of n (n is a natural number and n>m) bits on the basis of a certain translation table to be transmitted thereafter. There is widely adopted a 4B5B encoding system, a 8B10B encoding system or the like. As an example thereof, there is adopted the 4B5B encoding system also in IEEE802.3u which is a standard of Ethernet (registered trademark).
Japanese Unexamined Patent Publication No. Sho59(1974)-200561 discloses a technology where there are assigned 5 bits of bit patterns in which a number of 1 is 2 or 3 pieces, and consecutive numbers of the same code from the highest bit and the lowest bit are equal to or less than 2 to 4 bits of 16 kinds of bit patterns in a translation table of 4B5B encoding. Thereby, signals having the same level are restrained from being consecutive, and a mark rate (a rate of 0 to 1) is improved. Japanese Unexamined Patent Publication No. Heil(1989)-109826 discloses a technology of stabilizing a mark rate by preparing 2 sets of translation tables of mBnB encoding, and transmitting signals while switching the transmission tables at a constant period. Japanese Unexamined Patent Publication No. 2001-069181 discloses a technology of further restraining signals having the same level from being consecutive by transmitting the signals by subjecting the signals to no return inverse NRZx translation in an mBnB coding in mBnB encoding.
SUMMARY
The inventors found the following problem. As described later in details, in a data transmission system for a display device, an analog gray scale voltage is generated from a digital image data which is transmitted from a timing controller to a display driver (for example, source driver), and is outputted to each pixel of a display element. Here, the larger the amplitude of the gray scale voltage outputted, the larger the noise which is generated in accordance with the output. Therefore, there is also a high concern of generating a frequency difference or a phase difference between the received data and a recovery clock. In a case where the frequency difference or the phase difference is generated, the more frequent the changes of the signals received (the less consecutive the signals having the same level), at the higher speed, the correction of the frequency difference or the phase difference by the clock data recovery circuit is finished.
In the translation tables of Japanese Unexamined Patent Publication No. Sho59(1974)-200561, Japanese Unexamined Patent Publication No. Heil(1989)-109826, and Japanese Unexamined Patent Publication No. 2001-069181, signals having the same level are restrained from being consecutive and a mark rate is improved as a total of translation tables. Further, these are not created for a display device. Therefore, a consideration is not given to an influence of noise in accordance with outputting the gray scale voltage mentioned above. That is, according to the data transmission methods disclosed in Japanese Unexamined Patent Publication No. Sho59(1974)-200561, Japanese Unexamined Patent Publication No. Heil(1989)-109826, and Japanese Unexamined Patent Publication No. 2001-069181, in a case where the frequency difference or the phase difference is generated between the received data and the recovery clock by the noise mentioned above, the frequency difference or the phase difference cannot be corrected at a high speed. There is a concern of being inferior in a stability of data transmission.
According to one aspect of the present invention, there is provided a data transmission system for a display device, the data transmission system having an encoder having at least one translation table, and encoding m (m is a natural number) bits of a data to n (n is a natural number and n>m) bits of a data on the basis of the translation table, a clock recovery circuit of recovering a clock from the data encoded by the encoder, a decoder of decoding the n bits of the encoded data to the m bits of the data in accordance with the clock recovered by the clock recovery circuit, and an output driver of outputting a gray scale voltage in accordance with the data decoded by the decoder, in which in the translation table, the larger the amplitude of the gray scale voltage of a bit pattern in 2m pieces of bit patterns of the m bits of the data, the larger the data change index of the bit pattern which is assigned to the bit pattern in 2m pieces of bit patterns in 2n pieces of bit patterns of the n bits of the data.
According to another aspect of the present invention, there is provided a method of transmitting a data for a display device having the steps of encoding m (m is a natural number) bits of a data to n (n is a natural number and n>m) bits of a data on the basis of the translation table, recovering a clock from the encoded data, decoding the n bits of the encoded data to the m bits of the data in accordance with the recovered clock, and outputting a gray scale voltage in accordance with the decoded data, in which the larger the amplitude of the gray scale voltage of a bit pattern in 2m pieces of bit patterns of the m bits of the data, the larger the data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in 2n pieces of bit patterns of the n bits of the data in the translation table.
According to still another aspect of the present invention, there is provided a display device having an encoder having at least one translation table, and encoding m (m is a natural number) bits of a data to n (n is a natural number and n>m) bits of a data on the basis of the translation table, a clock recovery circuit of recovering a clock from the data encoded by the encoder, a decoder of decoding the n bits of the encoded data to the m bits of the data in accordance with the clock recovered by the clock recovery circuit, an output driver of outputting a gray scale voltage in accordance with the data decoded by the decoder, and a display element having multiple pixels applied with the gray scale voltage, in which in the translation table, the larger the amplitude of the gray scale voltage of a bit pattern in 2m pieces of bit patterns of the m bits of the data, the larger the data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in 2n piece of bit patterns of the n bits of the data.
According to the aspects of the present invention, in the translation table, the larger the amplitude of the gray scale voltage of a bit pattern in 2m pieces of bit patterns of the m bits of the data, the larger the data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in 2n pieces of bit patterns of the n bits of the data. Therefore, the present invention is excellent in a stability of data transmission.
According to the aspects of the present invention, there can be provided a data transmission system for a display device and a data transmission method for a display device excellent in the stability of the data transmission.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a data transmission system for a display device according to a first embodiment;
FIG. 2 is a block diagram of a CDR circuit according to the first embodiment;
FIG. 3A is a timing chart for explaining an influence of a noise by an amplitude of an output of a display driver (in a case where an amplitude is large in a normally black mode);
FIG. 3B is a timing chart for explaining an influence of a noise by an amplitude of an output of a display driver (in a case where an amplitude is small in a normally black mode);
FIG. 4A is a timing chart for explaining an influence of a noise by an amplitude of an output of a display driver (in a case where an amplitude is large in a normally white mode);
FIG. 4B is a timing chart for explaining an influence of a noise by an amplitude of an output of a display driver (in a case where an amplitude is small in a normally white mode);
FIG. 5A is a diagram showing a 4B5B encoder table according to the first embodiment;
FIG. 5B is a diagram showing a 4B5B decoder table according to the first embodiment;
FIG. 6 is a diagram showing an example of assigning 4 bits 16 kinds or bit patterns to 5 bits 32 kinds of bit patterns in a 4B5B translation table;
FIG. 7A is a diagram showing a 4B5B encoder table which is defined in IEEE802.3u according to a comparative example of the first embodiment;
FIG. 7B is a diagram showing a 4B5B decoder table which is defined in IEEE802.3u according to the comparative example of the first embodiment;
FIG. 8A is a diagram showing a 4B5B encoder table according to a second embodiment;
FIG. 8A is a diagram showing a 4B5B decoder table according to the second embodiment;
FIG. 9 is a block diagram of a data transmission system for a display device according to a third embodiment; and
FIG. 10 is a block diagram of a data transmission system for a display device according to a fourth embodiment.



DETAILED DESCRIPTION
A detailed description will be given of a specific embodiment to which the present invention is applied in reference to the drawings as follows. However, the present invention is not limited to the embodiment as follows. Further, the description and the drawings as follows are pertinently simplified in order to make the description clear.
First Embodiment
A description will be given of a data transmission system for a display device according to a first embodiment of the present invention in reference to FIG. 1. FIG. 1 is a block diagram of a data transmission system for a display device according to the first embodiment. As shown by FIG. 1, the data transmission system for a display device includes a Timing Controller 110 on a data transmitting side, a Display Driver 120 on a data receiving side, and a Display Element 130 at a data outputting destination. In the present embodiment, the Timing Controller 110 and the Display Driver 120 on the data receiving side are respectively configured by separate IC chips surrounded by dotted lines in FIG. 1.
Here, the Timing Controller 110 includes a Clock Generating Circuit CG, a 4B5B Encoder ENC, and a Parallel/Serial Converter PSC. Further, the Display Driver 120 includes a Clock Data Recovery Circuit CDR, a Serial/Parallel Converter SPC, a 4B5B Decoder DEC, a Latch Circuit 121, a Digital/Analog Converter (DAC) 122, and an Output Driver 123.
The Clock Generating Circuit CG generates a clock clk and supplies the generated clock clk to the 4B5B Encoder ENC and the Parallel/Serial Converter PSC.
The 4B5B Encoder ENC is operated in accordance with the clock clk supplied from the Clock Generating Circuit CG. Further, the 4B5B Encoder ENC includes a 4B5B translation table, and encodes a parallel transmission data pdt1 which is an input image data to a parallel transmission data pdt2 by using the 4B5B translation table.
Also the Parallel/Serial Converter PSC is operated in accordance with the clock clk supplied from the Clock Generating Circuit CG, and converts the parallel transmission data pdt2 into a serial data sd. The serial data sd is outputted from the Timing Controller 110, and is inputted to the Display Driver 120 via a Transmission Line TL.
The Clock Data Recovery Circuit CDR recovers a recovery clock clkr from the received serial data sd, and supplies the recovery clock clkr to the Serial/Parallel Converter SPC and the 4B5B Decoder DEC. Details of the Clock Data Recovery Circuit CDR will be described later.
The Serial/Parallel Converter SPC is operated in accordance with the recovery clock clkr supplied from the Clock Data Recovery Circuit CDR, and converts the serial data sd into a parallel receiving data pdr1.
Also the 4B5B Decoder DEC is operated in accordance with the recovery clock clkr supplied from the Clock Data Recovery circuit CDR. Further, the 4B5B Decoder DEC includes a 4B5B translation table for decoding the data encoded by the Encoder ENC. Further, the 4B5B Decoder DEC decodes the inputted parallel receiving data pdr1 into a parallel receiving data pdr2 by using the 4B5B translation table.
The latch circuit 121 temporarily holds the decoded parallel receiving data pdr2, and outputs the parallel receiving data pdr2 to DAC 122 at a predetermined timing. DAC 122 converts the parallel receiving data pdr2 which is a digital signal into an analog voltage signal.
The output driver 123 is configured by plural amplifiers respectively in correspondence with plural source lines of TFT's (Thin Film Transistor) which are arranged in the Display Element 130 in a matrix (not illustrated). Further, each amplifier of the output driver 123 generates a gray scale voltage by amplifying the analog voltage signal mentioned above, and outputs the gray scale voltage to the source line of the Display Element 130.
The Display Element 130 is, for example, a liquid crystal display element. Although not illustrated in FIG. 1, as is well known, the Display Element 130 is configured by a large number of pixels arranged in a matrix. Each element includes a TFT (Thin Film Transistor) as a switching element. TFT's are provided at plural source lines extended in an up and down direction of FIG. 1, plural gate lines extended in a left and right direction of FIG. 1, and respective intersecting portions of the source lines and the gate lines.
Here, a description will be given of the Clock Data Recovery Circuit CDR in reference to FIG. 2. FIG. 2 is a block diagram of the Clock Data Recovery Circuit CDR according to the first embodiment. As shown by FIG. 2, the CDR circuit according to the first embodiment is a PLL (Phase Locked Loop) Circuit, and includes a Frequency Detector FD, a Phase Detector PD, a Frequency Control Charge Pump FCP, a Phase Control Charge Pump PCP, a Loop Filter LF, and a Voltage Controlled Oscillator VCO.
The Frequency Detector Circuit FD detects a difference of frequencies of the serial data sd transmitted from the Timing Controller and the recovery clock clkr. That is, the Frequency Detector FD extracts clock frequency information from the received serial data sd. The Frequency Detector FD executes a coarse control of the frequency of the recovery clock clkr.
When the frequency of the recovery clock clkr is lower than the frequency of the received serial data sd, the Frequency Detector FD generates a signal fup for increasing the frequency of the recovery clock clkr, and outputs the signal fup to the Frequency Control Charge Pump FCP. When the frequency of the recovery clock clkr is higher than the frequency of the received serial data sd, the Frequency Detector FD generates a signal fdn for reducing the frequency of the recovery clock clkr, and outputs the signal fdn to the Frequency Control Charge Pump FCP.
The Phase Detector PD detects a difference of phases of the serial data sd transmitted from the Timing Controller and the recovery clock clkr. That is, the Phase Detector PD extracts clock phase information from the received serial data sd. The Phase Detector PD executes a fine control of the frequency of the recovery clock clkr.
When the phase of the recovery clock clkr is more retarded than the phase of the received serial data sd, the Phase Detector PD generates a signal pup for advancing the phase of the recovery clock clkr, and outputs the recovery clock clkr to the Phase Control Charge Pump PCP. When the phase of the recovery clock clkr is more advanced than the phase of the received serial data sd, the Phase Detector PD generates a signal pdn for retarding the phase of the recovery clock clkr, and outputs the signal pdn to the Phase Control Charge Pump PCP.
The Frequency Control Charge Pump FCP generates an analog current signal from the inputted signal fup or the inputted signal fdn, and outputs the analog current signal to the Loop Filter LF. Similarly, the Phase Control Charge Pump PCP generates an analog current signal from the inputted signal Pup or the inputted signal pdn and outputs the analog current signal to the Loop Filter LF. The Loop Filter LF generates a control voltage signal on the basis of the analog current signals inputted from the Frequency Control Charge Pump FCP and the Phase Control Charge Pump PCP.
Further, the Voltage Controlled Oscillator VCO generates the recovery clock clkr of a frequency in accordance with the control voltage signal inputted from the Loop Filter LF. The recovery clock clkr is outputted to the Serial/Parallel Converter SPC and the 4B5B Decoder DEC of FIG. 1, and is fed back to the Frequency Detector FD and the Phase Detector PD.
Here, the Frequency Detector FD extracts frequency information by detecting a point of changing the received serial data sd, and comparing the received serial data sd with the recovery clock clkr. Similarly, the Phase Detector PD extracts phase information by detecting a point of changing the received serial data sd and comparing the received serial data sd with the recovery clock clkr. Therefore, the more consecutive the signals at the same level, the more unabled the extraction of the frequency information and the phase information. Therefore, there is adopted an encoding system in which signals at the same level are not consecutive.
Next, an explanation will be given of a principle of generating a noise in accordance with an output of a gray scale voltage from the Output Driver 123 in reference to FIGS. 3A and 3B, 4A and 4B. FIGS. 3A, 3B, 4A, and 4B are timing charts for explaining an influence of a noise by an amplitude of an output of a display driver. In any of the drawings, there are shown waveforms of a strobe signal STB, a polarity signal POL, a transmission data DATA, an output gray scale voltage OUT, and a noise NOISE successively from above. Further, signal levels (L, H) are alternately switched in accordance with timings of rises of the strobe signal STB indicated at an uppermost stage. At each time of switching the polarity signal POL, the transmission data DATA is outputted as the output gray scale voltage OUT. Here, as indicated by an arrow mark in the drawing, the transmission data DATA is outputted at a next output timing since the transmission data is latched by the latch circuit 121.
First, an explanation will be given of a case of a normally black mode in reference to FIGS. 3A and 3B. FIG. 3A shows a case in which an amplitude is large in the normally black mode. FIG. 3B shows a case in which the amplitude is small in the normally black mode. As shown by FIG. 3A, in a case of FFh (hexadecimal expression) in which a data value of an image data of 8 bits is the largest, the amplitude of the output gray scale voltage OUT is large, and also the noise NOISE is large. On the other hand, as shown by FIG. 3B, in a case of 00h (hexadecimal expression) in which the data value of the image data of 8 bits is the smallest, the amplitude of the gray scale voltage OUT is small, and also the noise NOISE is small.
Next, an explanation will be given of a case of a normally white mode in reference to FIGS. 4A and 4B. FIG. 4A shows a case in which an amplitude is large in a normally white mode. FIG. 4B shows a case in which the amplitude is small in the normally white mode. As shown by FIG. 4A, in a case of 00h (hexadecimal expression) in which a data value of an image data of 8 bits is the smallest, the amplitude of the gray scale voltage OUT becomes large, and also the noise NOISE is large. On the other hand, as shown by FIG. 4B, in a case of FFh (hexadecimal expression) in which the data value of the image data of 8 bits is the largest, the amplitude of the output gray scale voltage OUT is small, and also the noise NOISE is small.
In this way, in the case of the normally black mode, the larger the data value of the transmission data DATA, the larger the amplitude of the output gray scale voltage OUT, and the larger the noise NOISE in accordance with the output. On the other hand, in the case of the normally white mode, the smaller the data value of the transmission data DATA, the larger the amplitude of the output of gray scale voltage OUT, and the larger the noise NOISE in accordance with the output. Therefore, there are brought about the frequency difference and the phase difference between the received data and the recovery clock, and there is a concern that the data cannot correctly be received.
Next, an explanation will be given of a 4B5B translation table in reference to FIGS. 5A and 5B. The translation table is one of technical features of the present invention. FIG. 5A is a diagram showing a 4B5B encoder table according to the first embodiment. FIG. 5B is a diagram showing a 4B5B decoder table according to the first embodiment. FIGS. 5A and 5B show a case of a normally black mode.
As described above, in a case where a frequency difference or a phase difference is brought about by a noise NOISE in accordance with an output of a gray scale voltage, the more frequently the changes in the received serial data sd (the more inconsecutive the signals having the same level), at the high speed, a correction of the frequency difference or the phase difference is finished by the Clock Data Recovery Circuit CDR, which is advantageous. Hence, according to the present embodiment in a case of the normally black mode, there is assigned a bit pattern of 5B in which changes of the serial data sd is frequent successively from an output gray scale voltage OUT having a large amplitude, that is, from a transmission data DATA having a large data value. Thereby, a stable data transmission can be realized even in a case where the amplitude of the output gray scale voltage OUT is large, and the noise is liable to be generated.
Specifically, in an example of FIG. 5A, there is assigned 5 bits of a bit pattern 5B=10101 having a number of times of changes of 4 to 4 bits of a maximum value 4B=1111 (Hex=F) which is shown at the lowest line of the table. Therefore, the 4B5B Encoder ENC encodes an image data “FFh, FFh, . . . , FFh” to “1010110101, 1010110101, . . . , 1010110101”.
There is assigned 5 bits of a bit pattern 5B=01010 having a number of times of changes of 4 to the second largest 4 bits value 4B=1110 (Hex=E) that is indicated at the second line from a bottom of the table. There is assigned 5 bits of a bit pattern 5B=10110 having a number of times of changes of 3 to the third largest 4 bits value 4B=1101 (Hex=D) indicated at the third line from the bottom of the table. In the following, as shown by FIG. 5A, there is assigned 5 bits of bit patterns to 4 bits of bit patterns. Further, a description will be given later of details of the method of creating the 4B5B translation table in reference to FIG. 6.
FIG. 5B is an inverse translation table (decode table) of the translation table (encode table) of FIG. 5A. That is, by the translation table of FIG. 5B, 5 bits of the bit patterns are respectively decoded to 4 bits of the original bit patterns. For example, the 4B5B decoder DEC decodes the encoded image data “1010110101, 1010110101, . . . , 1010110101” to “FFh, FFh, . . . , FFh”.
Next, a detailed explanation will be given of a method of creating the 4B5B translation table in reference to FIG. 6. FIG. 6 is a diagram showing an example of assigning 4 bits 16 kinds of bit patterns to 5 bits 42 kinds of bit patterns in a 4B5B translation table.
Here, consider to define an mBnB translation table which assigns n (n is a natural number and n>m) bits of a bit pattern having a large number of changes of bits to m (m is a natural number) bits of an image data having a large data value by generalizing the 4B5B translation table. Hence, first, there is calculated a data change index which is a number of times of changes of 1 and 0 for 2n ways of bit patterns of a translation object. The data change index is obtained by Equation (1) as follows when values of n bits of bit patterns (1 or 0) are designated by notations bn-1, bn-2, . . . , b0 successively from MSB to LSB.




  
    
      
        
          Equation
          ⁢
          
            
          
          ⁢
          1
        
        ⁢
        
          
        
      
    
    
      
        
      
    
  
  
    
      
        
          Data
          ⁢
          
            
          
          ⁢
          change
          ⁢
          
            
          
          ⁢
          index
        
        =
        
          
            ∑
            
              k
              =
              0
            
            
              n
              -
              2
            
          
          ⁢
          
            (
            
              
                b
                
                  k
                  +
                  1
                
              
              ⊕
              
                b
                k
              
            
            )
          
        
      
    
    
      
        (
        1
        )
      
    
  




⊕: EXOR (exclusive Or) calculation

Next, a translation table is defined by carrying out an assignment from n bits of a bit pattern having a larger value of an obtained data change index, and successively from m bits of a data having a larger data value. However, in a case where values of data change indexes of n bits of bit patterns stay the same, there is no particular restriction on which data value of m bits of a data is assigned.
A specific explanation will be given of a procedure of defining a 4B5B translation table in reference to FIG. 6. First, data change indexes are calculated for 5 bits of bit patterns of 25=32 ways. For example, when a data change index is calculated by using Equation (1) for a code of 10101, the data change index=4 as shown by Equation (2) as follows.




  
    
      
        
          Equation
          ⁢
          
            
          
          ⁢
          2
        
        ⁢
        
          
        
      
    
    
      
        
      
    
  
  
    
      
        
          Data
          ⁢
          
            
          
          ⁢
          change
          ⁢
          
            
          
          ⁢
          index
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          10101
        
        =
        
          
            
              (
              
                1
                ⊕
                0
              
              )
            
            +
            
              (
              
                0
                ⊕
                1
              
              )
            
            +
            
              (
              
                1
                ⊕
                0
              
              )
            
            +
            
              (
              
                0
                ⊕
                1
              
              )
            
          
          =
          
            
              1
              +
              1
              +
              1
              +
              1
            
            =
            4
          
        
      
    
    
      
        (
        2
        )
      
    
  




Next, a translation table is defined by carrying out an assignment successively from 5 bits of a bit pattern having a larger calculated data change index, and from 4 bits of a data having a larger data value. There is assigned either of 5 bits of a bit pattern 5B=10101 or 5B=01010 which has a maximum data change index of 4 to either of 4 bits of a data 4B=1111 (Hex=F) having the largest data value or 4B=1110 (Hex=E) having the second largest data value. Here, in a case where values of data change indexes of n bits of bit patterns stay the same, there is no particular restriction on which data value of m bits of a data is assigned. Therefore, although in the translation table shown in FIG. 6, 5 bits of a bit pattern 5B=10101 is assigned to 4 bits of a data 4B=1111 (Hex=F) having the largest data value, 5 bits of a bit pattern 5B=01010 may be assigned thereto.
In the translation table (the same as that of FIG. 5A) shown on a right side of FIG. 6 which is obtained in this way, the larger the data value of 4 bits of data, the larger the data change index of 5 bits of the bit patterns assigned. Thereby, even in a case where the amplitude of the output gray scale voltage OUT is large, and a noise is liable to be generated, the stable data transmission can be realized.
Further, in a case of a normally black mode, it is necessary to assign 5 bits of a bit pattern having a larger data change index successively from a 4 bits data having a larger data value (a larger amplitude of the output gray scale voltage OUT). However, there may be 5 bits of a bit pattern which is not used in the midst of the assignment. For example, in FIG. 6, there is not assigned 5 bits of a bit pattern 5B=10001 which has a data change index of 2 to 4B=0000 (Hex=0), but there is assigned 5 bits of a bit pattern 5B=00111 having a data change index of 1. This is because 5 bits of a bit pattern 5B=10001 are used for other use.
Next, an explanation will be given of a 4B5B translation table which is defined in IEEE802.3u according to a comparative example of the first embodiment. FIG. 7A is a diagram showing a 4B5B encoder table which is defined in IEEE802.3u according to a comparative example of the first embodiment. FIG. 7B is a diagram showing a 4B5B decoder table which is defined in IEEE802.3u according to the comparative example of the first embodiment. Here, consider a case of a normally black mode.
In an example of FIG. 7A, there is assigned 5 bits of a bit pattern 5B=11101 having a number of times of changes (data change index) of 2 to 4 bits of the largest value 4B=1111 (Hex=F) which is shown at the lowest line of the table. Therefore, the 4B5B Encoder ENC encodes image data “FFh, FFh, . . . , FFh” to “1110111101, 1110111101, . . . , 1110111101”.
There is assigned 5 bits of a bit pattern 5B=1110 having a number of times of changes (data change index) of 1 to 4 bits of the second largest value 4B=1110 (Hex=E) which is shown at the second line from the bottom of the table. There is assigned 5 bits of a bit pattern 5B=11011 having a number of times of changes (data change index) of 2 to 4 bits of the third largest value 4B=1101 (Hex=D) which is shown at the third line from the bottom of the table. In the following, as shown in FIG. 7A, 5 bits of bit patterns are assigned to 4 bits of bit patterns.
FIG. 7B is an inverse translation table (decode table) of the translation table (encode table) of FIG. 7A. That is, 5 bits of respective bit patterns are decoded to 4 bits of original bit patterns by the translation table of FIG. 7B.
In this way, in the comparative example, there is not assigned 5 bits of a bit pattern having a large data change index to a 4 bits data having a large data value (large amplitude of output gray scale voltage OUT). Therefore, in a case of a normally black mode, the comparative example is inferior to the present embodiment in the stability of data transmission.
Second Embodiment
Next, an explanation will be given of a 4B5B translation table according to a second embodiment of the present invention in reference to FIGS. 8A and 8B. FIG. 8A is a diagram showing a 4B5B encoder table according to the second embodiment. FIG. 8B is a diagram showing a 4B5B decoder table according to the second embodiment. FIGS. 8A and 8B show a case of a normally white mode. A configuration other than explained below is similar to that of the first embodiment, and therefore, an explanation thereof will be omitted.
As described above, in a case where a frequency difference or a phase difference is brought about by a noise NOISE in accordance an output of a gray scale voltage, the more frequent the change of the received serial data sd (the more inconsecutive the signals having the same level), at the higher speed the correction of the frequency difference or the phase difference is finished by the Clock Data Recovery Circuit CDR, which is advantageous. Hence, according to the present embodiment which is a case of a normally white mode, there is assigned bit patterns of 5B in which changes of the serial data sd are more frequent successively from transmission data DATA having the larger amplitude of the output gray scale voltage OUT, that is, the smaller data values. Thereby, the stable data transmission can be realized even in a case where the amplitude of the output gray scale voltage OUT is large, and a noise is liable to be generated.
Specifically, in an example of FIG. 8A, there is assigned 5 bits of a bit pattern 5B=10101 having a number of times of changes of 4 to 4 bits of the smallest value 4B=0000 (Hex=0) which is shown at the lowest line of the table. Therefore, the 4B5B Encoder ENC encodes image data “00h, 00h, . . . , 00h” to “1010110101, 1010110101, . . . , 1010110101”.
There is assigned 5 bits of a bit pattern 5B=01010 having a number of times of changes 4 to 4 bits of the second smallest value 4B=0001 (Hex=1) which is shown at the second line from the bottom of the table. There is assigned 5 bits of a bit pattern 5B=10110 having a number of times of changes of 3 to 4 bits of the third smallest value 4B=0010 (Hex=2) which is shown at the third line from the bottom of the table. In the following, as shown in FIG. 8A, there are assigned 5 bits of bit patterns to 4 bits of bit patterns. In this way, in a case of a normally white mode, there are assigned 5 bits of bit patterns having larger data change indexes successively from 4 bits data having smaller data values (larger amplitudes of the output gray scale voltages OUT).
FIG. 8B is an inverse translation table (decode table) of the translation table (encode table) of FIG. 8A. That is, 5 bits of respective bit patterns are decoded to 4 bits of original bit patterns by the translation table of FIG. 8B. For example, the 4B5B Decoder DEC decodes encoded image data “1010110101, 1010110101, . . . , 1010110101” to “00h, 00h, . . . , 00h”.
Next, consider a case of a normally white mode with regard to the 4B5B translation table which is defined by IEEE802.3u according to the comparative example of the first embodiment. In an example of FIG. 7A, there is assigned 5 bits of a bit pattern 5B=111110 having a number of changes of changes (data image index) of 1 to 4 bits of the smallest value 4B=0000 (Hex=0) which is shown at the topmost line of the table. Therefore, the 4B5B Encoder ENC encodes image data “00h, 00h, . . . , 00h” to “1111011110, 1111011110, . . . , 1111011110”.
There is assigned 5 bits of a bit pattern 5B=01001 having a number of times of changes (data change index) of 3 to 4 bits of the second smallest value 4B=0001 (Hex=1) which is shown at the second line from the top of the table. There is assigned 5 bits of a bit pattern 5B=10100 having a number of times of changes (date change index) of 3 to 4 bits of the third smallest value 4B=0010 (Hex=2) which is shown at the third line from the top of the table. In the following, as shown by FIG. 7A, 5 bits of bit patterns are assigned to 4 bits of bit patterns.
In this way, in the comparative example, there is not assigned 5 bits of a bit pattern having a large data change index to a 4 bits data having a small data value (a large amplitude of the output gray scale voltage OUT). Therefore, also in a case of a normally white mode, the comparative example is inferior to the present embodiment in the stability of the transmission.
Third Embodiment
Next, an explanation will be given of a data transmission system for a display device according to a third embodiment of the present invention in reference to FIG. 9. FIG. 9 is a block diagram of a data transmission system for a display device according to the third embodiment. A difference of the third embodiment from the first embodiment resides in that the Timing Controller 110 includes a Display Data Generating Circuit DDG, and the Display Driver 120 includes a Display Data Converter. The other configuration is similar to that of the first embodiment, and therefore, an explanation thereof will be omitted.
The Display Data Generating Circuit DDG regularly converts or inversely converts the parallel transmission data pdt1 in accordance with a display selecting signal ss1 to output to the 4B5B encoder ENC. Further, the Display Data Converter DDC regularly converts or inversely converts the parallel receiving data pdr2 which has been decoded by the 4B5B Decoder DEC in accordance with a display selecting signal ss2 to output to the latch circuit 121. Here, the display selecting signals ss1 and ss2 are signals for selecting a display mode of a normally black mode or a normally white mode. The display selecting signal ss1 is inputted from outside of the Timing Controller 110, and the display selecting signal ss2 is inputted from outside of the Display Driver 120.
For example, in a case where the 4B5B Encoder ENC and the 4B5B Decoder DEC include the 4B5B translation tables for the normally black mode of FIGS. 5A and 5B, the parallel transmission data pdt1 and the parallel receiving data pdr2 are regularly converted in the normally black mode, and inversely inverted in the normally white mode.
Specifically, in the case of the normally black mode, an image data FFh=11111111 which is liable to generate a noise the most is regularly converted by the Display Data Generating Circuit DDG on a transmitting side, and is outputted as 11111111. The 11111111 is encoded to 1010110101 by the 4B5B Encoder ENC. On a receiving side, 1010110101 is decoded to 11111111 by the 4B5B Decoder DEC. Further, 11111111 is regularly converted by the display Data Converter DDC and is outputted as 11111111==FFh.
On the other hand, in a case of the normally white mode, an image data 00h=00000000 which is liable to generate a noise the most is inversely converted by the Display Data Generating Circuit DDG on a transmitting side, and is outputted as 11111111. The 11111111 is encoded to 1010110101 by the 4B5B Encoder ENC. On a receiving side, 1010110101 is decoded to 11111111 by the 4B5B Decoder DEC. Further, 11111111 is inversely converted by the Display Data Converter DDC and is outputted as 00000000=00h.
Contrary to the above-described, in a case where the 4B5B encoder ENC and the 4B5B Decoder DEC have the 4B5B translation tables for the normally white mode of FIGS. 8A and 8B, the parallel transmission data pdt1 and the parallel receiving data pdr2 are inversely converted in the normally black mode and regularly converted in the normally white mode.
Specifically, in the case of the normally black mode, the image data FFh=11111111 which is liable to generate a noise the most is inversely converted by the Display Data Generating Circuit DDG on a transmitting side, and is outputted as 00000000. The 00000000 is encoded to 1010110101 by the 4B5B Encoder ENC. On the receiving side, 1010110101 is decoded to 00000000 by the 4B5B Decoder DEC. Further, 00000000 is inversely converted by the Display Data Converter DDC and is outputted as 11111111==FFh.
On the other hand, in the case of the normally white mode, an image data 00h=00000000 which is liable to generate a noise the most is regularly converted by the Display Data Generating Circuit DDG on a transmitting side, and is outputted as 00000000. The 00000000 is encoded to 1010110101 by the 4B5B Encoder ENC. On the receiving side, 1010110101 is decoded to 00000000 by the 4B5B Decoder DEC. Further, 00000000 is regularly converted by the Display Data Converter DDC and is outputted as 00000000==00h.
Both of the normally black mode and the normally white mode can be dealt with even by including only one kind of translation tables for the normally black mode or the normally white mode. The stable data transmission can be realized regardless of the display modes.
Fourth Embodiment
Next, an explanation will be given of a data transmission system for a display device according to a fourth embodiment of the present invention. FIG. 10 is a block diagram of a display device according to the fourth embodiment. According to the third embodiment, the display selecting signal ss1 is inputted from outside of the timing controller 110 and the display selecting signal ss2 is inputted from outside of the display driver 120. In contrast thereto, according to the fourth embodiment, the Timing Controller 110 includes a register REG1 which stores the display selecting signal ss1, and the Display Driver 120 includes a register REG2 which stores the display selecting signal ss2. The other configuration is similar to that of the third embodiment, and therefore, an explanation thereof will be omitted. Thereby, an effect similar to that of the third embodiment can be achieved.
Although the explanation has been given of the present invention in reference to the embodiments as described above, the present invention is not limited by the above-described. The configuration or the details of the present invention can variously be modified so as to be able to be understood by the person skilled in the art within in the scope of the present invention. Further, as described above, the present invention is applicable to the mBnB encoding system (m, n are natural numbers and m<n), and the present invention is particularly preferable for the 4B5B encoding system and the 8B10B encoding system.

## Claims

1. A display device comprising:
an encoder having at least one translation table, and encoding m (m is a natural number) bits of a data to n (n is a natural number and n>m) bits of a data on a basis of the at least one translation table;
a clock recovery circuit configured to recover a clock from the data encoded by the encoder;
a decoder configured to decode the n bits of the encoded data to the m bits of the data in accordance with the clock recovered by the clock recovery circuit;
an output driver configured to output a voltage in accordance with the data decoded by the decoder; and
a display element having a pixel applied with the voltage,

wherein, in the at least one translation table, a larger an amplitude of the voltage of a bit pattern in 2m pieces of bit patterns of the m bits of the data, a larger a data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in 2n piece of bit patterns of the n bits of the data,
wherein the at least one translation table is only one translation table for a normally first color mode or for a normally second color mode.

2. The display device according to claim 1, further comprising:
a data generating circuit configured to convert the data inputted to the encoder in accordance with a first display mode signal.

3. The display device according to claim 2, further comprising:
a data converter configured to convert the data outputted from the decoder in accordance with a second display mode signal.

4. The display device according to claim 1, further comprising:
a data converter configured to convert the data outputted from the decoder in accordance with a display mode signal.

5. The display device according to claim 4, further comprising:
a data generating circuit configured to convert the data inputted to the encoder in accordance with another display mode signal.

6. The display device according to claim 1, wherein the encoder includes a first translation table for the normally first color mode as the at least one translation table, and in the first translation table, a larger a data value of the bit pattern in the 2m pieces of bit patterns of the m bits of the data, a larger a data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in the 2n pieces of bit patterns of the n bits of the data.

7. The display device according to claim 1, wherein the encoder includes a second translation table for the normally second color mode as the at least one translation table, and in the second translation table, a smaller a data value of the bit pattern in the 2m pieces of bit patterns of the m bits of the data, a larger a data change index of the bit pattern which is assigned to the bit pattern hi the 2m pieces of bit patterns in the 2n pieces of bit patterns of the n bits of the data.

8. The display device according to claim 3, further comprising:
a first register configured to store the first display mode signal; and
a second register configured to store the second display mode signal.

9. The display device according to claim 3; wherein the first and the second display mode signals comprise signals indicating the normally first color mode or the normally second color mode.

10. The display device according to claim 1, further comprising:
a parallel-to-serial converter configured to subject the encoded data outputted from the encoder to a parallel-to-serial conversion; and
a serial-to-parallel converter configured to subject the data outputted from the parallel-to-serial converter to a serial-to-parallel conversion.

11. The display device according to claim 1, wherein the encoder includes a first translation table for the normally first color mode as the at least one translation table, a larger a data value of the bit pattern in the 2m pieces of bit patterns of the m bits of the data, a larger a data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in the 2n pieces of bit patterns of the n bits of the data.

12. The display device according to claim 1, wherein the encoder includes a second translation table for the normally second color mode as the at least one translation table, and in the second translation table, a smaller a data value of the bit pattern in the 2m pieces of bit patterns of the m bits of the data, a larger a data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in the 2n pieces of bit patterns of the n bits of the data.

13. The display device according to claim 5, further comprising:
a first register configured to store the display mode signal; and
a second register configured to store the another display mode signal.

14. The display device according to claim 5, wherein the display mode signal and the another display mode signal comprise signals indicating the normally first color mode or the normally second color mode.

15. The display device according to claim 3, further comprising:
a parallel-to-serial converter configured to subject the encoded data outputted from the encoder to a parallel-to-serial conversion; and
a serial-to-parallel converter configured to subject the data outputted from the parallel-to-serial converter to a serial-to-parallel conversion.

16. The display device according to claim 2, wherein the data generating circuit converts the data by either regularly converting or inversely converting the data.

17. The display device according to claim 1, wherein the display element includes a plurality of pixels for receiving the voltage.

18. The display device according to claim 1, wherein said voltage comprises a gray scale voltage.

19. The display device according to claim 1, wherein the normally first color mode comprises a black mode, and the normally second color mode comprises a white mode.

20. A display device comprising:
a translation table configured to encode m (m is a natural number) bits of a data to n (n is a natural number and n>m) bits of a data;
a clock recovery circuit configured to recover a clock from the data encoded with the translation table;
a decoder configured to decode the n bits of the encoded data to the m bits of the data in accordance with the clock recovered by the clock recovery circuit;
an output driver configured to output a voltage in accordance with the data decoded by the decoder; and
a display element having a pixel applied with the voltage,
wherein, in the translation table, a value of an amplitude of the voltage of a bit pattern in 2m pieces of bit patterns of the m bits of the data, is proportional to a value of a data change index of the bit pattern which is assigned to the bit pattern in the 2m pieces of bit patterns in 2n piece of bit patterns of the n bits of the data,
wherein the translation table is only one translation table for a normally first color mode or for a normally second color mode.