Data transfer method, data transfer circuit, output circuit, input circuit, semiconductor device, and electronic apparatus
A data transfer circuit comprises a voltage/current converter circuit for converting a first binary voltage data of n bits (n is an integer equal to or larger than two) to multi-value current data of 2n values which is output to a single data transfer line. A current comparator circuit converts the multi-value current data on the data transfer line to binary current data of (2n−1) bits, and a current/voltage converter circuit converts the binary current data of the (2n−1) bits to second binary voltage data of (2n−1) bits. A counter circuit restores the first binary voltage data of the n bits from the second binary voltage data of the (2n−1) bits.
Latest Patents:
The present invention relates to a data transfer method, a data transfer circuit, an output circuit, an input circuit, and an output circuit, and/or a semiconductor device and an electronic apparatus which use the input circuit.
BACKGROUND ARTWith the trend toward higher functions of digital image processing apparatuses, and a higher image quality including a higher resolution, a need has been increased for transferring a large amount of data at high speeds among digital circuits, for example, among LSI'S mounted in a digital image processing apparatus.
Assume herein that each of the upper and lower halves of a plasma display panel having a resolution WXGA (abbreviation of Wide-XGA, meaning the number of pixels of 4095 pixels×768 lines) is driven by a 256-bit, 4-port driver. In this event, an image processing LSI requires a number of output terminals corresponding to 128 (4095 pixels/256 pixels×4 ports×2 areas) bus lines. In other words, in a conventional data transfer method using bus lines for handing binary voltage data, a large number of lines and input/output terminals of LSI's are required, so that a higher cost is anticipated for high-resolution apparatuses which will make their appearance in the future.
The challenge associated with binary voltage data based data transfer which requires a large number of lines and input/output terminals of LSI's can be solved by using a multi-value voltage data rather than the binary voltage data. For example, if 2-bit, 3-bit, or 4-bit binary voltage data is encoded to four-value, eight-value, or 16-value multi-value voltage data and transmitted from the transmission side, and the multi-value voltage data can be restored to the original 2-bit, 3-bit, and 4-bit binary voltage data on the reception side, the foregoing challenge can be solved. In this event, the number of lines can be reduced to ½, ⅓, or ¼ as many as that for a binary voltage data transfer.
However, for performing higher-order voltage multi-value encoding, a voltage per step of each value is reduced due to limitations in supply voltage, causing a relative increase in noise voltage. This makes it difficult to discriminate multiple values on the reception side. For example, when 4-bit binary voltage data is converted to 16-value voltage data which is transferred through a single line, a supply voltage of 3.3 V provides approximately 200 mV of voltage per step. Thus, for a normal data transfer, a noise voltage must be suppressed to one step or less, and the reception side must have a resolution of approximately 200 mV. Generally, high-order multiple value encoding of voltage data is difficult from viewpoints of noise margin and resolution.
For solving the challenge of a data transfer through the multi-value voltage data, there has been provided a data transfer method using multi-value current data. Multi-value current data encoding is suitable for higher value encoding because of a wide noise margin, as compared with multi-value voltage data encoding. For example, Japanese Patent Kokai No. 2001-156621 proposes a data transmission system (second conventional example).
However, when the second conventional example is applied to a digital image processing apparatus, following problems arise. After binary voltage data is converted to a multi-value voltage data by the DA converter 602, the multi-value voltage data is converted to multi-value current data by the PMOS transistor 603. Therefore, the voltage data is still susceptible to the influence of noise on the transmission side.
Also, when high-order multi-value encoding is performed on the transmission side, the DA converter 602 requires a large amount of hardware. In addition, since a sequential comparison type AD converter 606 is employed, the value is established from the most significant bit in order in the conversion from multi-value current data to binary-value voltage data. Thus, a long time is required on the reception side in order to restore original binary voltage data from multi-value current data.
What is desired is a data transfer method and circuit which are less susceptible to the influence of noise on the transmission side, require a small amount of hardware for conversion from binary voltage data to multi-value current data, and restore original binary voltage data from the multi-value current data at high speeds on the reception side.
Patent Document: Japanese Patent Kokai No. 2001-156621
DISCLOSURE OF THE INVENTIONIt is an object of the present invention to provide a data transfer method and circuit which are less susceptible to the influence of noise on the transmission side.
It is another object of the present invention to provide a data transfer method and circuit which require small amount of hardware for a conversion from binary voltage data to multi-value current data.
It is a further object of the present invention to provide a data transfer method and circuit which restore original binary voltage data from multi-value current data at high speeds on the reception side.
In one aspect of the present invention, a data transfer method for a digital image processing apparatus is achieved by converting first binary voltage data of n-bit (n is an integer equal to or larger than two) to multi-value current data of 2n values, transferring the multi-value current data through a single data line, converting the multi-value current data on the data line to binary current data of (2n−1) bits, converting the binary current data of the (2n−1) bits to second binary voltage data of (2n−1) bits, and restoring the first binary voltage data of the n bits from the second binary voltage data of the (2n−1) bits.
In another aspect of the present invention, a data transfer circuit for a digital image processing apparatus comprises a voltage/current converter circuit for converting first binary voltage data of n-bit (n is an integer equal to or larger than two) to multi-value current data of 2n values, a single data transfer line for transferring the multi-value current, a current comparator circuit for converting the multi-value current data on the data line to binary current data of (2n−1) bits, a current/voltage converter circuit for converting the binary current data of the (2n−1) bits to second binary voltage data of (2n−1) bits, and a counter circuit for restoring the first binary voltage data of the n bits from the second binary voltage data of the (2n−1) bits.
Here, the voltage/current converter circuit may generate a current proportional to a value 2i (i is an integer equal to or larger than zero and equal to or smaller than n−1) corresponding to each bit of the n bits, and multiplex the generated currents to output the multi-value current data proportional to the first binary voltage data of the n bits on the data transfer line.
Also, the current comparator circuit may expand the multi-value current data to (2n−1) bits, and outputs the binary current data of the (2n−1) bits, the logical values of which are determined based on whether or not a current value of the multi-value current data is larger than a corresponding threshold current at each of the (2n−1) bits.
Also, the current/voltage converter circuit may convert the binary current data of the (2n−1) bits to the second binary voltage data of the (2n−1) bits in units of bits.
Also, the counter circuit preferably comprises a logic circuit which receives the second binary voltage data of the (2n−1) bits, and restores the first binary voltage data based on positions of bits which have logical “1.”
The voltage/current converter circuit may comprise a group of first circuits arranged in parallel in correspondence to the n bits, and each of the first circuits may generate a current proportional to a value 2i (i is an integer equal to or larger than zero and equal to or smaller than n−1) corresponding to a corresponding bit of the n bits. In this event, each of the first circuits preferably comprises a first transistor having a source terminal connected to a power supply terminal or a ground terminal, and a gate terminal and a drain terminal connected to each other, a second transistor applied at a gate terminal with first binary voltage data of the corresponding bit of the n bits from the outside, and having a drain terminal connected to the drain terminal of the first transistor, and a third transistor having a source terminal connected to the power supply terminal or the ground terminal, and a gate terminal connected to the gate terminal of the first transistor. The voltage/current converter circuit further comprises a first constant current source connected between the source terminal of the second transistor in each of the first circuits and the ground terminal or the power supply terminal, and the third transistor in each of the first circuits has a drain terminal connected to the data transfer line in common. Also, the third transistor in each of the first circuits preferably has the gate terminal, the size of which is set to have an output current value proportional to 2i in accordance with the first binary voltage data of n bits supplied from the outside.
Also, the current comparator circuit may comprise a group of second circuits arranged in parallel in correspondence to the (2n−1) bits, and each of the second circuits may set a logical value of a corresponding bit to “1” when a current value of the multi-value current data is larger than a corresponding threshold current. In this event, the current comparator circuit may comprise a fourth transistor which receives the multi-value current data at a drain, and has a gate terminal connected to the drain terminal, and a source terminal connected to a ground terminal or a power supply terminal, and the group of second circuits, and each of the second circuits may comprise a fifth transistor having a gate terminal connected to the gate terminal of the fourth transistor, a source terminal connected to a common ground terminal or a common power supply terminal, and a second constant current source connected between the drain terminal of the fifth transistor and the power supply terminal or ground terminal for applying the threshold current, and the current comparator circuit may output the second binary current data of the (2n−1) bits, the logical value of which is set to “1” from LSB to a bit corresponding to the threshold current. Also, the second constant current source may apply different threshold currents of the (2n−1) bits in predetermined step units, and the current comparator circuit may output binary current data of (2n−1) bits which has a bit corresponding to the largest threshold current at MBS, and a bit corresponding to the smallest threshold current at LSB.
The current/voltage converter circuit may comprise a group of third circuits arranged in parallel in correspondence to the (2n−1) bits of the binary current data, respectively, and each of the third circuits may convert a corresponding bit of the binary current data of the (2n−1) bits to a corresponding bit of the second binary voltage data of (2n−1) bits. In this event, the current/voltage converter circuit may comprise a third constant current source and the group of third circuits, and each of the third circuits may comprise a sixth transistor having a source terminal connected to a common power supply terminal or a common ground terminal, and a gate terminal connected to a drain terminal, and a seventh transistor having a gate terminal for receiving the binary current data of a corresponding bit of the (2n−1) bits, a source terminal connected to the third constant current source, and a drain terminal connected to the drain terminal of the sixth transistor.
Also, the counter circuit may comprise a logic circuit for restoring the first binary voltage data of the n bits which have all bits at logical “0” when all the bits of the second binary voltage data of the (2n−1) bits are logical “0,” and restoring the first binary voltage data of the n bits corresponding to a binary number of the number of bits of logical “1” from LSB of the second binary voltage data of the (2n−1) bits. In this event, the counter circuit may comprise a bit determination circuit for three least significant bits, and the bit determination circuit may comprise a first 3-bit input. AND circuit for outputting logical “1” when the three least significant bits are logical “1,” a second 3-bit input AND circuit for outputting logical “1” when only a third bit is logical “1,” and an OR circuit for calculating a logical OR of the output of the first 3-bit input AND circuit and the output of the second 3-bit input AND circuit.
In another aspect of the present invention, an output circuit comprises an input unit for receiving binary voltage data Xi (i is an integer equal to or larger than zero and equal to or smaller than n−1) of n bits (n is an integer equal to or larger than two), and a group of current mirror circuits for outputting current values proportional to 2i, and generates a current value proportional to Σ2iXi in accordance with the binary voltage data Xi by multiplexing the output currents of the group of current mirror.
Also, in another aspect of the present invention, an output circuit comprises an input unit for receiving binary voltage data Xi (i is an integer equal to or larger than zero and equal to or smaller than n−1) of n bits (n is an integer equal to or larger than two), a first transistor provided for each bit of the n bits of the binary voltage data Xi, and having a source terminal connected to a power supply terminal or a ground terminal, and a gate terminal and a drain terminal connected to each other, a second transistor provided for each of the bits, applied with the binary voltage data XI at a gate terminal thereof, and having a drain terminal connected to the drain terminal of the first transistor, a third transistor provided for each of the bits, and having a source terminal connected to the power supply terminal or the ground terminal, a gate terminal connected to the gate terminal of the first transistor, and a drain terminal connected to a multi-value current data output line, and a constant current source provided for each of the bits, and connected between the source terminal of the second transistor and the ground terminal or the power supply terminal, and multi-value current data having a current value proportional to Σ2iXi is output to the multi-value current data output line in accordance with the binary voltage data Xi.
Also, in another aspect of the present invention, an output circuit comprises sets of first transistors to third transistors arranged in parallel, corresponding respectively to n bits (n is an integer equal to or larger than two) of binary voltage data Xi (i is an integer equal to or larger than zero and equal to or smaller than n−1) of the n bits supplied from the outside,
wherein the first transistor and the third transistor have source terminals connected to a common power supply terminal or a common ground terminal, the second transistor has a source terminal connected to a common regulated current, the third transistor has a drain connected to a common multi-value current data line, and a current value proportional to Σ2iXi in accordance with the binary voltage data Xi is output to the common multi-value current data output line. In this event, the third transistor preferably has a size which is set to generate an output current value proportional to 2i in accordance with the binary voltage data Xi.
Also, in another aspect of the present invention, an input circuit comprises a current comparator circuit, and a current/voltage converter circuit. The current comparator circuit comprises an input unit for receiving single multi-value current data of 2n values (n is an integer equal to or larger than 2), (2n−1) independent current mirror circuits, where the multi-value current data is expanded to the (2n−1) current mirror circuits, and (2n−1) threshold current sources for supplying threshold currents corresponding to the 2n values of the multi-value current data to the (2n−1) current mirror circuits, respectively, and outputs binary voltage data of a corresponding bit of (2n−1) bits based on current driving capabilities of each of the (2n−1) current mirror circuits and the threshold current from a corresponding one of the (2n−1) threshold current sources, and the current/voltage converter circuit converts the binary current data of the (2n−1) bits to binary voltage data of the (2n−1) bits. In this event, the current comparator circuit may comprise a fourth transistor provided for each bit of the (2n−1) bits, applied with the multi-value current data at a drain terminal, and having a gate terminal connected to the drain terminal, and a source terminal connected to a common ground terminal or a common power supply terminal, a fifth transistor provided for each of the bits, and having a gate terminal connected to the gate terminal of the fourth transistor, and a source terminal connected to the common ground terminal or the common power supply terminal, and a constant current source provided for each of the bits and connected between the drain terminal of the fifth transistor and the common power supply terminal or the common ground terminal.
Also, in another aspect of the present invention, an input circuit comprises a current comparator circuit, and a current/voltage converter circuit. The current comparator circuit comprises (2n−1) sets of a fifth transistor arranged in parallel to a single multi-value current data input of 2n values (n is an integer equal to or larger than two) supplied from the outside, and a threshold current source for outputting a threshold current used to discriminate the multi-value current data, the current comparator circuit has the fifth transistor having a source terminal connected to a common ground terminal or a common power supply terminal, and the threshold current source connected to a common power supply terminal or a common ground terminal, and outputs binary current data of (2n−1) bits based on the multi-value current data and the threshold current from the threshold current source, and the current/voltage converter circuit converts the binary current data of the (2n−1) bits to binary voltage data of the (2n−1) bits. In this event, the current comparator circuit may detect a bit corresponding to the multi-value current data within the (2n−1) bits based on a drain current of the fifth transistor and the threshold current of the threshold current source, and output the binary current data of the (2n−1) bits having a bit corresponding to the largest threshold current at the most significant bit.
Also, the current/voltage converter circuit may comprise (2n−1) circuit units arranged in parallel to the binary current data inputs of the (2n−1) bits, each of the (2n−1) circuit units may comprise a sixth transistor and a seventh transistor, the sixth transistor may have a source terminal connected to the common power supply terminal or the common ground terminal, and the sixth transistor may have a gate terminal and a drain terminal connected to each other, the Seventh transistor may have a source terminal connected to a third constant current source, the seventh transistor may have a gate terminal applied with the binary current data of a corresponding bit of the (2n−1) bits, and the binary voltage data of the corresponding bit may be output from the drain terminal of the sixth transistor connected to the drain terminal of the seventh transistor. In this event, the third constant current source may be set to output the binary voltage data having a voltage level indicative of logical “0” or “1” for each of the (2n−1) bits of the binary current data, and the current/voltage converter circuit may output the binary voltage data of the (2n−1) bits having binary voltage data corresponding to binary current data at the most significant bit at the most significant bit, and binary voltage data corresponding to binary current data at the least significant bit at the least significant bit.
Also, a semiconductor device may comprise the aforementioned output circuit or the aforementioned input circuit. Also, an electronic apparatus may comprise the aforementioned output circuit or the aforementioned input circuit.
In the following, a data transfer circuit of the present invention will be described in detail with reference to the accompanying drawings.
The voltage/current converter circuit 101 is provided on the transmission side. 4-bit binary voltage data (X3, X2, X2, X0) supplied to the voltage/current converter circuit 101 from the outside is converted to 16-value current data proportional to 20X0+21X1+22X2+23X2 by the voltage/current converter circuit 101. The 16-value current data output from the voltage/current converter circuit 101 is transferred to the reception side by the data transfer unit 102. Here, the binary voltage data takes either logical “0” or logical “1,” while the 16-value current data takes one from logical “0” to logical “15.”
On the reception side, 16-value current data is output as 15-bit binary current data based on a current value of each bit by the current comparator circuit 103. Here, the binary current data takes either logical “0” or logical “1.” 16-value current data of logical “0” is represented by binary current data having all bits at logical “0,” and 16-value current data from logical “1” to logical “15” are represented as binary current data which have corresponding bits at logical “1.”
Next, 15-bit binary current data is converted to 15-bit binary voltage data by the current/voltage converter circuit 104. Here, the correspondence of the 15-bit binary voltage data to the 16-value current data is similar to the case of the 15-bit binary current data.
Finally, the number of logical “1” in the 15-bit binary voltage data is counted by the counter circuit 105 to restore original 4-bit binary voltage data.
The voltage/current converter circuit 201 is provided on the transmission side. The voltage/current converter circuit 201 comprises first PMOS transistors AP3, AP2, AP1, AP0, second NMOS transistors BN3, BN2, BN1, BN0, third PMOS transistors CW3, CW2, CW1, CW0, and a first constant current source Vref1.
In each of the first transistors AP3, AP2, AP1, AP0, a source terminal is connected to a power supply terminal, while a gate terminal is connected to a drain terminal. Further, the gate terminal of each of the first transistors AP3, AP2, AP1, AP0 is connected to a gate terminal of a corresponding one of the third transistors CW3, CW2, CW1, CW0. Further, the drain terminal of each of the first transistors AP3, AP2, AP1, AP0 is connected to a drain terminal of a corresponding one of the second transistors BN3, BN2, BN1, BN0. In each of the second transistors BN3, BN2, BN1, BN0, a gate terminal is supplied with a corresponding one of binary voltage data X3, X2, X2, X0 from the outside. The drain terminal of each of the second transistors BN3, BN2, BN1, BN0 is connected to the drain terminal of the first transistors AP3, AP2, AP1, AP0, respectively. Source terminals of the second transistors BN3, BN2, BN1, BN0 are connected to the first constant current source Vref1. In the third transistors CW3, CW2, CW1, CW0, source terminals are connected to a power supply terminal. Each of the third transistors CW3, CW2, CW1, CW0 has the gate terminal connected to the gate terminal of a corresponding one of the first transistors AP3, AP2, AP1, AP0. Each of the third transistors CW3, CW2, CW1, CW0 has a drain terminal connected to a multi-value current data output line 202 as a common node. The first constant current source Vref1 is connected between the source terminals of the second transistors BN3, BN2, BN1, BN0 and a ground.
In the voltage/current converter circuit 201, four sets of current mirror circuits are connected in parallel by sets of transistors (BN0, AP0, CW0)-(BN3, AP3, CW3) and the first constant current source Vref1. The four sets of current mirror circuits output currents having a current ratio of 1:2:4:8 from the third PMOS transistors CW3, CW2, CW1, CW0. Thus, each of the third transistors CW3, CW2, CW1, CW0 has the gate, the size of which is set to be able to output a current value twice, four times, and eight times as many as the third transistor CW0. As the binary voltage data X3, X2, X2, X0 are supplied to the gates of the second transistors BN3, BN2, BN1, BN0, currents flowing into the drain terminals of the third transistors CW3, CW2, CW1, CW0 are multiplexed and output as 16-value current data proportional to 20X0+21X1+22X2+23X2 from a common node to the data transfer line 202 which is a single wire line. The first constant current source Vref1 is set to define a maximum value for currents which flow through the second transistors BN3, BN2, BN1, BN0, and the first transistors AP3, AP2, AP1, AP0 corresponding to them, respectively.
Further, a description will be given of the case where binary voltage data supplied from the outside has n bits.
N circuit sections comprised of the first transistors AP0-APn-1-third transistors CW0-CWn-1 of the voltage/current converter circuit are arranged in parallel to n-bit binary voltage data supplied from the outside. The first transistor APi and third transistor CWi included in each of the circuit sections have source terminals connected to a common power supply terminal. The source terminals of the second transistors BN0-BNn-1 are connected to the first constant current source Vref1. The drain terminals of the third transistors CW0-CWn-1 are connected to the multi-value current data output line 202 as a common node. The output of the voltage/current converter circuit 201 is performed to the multi-value current data output line 202. Further, the sizes of the third transistor CW0-CWn-1 in the voltage/current converter circuit 201 are set to have output current values proportional to 2i (i=0-n−1) in accordance with weights of n-bit binary voltage data supplied from the outside. The multi-value current data is transferred from the voltage/current converter circuit 201 on the transmission side to the current comparator circuit 203 on the reception side through the multi-value current data output line 202.
The current comparator circuit 203 comprises a fourth NMOS transistor DN1, fifth NMOS transistors EN0-EN14, and a second constant current source Vref2 comprised of threshold current sources I0-I14. In the fourth transistor DN1, the multi-value current data is applied to a drain terminal. The drain terminal and gate terminal of the fourth transistor DN1 are connected, and a source terminal thereof is grounded. In each of the fifth transistors EN0-EN14, a gate terminal is connected to the gate terminal of the fourth transistor DN1, and a source terminal is grounded. Each of the fifth transistors EN0-EN14 has a drain terminal connected to the threshold current source I0-I14. The threshold current sources I0-I14 are connected between the drain terminals of the fifth transistors EN0-EN14 and the power supply terminal. In this way, the fourth transistor DN1 and each of the fifth transistors EN0-EN14 make up a current mirror circuit.
Each of the fifth transistors EN0-EN14 has the gate, the size of which is set such that it can apply a current having a current value equivalent to the fourth transistor DN1. They serve to copy 15 of the 16-value current data supplied from the data transfer line 202 to the fourth transistor DN1. Further, each of the threshold current sources I0-I14 connected in series to the fifth transistors EN0-EN14 supplies a threshold current to a corresponding fifth transistor. The threshold currents correspond to 15 values indicated by binary voltage data supplied to the voltage/current converter circuit 201. For example, the fifth NMOS transistor ENi is supplied with the threshold current Ii. In this way, a source-drain voltage of the fifth NMOS transistor ENi increases when the threshold current Ii exceeds the value of current which is to be applied by the fifth NMOS transistor based on the 16-value current data. Conversely, the source-drain voltage of the fifth NMOS transistor ENi decreases when threshold current Ii is exceeded by the value of current which is to be applied by the fifth NMOS transistor based on the 16-value current data. In this way, the 16-value current data is compared in magnitude with each threshold current to simultaneously deliver 15-bit binary current data at the drain terminals of the respective fifth transistors EN0-EN14 as the result of the comparison, rather than in time series. Here, the result of the comparison with the largest threshold current source is designated the most significant bit MSB, while the result of the comparison with the smallest threshold current source is designated the least significant bit LSB. The threshold current sources I0-I14 supply threshold currents to corresponding mirror circuits.
However, as shown in
A description will be made of the case where binary voltage data supplied from the outside has n bits. In the current comparator circuit 203, 2n−1 circuit portions composed of the fifth transistors EN0-ENn2-2 and threshold current sources I0-In2-2 are arranged in parallel to multi-value current data inputs of n2 values. The source terminal of the fifth transistor EN0-ENn2-2 included in each of the circuit portions is grounded, the threshold current sources I0-In2-2 are connected to a common power supply terminal, and the result of a comparison by the current comparator circuit 203 is output from the drain terminals of the fifth transistors EN0-ENn2-2. The threshold current sources I0-In2-2 of the current comparator circuit 203 are set to have current 2n−1 kinds of current thresholds which can discriminate multi-value current data of 2n values. The current comparator circuit 203 compares a multi-value current data input value with each current threshold, and outputs (2n−1)-digit weighted binary current data which has the result of the comparison with the largest current threshold at the most significant digit, and the result of the comparison with the smallest current threshold at the least significant digit.
The current/voltage converter circuit 204 comprises sixth PMOS transistors FP0-FP14, and seventh NMOS transistors GN0-GN14, and a third constant current source Vref3. In each of the sixth transistors FP0-FP14, a source terminal is connected to a power supply terminal, and a gate terminal is connected to a drain terminal. Further, each of the sixth transistors FP0-FP14 has a gate terminal connected to the counter circuit 205. Further, each of the sixth transistors FP0-FP14 has the drain terminal connected to a drain terminal of a corresponding one of the seventh transistors GN0-GN14. In each of the seventh transistors GN0-GN14, a gate terminal is supplied with binary current data of a corresponding bit from the current comparator circuit 203. Each of the seventh transistors GN0-GN14 has the drain terminal connected to the drain terminal of a corresponding one of the sixth transistors FP0-FP14. Each of the seventh transistors GN0-GN14 has a source terminal connected to the third constant current source Vref3. The third constant current source Vref3 is connected between the source terminal of each of the seventh transistors GN0-GN14 and a ground terminal.
In the current-comparator circuit 203, a source-drain voltage of the fifth NMOS transistor increases when the threshold current Ii exceeds the value of current which is to be applied by the fifth NMOS transistor based on the 16-value current data. Conversely, the source-drain voltage of the fifth NMOS transistor ENi decreases when threshold current Ii is exceeded by the value of current which is to be applied by the fifth NMOS transistor based on the 16-value current data. In the current/voltage converter circuit 204, a gate voltage of the seventh transistor GNi increases when the threshold current Ii exceeds the value of current which is to be applied by the fifth NMOS transistor based on the 16-value current data, causing the seventh transistor GNi to turn on to bring a corresponding bit to logical “0.” On the other hand, the gate voltage of the seventh transistor GNi decreases when threshold current Ii is exceeded by the value of current which is to be applied by the fifth NMOS transistor based on the 16-value current data, causing the seventh transistor GNi to turn off to bring the corresponding bit to logical “1.” In this way, 15-bit binary current data, which is the output of the current comparator circuit 203, is converted to 15-bit binary voltage data having a proper voltage level which is then output. The third constant current source. Vref3 is provided for performing a level shift of the output voltage.
Further, a description will be given for the case where the binary voltage data supplied from the outside has n bits. 2n−1 of circuit portions composed of the sixth PMOS transistors FP0-FPn2-2 and seventh NMOS transistors GN0-GNn2-2 of the current/voltage converter circuit are arranged in parallel to 2n−1 binary current data inputs. The source terminal of each of the sixth transistor FP0-FPn2-2 included in each of the circuit portions is connected to the power supply terminal. The source terminal of each of the seventh transistors GN0-GNn2-2 is connected to the third constant current source Vref3. The result of a conversion by the current/voltage converter circuit 204 is output from the drain of each of the sixth transistors FP0-FPn2-2. The third constant current source Vref3 of the current/voltage converter circuit 204 is set to output a voltage level which can be discriminated as binary voltage data indicative of logical “0” or logical “1” to 2n−1 digit binary current data. In this way, the current/voltage converter circuit 204 outputs (2n−1)-digit weighted binary current data which has the result of the comparison with the largest current threshold at the most significant digit, and the result of the comparison with the smallest current threshold at the least significant digit.
The counter circuit 205 in turn is a logic circuit for restoring the original 4-bit input data X3, X2, X1, X0 supplied to the voltage/current converter circuit 201 from the 15-bit binary voltage data which is the output of the current/voltage converter circuit, and its operation conforms to a shown truth table. The counter circuit 205 is a so-called decoder. The counter circuit comprises a logic circuit which corresponds the number of logical “1” in 2n−1 binary voltage data inputs to an n-bit binary number, where the n-bit output is set to “0” when the 2n−1 binary voltage data inputs are all at logical “0.”
The transfer circuit comprises a voltage/current converter circuit 301, a data transfer line 302, a current comparator circuit 303, a current/voltage converter circuit 304, and a counter circuit 305. The operation is similar except for modifications required to apply the voltage/current converter circuit 201, current comparator circuit 203, current/voltage converter circuit 204, and counter circuit 205, shown in the first embodiment, to four-value current data.
The counter circuit 305 has three-input AND circuits 305-1-305-4, and OR circuits 306 and 307. The AND circuit 305-2 receives an inverted version of the zero-th bit and first bit of 3-bit binary voltage data output from the current/voltage converter circuit 204. The AND circuit 305-4 in turn receives an inverted version of the third bit. The outputs of the AND circuits 305-1 and 305-2 are supplied to the OR circuit 306, while the outputs of the AND circuits 305-3 and 305-4 are supplied to the OR circuit 307. In this way, a truth table shown in
It will be apparent that the upper four bits of the voltage data are converted to 2-bit binary voltage data in a similar manner.
While the data transfer circuits for 16-value and 4-value multi-value current data have been described above in detail, it will be apparent that the present invention can be applied in principle to a transfer of arbitrary multi-value current data, including higher order multi-value encoding.
The data transfer circuit of the present invention converts binary voltage data to binary current data on the transmission side and transfers the binary current data. Therefore, it is less susceptible to the influence of noise. Further, the sizes of the third transistors CW0-CWn-1 in the voltage/current converter circuit 201 are set to have output current values proportional to 2i (i=0-n−1) in accordance with weights of n-bit binary voltage data supplied from the outside. Consequently, the data transfer circuit is less susceptible to the influence of noise, and requires a smaller amount of hardware than prior art circuits for converting from binary voltage data to multi-value current data.
The data transfer method and circuit of the present invention can restore original binary voltage data from multi-value current data on the reception side faster than prior art circuits.
Next, a data transfer circuit according to a third embodiment of the present invention will be described with reference to
The current/voltage converter circuit 204A comprises sixth PMOS-transistors FP0-FP14, and seventh NMOS transistors GN0-GN14, and a third constant current source Vref3. In each of the sixth transistors FP0-FP14, a source terminal is connected to the third constant current source Vref3, and a gate terminal is supplied with binary current data of a corresponding bit from the current comparator circuit 203. Each of the sixth transistors FP0-FP14 has a drain terminal connected to the counter circuit 205. Each of the sixth transistors FP0-FP14 has a source terminal connected to a drain terminal of a corresponding one of the seventh transistors GN0-GN14. Each of the seventh transistors GN0-GN14 has a gate terminal connected to a drain terminal thereof. Each of the seventh transistors GN0-GN14 has a grounded source terminal. The current/voltage converter circuit 204A converts 15-bit binary current data, which is the output of the current comparator circuit 203, to 15-bit binary voltage data having a proper voltage level which is then output. The third constant current source Vref3 is provided for performing a level shift of the output voltage.
As described above, in the data transfer circuit of the third embodiment, the seventh NMOS transistors and six PMPS transistors change functions in the current/voltage converter circuit 204 of
Next, a data transfer circuit according to a fourth embodiment of the present invention will be described with reference to
The voltage/current converter circuit 201A is provided on the transmission side. The voltage/current converter circuit 201A comprises first PMOS transistors AP3, AP2, AP1, AP0, second NMOS transistors BN3, BN2, BN1, BN0, third PMOS transistors CW3, CW2, CW1, CW0, inverters IV0-IV3, and a first constant current source Vref1. In the voltage/current converter circuit 201A, four sets of current mirror circuits are connected in parallel by sets of transistors (BN0, AP0, CW0)-(BN3, AP3, CW3) and the first constant current source Vref1.
The first constant current source Vref1 is connected to a power supply terminal. In each of the first transistors AP3, AP2, AP1, AP0, a source terminal is connected to the first constant current source Vref1. A gate terminal is supplied with binary voltage data through a corresponding one of the inverters IV0-IV3. Each of the first transistors AP3, AP2, AP1, AP0 has a drain terminal connected to a drain terminal of a corresponding one of the second transistors BN3, BN2, BN1, BN0. Source terminals of the second transistors BN3, BN2, BN1, BN0, are grounded. Also, the gate terminal of each of the second transistors BN3, BN2, BN1, BN0 is connected to a gate terminal of a corresponding one of the third transistors CW3, CW2, CW1, CW0. Source terminals of the third transistors CW3, CW2, CW1, CW0 are also grounded. Further, the third transistors CW3, CW2, CW1, CW0 have their drains connected to the multi-value current data output line 202 as a common data transfer unit. In this way, sets of the second transistors BN3, BN2, BN1, BN0 and third transistors CW3, CW2, CW1, CW0 corresponding thereto form current mirror circuits.
The four sets of current mirror circuits output currents having a current ratio of 1:2:4:8 from the third PMOS transistors CW3, CW2, CW1, CW0. Thus, each of the third transistors CW3, CW2, CW1, CW0 has the gate, the size of which is set to be able to output a current value twice, four times, eight times as many as the third transistor CW0. The binary voltage data X3, X2, X2, X0 are supplied to the gates of the first transistors AP3, AP2, AP1, AP0, respectively, through the inverters IV0-IV3. When supplied to the gate terminals, respectively, currents flowing through the drain terminals of the third transistors CW3, CW2, CW1, CW0 are multiplexed and output as 16-value current data proportional to 20X0+21X1+22X2+23X2 from a common node to the data transfer line 202 which is a single wire line. The first constant current source Vref1 is provided for defining a maximum value for currents which flow through the second transistors BN3, BN2, BN1, BN0, and the first transistors AP3, AP2, AP1, AP0 corresponding to them, respectively.
Also, the current comparator circuit 203A comprises a fourth NMOS transistor DN1, fifth NMOS transistors EN0-EN14, and a second constant current source Vref2 comprised of threshold current sources I0-I14. In the fourth transistor DN1, the multi-value current data is applied to a-drain terminal. The drain terminal and gate terminal of the fourth transistor DN1 are connected, and a source terminal is grounded. In each of the fifth transistors EN0-EN14, a gate terminal is connected to its drain terminal and to the gate terminal of the fourth transistor DN1, and a source terminal is connected to the power supply terminal. Each of the fifth transistors EN0-EN14 has a drain terminal connected to the threshold current groups I0-I14. The threshold current sources I0-I14, are connected between the drain terminals of the fifth transistors EN0-EN14 and the ground. In this way, the fourth transistor DN1 and each of the fifth transistors EN0-EN14 make up a current mirror circuit.
Each of the fifth transistors EN0-EN14 has the gate, the size of which is set such that it can apply a current having a current value equivalent to the fourth transistor DN1. They serve to copy 15 of the 16-value current data supplied from the data transfer line 202 to the fourth transistor DN1. Further, the threshold current sources I0-I14 are connected in series to the fifth transistors EN0-EN14, thereby providing 15-bit binary current data, as the result of a comparison, at the drain terminals of the respective fifth transistors EN0-EN14 based on 16-value current data and each threshold current. Here, the result of the comparison with the largest threshold current source is designated the most significant bit-MSB, while the result of the comparison with the smallest threshold current source is designated the least significant bit LSB.
However, as shown in
In the current/voltage converter circuit 201A, values produced by inverting 4-bit binary voltage data X0-X3 by the inverters IV0-IV3 are supplied to the gate terminals of the first transistors AP3, AP2, AP1, AP0. The drains of the third transistors CW3, CW2, CW1, CW0 inhale 16-value current data proportional to the total 20X0+21X1+22X2+23X2 from the PMOS transistor DP1 of the current comparator circuit 203A through the data transfer line 202, and apply the current data to the current comparator circuit 203A. The binary current data output of the current comparator circuit 203A is converted to binary voltage data by the current/voltage converter circuit 204 in a configuration similar to
Next, an electronic apparatus will be described as a first application example to which the data transfer circuit of the present invention is applied.
Next, an electronic apparatus will be described as a second application example to which the data transfer circuit of the present invention is applied.
In this way, multi-valued current data can be transmitted from the first LSI 606 to the second LSI 607. The multi-valued current data can be bi-directionally transmitted between the first LSI 606 and second LSI 607 by further disposing the input circuit 609 in the first LSI 606, and further disposing the output circuit 608 in the second LIS 607.
Next, an electronic apparatus will be described as a third application example to which the data transfer circuit of the present invention is applied.
Next, an electronic apparatus will be described as a fourth application example to which the data transfer circuit of the present invention is applied with reference to
A video intermediate frequency (analog video signal) output from the tuner unit 720 is decomposed into luminance signals of respective RGB colors in the Y/C separator circuit 721, and converted to digital signals of the respective RGB colors by the A/D converter circuit 722. The RGB digital signals are converted to multi-value current data by the output circuit 724, and output to the outside. On the other hand, the synchronizing signal control circuit 723 detects a synchronizing signal included in the video intermediate frequency, generates a digital synchronizing signal and a data clock signal with reference to this, and outputs them to the outside. For reference sake, the digital synchronizing signal can be converted to a multi-value current as well together with the RGB digital signals. By doing so, the number of interface lines can be reduced between the electronic devices. Further, the RGB digital signals can be converted to a single multi-value current data rather than respective RGB multi-value current data. In this way, signal lines can be reduced from three to one.
The panel unit 732 comprises a PDP panel 750, a scan driver 738 for driving a scan electrode, a data driver 739 for driving a data electrode, and a high-voltage pulse circuit 740 for supplying pulse voltages to the PDP panel 750 and scan driver 738. The PDP panel 750 is organized to have pixels arranged in 1365×768 matrix. In the PDP panel 750, the scan driver 738 controls the scan electrode, and the data driver 739 controls the data electrode, thereby controlling predetermined pixels among these pixels to turn on or off to make a desired display.
In this display device of the fifth application example, an electronic device which serves to source display data can be connected through a data clock signal and multi-value current data of respective RGB. However, when there are a plurality of display modes, a control signal is required for controlling the display modes. It goes without saying that this control signal can also be transmitted through the multi-value current data.
For reference sake, the data clock is omitted in
The output circuit 802 corresponds to the voltage/current converter circuit 201 in
In this way, by outputting display data of a personal computer as multi-value current data of respective RGB and one bit of data clock instead of a conventional analog RGB signal, the data can be transferred in the same signal form as the television tuner of the fourth embodiment. Specifically, the analog RGB signal conventionally used by a personal computer as an interface for a display device, and a video intermediate frequency (analog video signal) conventionally used in video devices including a television can be integrated into respective RGB multi-value current data and one bit of data clock.
Next, a color PDP module will be described as a seventh application example to which the data transfer circuit of the present invention is applied. An example of using multi-value current data for an interface with a display device such as a plasma display will be described with reference to
Each data driver 2 has four vide0 input signals (Data), one clock input signal (CLK), and one latch enable input signal (LE), i.e., a total of six signal lines. Thus, the number of signal lines output from the digital signal processing board 1 to the data drivers 2 amounts to 96 (=6×16). Here, the data driver 2 comprises a register, a level converter circuit for converting (amplifying) a voltage, and a high-voltage output buffer. This data driver 2 is supplied with a video data signal which is transferred from the digital signal processing board 1 in synchronism with the transfer clock signal. The video data signal is preserved in the register of the data driver 2, and sent to the level converter circuit in synchronism with the input of the latch enable signal. All signals supplied to the data driver 2 have an amplitude of 5.0 V, and in the data driver 2, a portion up to the input to the level converter circuit (including the register) is a low-voltage operation section 21. In the low-voltage operation section 21, signals are processed at the amplitude of 5.0 V. On the other hand, the level converter circuit is the voltage converter unit 22 for amplifying a signal having the amplitude of 5.0 V to the amplitude of 70 V. Also, in the data driver 2, a portion subsequent to the level converter circuit (including a high-voltage output buffer) is a high-voltage operation section. A high-voltage signal output from the level converter circuit is output to the PDP panel through the high-voltage output buffer.
The data driver 802 in the seventh application example differs from the data driver 2 in
As described above, the data transfer method and circuit of the present invention are less susceptible to the influence of noise on the transmission side. Also, the data transfer method and circuit of the present invention require a smaller amount of hardware than the conventional circuit for converting from binary voltage data to multi-value current data. Further, the data transfer method and circuit of the present invention restore original binary voltage data from multi-value current data on the reception side faster than the conventional circuit.
Claims
1-16. (canceled)
17. An output circuit comprising:
- an input unit for receiving binary voltage data Xi (i is an integer equal to or larger than zero and equal to or smaller than n−1) of n bits (n is an integer equal to or larger than two); and
- a group of current mirror circuits for outputting current values proportional to 2i,
- wherein the output currents of said group of current mirror circuits are multiplexed to generate a current value proportional to Σ2iXi in accordance with the binary voltage data Xi.
18. An output circuit comprising:
- an input unit for receiving binary voltage data Xi (i is an integer equal to or larger than zero and equal to or smaller than n−1) of n bits (n is an integer equal to or larger than two);
- a first transistor provided for each bit of the n bits of the binary voltage data Xi, and having a source terminal connected to a power supply terminal or a ground terminal, and a gate terminal and a drain terminal connected to each other;
- a second transistor provided for said each bit, applied with the binary voltage data XI at a gate terminal, and having a drain terminal connected to the drain terminal of said first transistor;
- a third transistor provided for said each bit, and having a source terminal connected to the power supply terminal or the ground terminal, a gate terminal connected to the gate terminal of said first transistor, and a drain terminal connected to a multi-value current data output line; and
- a constant current source provided for said each bit, and connected between the source terminal of said second transistor and the ground terminal or the power supply terminal,
- wherein said output circuit outputs multi-value current data having a current value proportional to Σ2iXi to said multi-value current data output line in accordance with the binary voltage data Xi.
19. An output circuit comprising:
- sets of first transistors to third transistors arranged in parallel, corresponding respectively to n bits (n is an integer equal to or larger than two) of binary voltage data Xi (i is an integer equal to or larger than zero and equal to or smaller than n−1) of the n bits supplied from the outside,
- wherein said first transistor and said third transistor have source terminals connected to a common power supply terminal or a common ground terminal, said second transistor has a source terminal connected to a common regulated current, said third transistor has a drain connected to a common multi-value current data line, and a current value proportional to Σ2iXi in accordance with the binary voltage data Xi is output to the common multi-value current data output line.
20. An output circuit according to claim 19, wherein:
- said third transistor has a size which is set to generate an output current value proportional to 2i in accordance with the binary voltage data Xi.
21. An input circuit comprising:
- a current comparator circuit; and
- a current/voltage converter circuit,
- wherein said current comparator circuit comprises:
- an input unit for receiving single multi-value current data of 2n values (n is an integer equal to or larger than 2);
- (2n−1) independent current mirror circuits, said multi-value current data being expanded to said (2n−1) current mirror circuits; and
- (2n−1) threshold current sources for supplying threshold currents corresponding to the 2n value of the multi-value current data to said (2n−1) current mirror circuits, respectively, and
- binary voltage data of a corresponding bit of (2n−1) bits is output based on current driving capabilities of each of said (2n−1) current mirror circuits and the threshold current from a corresponding one of said (2n−1) threshold current sources, and
- said current/voltage converter circuit converts the binary current data of the (2n−1) bits to binary voltage data of the (2n−1) bits.
22. An input circuit according to claim 21, wherein:
- said current comparator circuit comprises:
- a fourth transistor provided for each bit of the (2n−1) bits, applied with the multi-value current data at a drain terminal, and having a gate terminal connected to the drain terminal, and a source terminal connected to a common ground terminal or a common power supply terminal;
- a fifth transistor provided for said each bit, and having a gate terminal connected to the gate terminal of said fourth transistor, and a source terminal connected to the common ground terminal or the common power supply terminal; and
- a constant current source provided for said each bit and connected between the drain terminal of said fifth transistor and the common power supply terminal or the common ground terminal.
23. An input circuit comprising:
- a current comparator circuit; and
- a current/voltage converter circuit,
- wherein said current comparator circuit comprises:
- (2n−1) sets of a fifth transistor arranged in parallel to a single multi-value current data input of 2n values (n is an integer equal to or larger than two) supplied from the outside, and a threshold current source for outputting a threshold current used to discriminate the multi-value current data,
- said current comparator circuit has said fifth transistor having a source terminal connected to a common ground terminal or a common power supply terminal, and said threshold current source connected to a common power supply terminal or a common ground terminal, and outputs binary current data of (2n−1) bits based on the multi-value current data and the threshold current from said threshold current source, and
- said current/voltage converter circuit converts the binary current data of the (2n−1) bits to binary voltage data of the (2n−1) bits.
24. An input circuit according to claim 23, wherein:
- said current comparator circuit detects a bit corresponding to the multi-value current data within the (2n−1) bits based on a drain current of said fifth transistor and the threshold current of said threshold current source, and outputs the binary current data of the (2n−1) bits having a bit corresponding to the largest threshold current at the most significant bit.
25. An input circuit according to any of claims 21 to 24, wherein:
- said current/voltage converter circuit comprises:
- (2n−1) circuit units arranged in parallel to the binary current data inputs of the (2n−1) bits,
- each of said (2n−1) circuit units comprises a sixth transistor and a seventh transistor,
- said sixth transistor has a source terminal connected to the common power supply terminal or the common ground terminal, and said sixth transistor has a gate terminal and a drain terminal connected to each other,
- said seventh transistor has a source terminal connected to a third constant current source, said seventh transistor is applied with the binary current data of a corresponding bit of the (2n−1) bits at a gate terminal, and the binary voltage data of the corresponding bit is output from the drain terminal of said sixth transistor connected to the drain terminal of said seventh transistor.
26. An input circuit according to claim 25, wherein:
- said third constant current source is set to output the binary voltage data having a voltage level indicative of logical “0” or “1” for each of the (2n−1) bits of the binary current data, and
- said current/voltage converter circuit outputs the binary voltage data of the (2n−1) bits having binary voltage data corresponding to binary current data at the most significant bit at the most significant bit, and binary voltage data corresponding to binary current data at the least significant bit at the least significant bit.
27. A semiconductor device comprising the output circuit according to any of claims 17 to 20.
28. A semiconductor device comprising the input circuit according to any of claims 21 to 24.
29. An electronic apparatus comprising the output circuit according to any of claims 17 to 20, wherein the single multi-value current data is output from said output circuit.
30. An electronic apparatus comprising the input circuit according to any of claims 21 to 24, for converting the single multi-value current data supplied from the outside to binary voltage data.
Type: Application
Filed: Feb 4, 2009
Publication Date: Oct 1, 2009
Applicant:
Inventor: Toshiaki Inoue (Tokyo)
Application Number: 12/320,766
International Classification: H02M 11/00 (20060101);