The present invention relates to the field of integrated circuits, particularly to an interface circuit and an electronic apparatus, which are used to transmit signals and are especially suitable for circuits that transmit data at high speed.
With the rapid development of information technology, more and more data need to be collected and processed. Therefore, new requirements are put forward for data transmission. It is necessary to realize a high-speed and low-power data transmission between various modules. However, the traditional interface circuits cannot fully meet the requirements of the signal transmission process, and there are three deficiencies of the traditional interface circuits as follows:
(1) the output common mode feedback circuit is connected to the output driver, which increases the load of the output driving circuit, resulting in a low transmission rate;
(2) each output driving circuit is matched with a common mode feedback loop, and the operational amplifier in each feedback loop consumes power, resulting in relatively high power consumption;
(3) the common mode voltage, signal amplitude, and other characteristics of the output signals are not configurable, and there is less flexibility in use.
The present invention provides an interface circuit and an electronic apparatus.
In the first aspect, the present invention provides an interface circuit, including:
a programmable current array, used to generate a first current and a second current transmitted to a common mode and differential mode generation circuit according to an input code, and to generate a third current and a fourth current transmitted to a driving bias generation circuit according to the input code;
the common mode and differential mode generation circuit, connected to the output end of the programmable current array, used to generate a common mode voltage according to the first current, and to generate a high level voltage and a low level voltage according to the second current and the common mode voltage, where the difference between the high level voltage and the low level voltage is a differential mode voltage;
a driving bias generation circuit, connected to the output ends of the programmable current array and the common mode and differential mode generation circuit, respectively, used to simulate a load according to the third current and the fourth current, and to generate a bias voltage based on the load, the high level voltage, and the low level voltage;
an output driving circuit, connected to the bias voltage of the driving bias generation circuit, to convert an input signal into a differential signal in which the common mode voltage and a differential mode amplitude are configurable.
A second aspect of the present invention provides an output circuit for use in an analog-to-digital converter circuit, and the output circuit includes the interface circuit in the first aspect of the present invention.
A third aspect of the present invention provides an analog-to-digital converter circuit, and the analog-to-digital converter circuit includes the output circuit in the second aspect of the present invention.
A fourth aspect of the present invention provides an integrated circuit, including the interface circuit in the first aspect of the present invention, the output circuit in the second aspect of the present invention, or the analog-to-digital converter circuit in the third aspect of the present invention.
As described above, the interface circuit and the electronic apparatus of the present invention have the following beneficial effects:
Through the cooperation of the programmable current array and the common mode and differential mode generation circuit, the common mode voltage, the high level voltage, and the low level voltage are generated. The gating of the common mode and differential mode generation circuit and the differential mode generation circuit are adjusted by the current control signal of the programmable current array, so that the magnitude of the outputted common mode voltage and the amplitude of the differential mode voltage can be adjusted, which meets the design requirements of high performance integrated circuits.
The embodiments of the present invention will be described below through specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention according to the contents disclosed by the specification. The present invention may also be implemented or applied through other different specific implementation modes. Various modifications or changes may be made to all details in the specification based on different points of view and applications without departing from the spirit of the present invention. It needs to be stated that the following embodiments and the features in the embodiments can be combined with one another under the situation of no conflict.
It needs to be stated that the drawings provided in the following embodiments are just used for schematically describing the basic concept of the present invention, thus only illustrating components related to the present invention and are not drawn according to the numbers, shapes, and sizes of components during actual implementation, the configuration, number and scale of each component during the actual implementation thereof may be freely changed, and the component layout configuration thereof may be more complicated.
a programmable current array 1, used to generate a first current and a second current transmitted to a common mode and differential mode generation circuit according to an input code, and to generate a third current and a fourth current transmitted to a driving bias generation circuit according to the input code;
the common mode and differential mode generation circuit 2, connected to the output end of the programmable current array, used to generate a common mode voltage according to the first current, and to generate a high level voltage and a low level voltage according to the second current and the common mode voltage, where the difference between the high level voltage and the low level voltage is a differential mode voltage;
a driving bias generation circuit 3, respectively connected to the output ends of the programmable current array and the common mode and differential mode generation circuit, used to simulate a load according to the third current and the fourth current, and to generate a bias voltage in a combination of the load, the high level voltage, and the low level voltage;
an output driving circuit 4, connected to the bias voltage of the driving bias generation circuit, to convert an input signal into a differential signal in which the common mode voltage and a differential mode amplitude are configurable.
In this embodiment, the common mode voltage, the high level voltage, and the low level voltage are generated through a cooperation of the programmable current array and the common mode and differential mode generation circuit, where the current flowing into the common mode and differential mode generation circuit and the resistance used to generate a voltage can be adjusted by changing the current control signal of the programmable current array, so that the magnitude of the outputted common mode voltage and the amplitude of the differential mode voltage can be adjusted, which meets the design requirements of high performance integrated circuits.
As shown in
It should be noted that the output driving circuit includes a plurality of output driving modules, the driving bias generation circuit and the output driving circuit have mirrored circuits, and the bias voltage enables the driving bias generation circuit and the output driving circuit in the same working state, therefore, the differential signal in which the common mode voltage and the differential mode voltage amplitude are configurable is generated, where the common mode voltages of all the output driving modules are determined by the feedback loop of the operational amplifier in the driving bias generation circuit and the mirrored structure of the driving bias generation circuit.
In this embodiment, an indirect connection between an output common mode feedback circuit and the output driving circuit is achieved through the mirror structure, thus reducing the parasitic capacitance and improving the interface speed. In addition, there is no need to prepare a matched common mode feedback loop for each output driving circuit, and only a common operational amplifier is needed. The output common mode voltage of each output driving circuit can be determined through the mirror structure, thus greatly reducing the number of operational amplifiers and saving the area and power consumption.
In another embodiment, the programmable current array is composed of a current source array, and outputs the first current Ic, the second current Id, the third current Ip, and the fourth current In that are controlled by switches.
It should be noted that the first current Ic, the second current Id, the third current Ip, and the fourth current In are generated in the same way. Please refer to
In another embodiment, please refer to
In this embodiment, the switches in the current source array are controlled by the input code, i.e., the current source generates a current (such as the first current Ic, the second current Id, the third current Ip and the fourth current In) with controllable magnitude according to different switch control signals, so as to meet various application requirements of the user, improve the control accuracy of the output current, and expand the range of the output current.
The first current Ic flowing from the programmable current array is used to generate a common mode voltage Vcm, and the second current Id flowing from the programmable current array and the common mode voltage Vcm are used to generate a high level voltage VH and a low level voltage VL. Referring to
The common mode level generation circuit includes a current source Ic (i.e., the first current Ic) and a first programmable resistor string, where a positive end of the current source Ic is connected to a power supply, a negative end of the current source Ic is connected to a first input end Vin1 of the first programmable resistor string, a control end of the first programmable resistor string is controlled by a control signal kc2[1:j], and a second input end Vin2 of the first programmable resistor string is grounded. The output end of the first programmable resistor string outputs the common mode voltage Vcm.
In this embodiment, the first current Ic flows through the first programmable resistor string to generate the common mode voltage Vcm, which is output to the high and low level generation module. The common mode voltage Vcm can be adjusted by changing the control signal kc1[1:n] of the first current Ic and a level gating control signal kc2[1:j]. Therefore, the flexible configuration of the output signal “common mode voltage” is realized through the cooperation of the programmable current source array and the programmable resistor strings, and the number of configurable step length is n*j, thus achieving an accuracy adjustment of the output common mode voltage Vcm.
The high and low level generation circuit includes a current source Id (i.e., the second current Id), a second programmable resistor string, a third programmable resistor string, a first operational amplifier AMP1, and a MOS transistor M0. The positive end of the current source Id is connected to a power supply, and the negative end of the current source Id is connected to the first input end Vin1 of the second programmable resistor string. The second input end Vin2 of the second programmable resistor string is connected in series with the second input end Vin2 of the third programmable resistor string, the control end of the second programmable resistor string is controlled by the control signal kd2[1:j], and the control end of the third programmable resistor string is controlled by the control signal kd2[1:j]. The negative end of the first operational amplifier AMP1 is connected between the second programmable resistor string and the third programmable resistor string, and the output end of the first operational amplifier AMP1 is connected to the gate of the MOS transistor M0. The source of the MOS transistor M0 is grounded, and the drain of the MOS transistor M0 is connected to the first input end Vin1 of the third programmable resistor string. The output end of the second programmable resistor string outputs the high level voltage VH, and the output end of the third programmable resistor string outputs the low level voltage VL.
In this embodiment, the second current Id flows through the second programmable resistor string 2, the third programmable resistor string 3, and the transistor M0. The high level voltage VH and the low level voltage VL are obtained under the action of the operational amplifier AMP1 and its feedback loop. The common mode voltage (i.e., Vern) of the high level voltage VH and the low level voltage VL is determined by the loop feedback of the operational amplifier. The amplitude of the differential mode voltage (VH−VL) can be adjusted by changing the control signal kd1[1:n] of Id and the level gating control signal kd2[1:j]. Therefore, the number of configurable step length is n*j, thus achieving an accuracy adjustment of the output common mode voltage (VH−VL).
In a first embodiment of the high and low level generation circuit, compared with the above embodiment as described in
In a second embodiment of the high and low level generation circuit, compared with the above embodiment as described in
In a third embodiment of the high and low level generation circuit, compared with the above embodiment as described in
In this embodiment, the high level voltage VH and the low level voltage VL can be generated through various implementations of the programmable current source array and the programmable resistor strings, where the common mode voltage VCM of the high level voltage VH and the low level voltage VL is determined by the loop feedback of the operational amplifier, the amplitude of the differential mode voltage (VH−VL) can be adjusted by changing the control signal kd1[1:n] of Id and the level gating control signal kd2[1:j]. Therefore, the flexible configuration of the output signal “common mode voltage” is realized through the cooperation of the programmable current source array and the programmable resistor strings, and the number of configurable step length is n*j, thus achieving an accuracy adjustment of the output common mode voltage (VH−VL).
It should be noted that the first input end Vin1 of the programmable resistor string is connected to a first end of the jth resistor Rj and a first end of the jth control switch k[j] respectively, and the resistors from Rj to R1 are connected in series. A second end of the first resistor R1 is connected to the second input end Vin2 of the programmable resistor string, the (j−1)tn control switch k[j−1] is connected between the jth resistor Rj and the (j−1)th resistor Rj-1, and the first control switch k[1] is connected between the second resistor R2 and the first resistor R1 similarly. The second ends of the first control switch k[1] to the jth control switch k[j] are connected to the output end Vout of the programmable resistor string.
In this embodiment, various application requirements of the user are met, the programming accuracy of the resistor is improved, and the programmable range of the resistor is expanded.
The driving bias generation circuit 3 employs the third current Ip and the fourth current In flowing from the programmable current array to simulate the load. A first bias voltage Vb1 and a second bias voltage Vb2 are generated according to the load combined with the high level voltage VH and the low level voltage VL generated by the common mode and differential mode generation circuit. The first bias voltage Vb1 and the second bias voltage Vb2 are output to the output driving circuit.
It should be noted that the driving bias generation circuit 3 includes a second operational amplifier AMP2, a third operational amplifier AMP3, transistors M1-M6, the current source Ip (i.e., the third current Ip), and the current source In (i.e., the fourth current In), where the first transistor M1, the third transistor M3, and the fifth transistor M5 are PMOS transistors, and the second transistor M2, the fourth transistor M4, and the sixth transistor M6 are NMOS transistors. The positive end of the second operational amplifier AMP2 is connected to the high level voltage VH output by the common mode and differential mode generation circuit 2, the negative end of the second operational amplifier AMP2 is connected to the drains of the fifth transistor M5 and the sixth transistor M6 and the current source In (the fourth current), and the negative-phase output end of the second operational amplifier AMP2 is connected to the gate of the first transistor M1 (the first bias voltage Vb1). The positive end of the third operational amplifier AMP3 is connected to the low level voltage VL output by the common mode and differential mode generation circuit 2, the negative end of the third operational amplifier AMP3 is connected to the drains of the third transistor M3 and the fourth transistor M4 and the current source Ip (the third current), and the positive-phase output end of the third operational amplifier AMP3 is connected to the gate of the second transistor M2 (the second bias voltage Vb2). The gates of the third transistor M3 and the fourth transistor M4 are connected to the logic high level 1, and the gates of the fifth transistor M5 and the sixth transistor M6 are connected to the logic low level 0. The first bias voltage Vb1 is determined by the second operational amplifier AMP2 feedback loop, and the second bias voltage Vb2 is determined by the third operational amplifier AMP3 feedback loop.
In this embodiment, the current source Ip and the current source In are used to simulate the current situation when an actual load is applied. When a resistor as the actual load is applied, due to that the gates of the third transistor M3 and the fourth transistor M4 are connected to the logic high level 1, the third transistor M3 is turned off, the fourth transistor M4 is turned on, the current flows from the load to the ground via the fourth transistor M4 and the second transistor M2, and the third current Ip is used to simulate the current flowing from the load to the fourth transistor M4. In addition, due to that the gates of the fifth transistor M5 and the sixth transistor M6 are connected to the logic low level 0, the fifth transistor M5 is turned on, the sixth transistor M6 is turned off, the current flows from the first transistor M1 and the fifth transistor M5 to the ground via the load, and the fourth current In is used to simulate the current flowing from the fifth transistor M5 to the load.
It should be noted that the transistor in the present invention can be a field effect transistor, and can also be a bipolar transistor, which will not be described herein again.
Due to the feedback effect of the second operational amplifier AMP2, the VH is equal to the VdH (VH=VdH); due to the feedback effect of the third operational amplifier AMP3, the VL is equal to the VdL (VL=VdL); therefore, the amplitude of the outputted signal of the driving bias generation circuit 3 (VdH−VdL) is equal to that of the high and low level generation circuit (VH−VL), i.e., the adjustment of (VdH−VdL) is realized by adjusting (VH−VL).
Due to that the third current Ip and the fourth current In are used to simulate the current flowing through the load, the third current source Ip is equal to the fourth current source In. When adjusting the amplitude of the signal (VH−VL), the current flowing through the load changes proportionally with the change of the amplitude of the outputted signal due to the constant impedance of the load. Therefore, Ip and In should be adjusted proportionally when adjusting the amplitude of the outputted signal (VH−VL), so as to realize an accurate simulation of the current flowing through the load.
The output driving circuit, as shown in
The structures of the output driving module 41, the output driving module 42, . . . , and the output driving module 4m are the same. As shown in
The gate of the seventh transistor M7 is connected to the first bias voltage Vb1, the gate of the eighth transistor M8 is connected to the second bias voltage Vb2, the source of the seventh transistor M7 is connected to the power supply, and the source of the eighth transistor M8 is grounded. The gates of the ninth transistor M9 and the tenth transistor M10 are connected to a first digital input logic level D+, the gates of the eleventh transistor M11 and the twelfth transistor M12 are connected to a second digital input logic level D−, where the drain of the seventh transistor M7 is connected to the sources of the ninth transistor M9 and the eleventh transistor M11, respectively, and the drain of the eighth transistor M8 is connected to the sources of the tenth transistor M10 and the twelfth transistor M12, respectively. The first output end Dout+ of the output driving module is connected with the drains of the eleventh transistor M11 and the twelfth transistor M12, and the second output end Dout− of the output driving module is connected with the drains of the ninth transistor M9 and the tenth transistor M10. The device size of the transistor M7-M12 is proportional to the size and current density of the transistors M1-M6 in the driving bias generation circuit 3, and the first bias voltage Vb1 and the second bias voltage Vb2 are generated by the driving bias generation circuit 3 on the premise that an analog load is applied, therefore, the working state of the output driving circuit is completely consistent with that of the driving bias generation circuit 3, and the amplitude of the outputted signal can be expressed as follows:
[(Dout+)−(Dout−)]=(VdH−VdL)=(VH−VL)
where VH is the high level voltage, VL is the low level voltage, and (VdH−VdL) is the amplitude of the outputted signal of the driving bias generation circuit.
In this embodiment, the output common mode voltage and the differential mode amplitude of the output driving circuit 4 can be determined based on the mirror structures between the driving bias generation circuit 3 and the output driving circuit 4 combined with the bias voltages Vb1 and Vb2 enabling the working state of the driving bias generation circuit 3 the same as that of the output driving circuit 4. Therefore, it is no longer necessary to use operational amplifiers to determine its output common mode voltage in the output driving circuit 4. As for m output driving modules, it is only necessary to use operational amplifiers in the driving bias generation circuit 3 with an analog load to determine the outputted common mode level and differential mode voltage of all output driving modules through the feedback and mirrored structure. While in the traditional structure, each output driving module needs to be equipped with an operational amplifier, i.e., m operational amplifiers are required. Thus, the present invention greatly reduces the number of operational amplifiers and saves area and power consumption. In addition, the output driving circuit is not directly connected to the common mode feedback loop, which reduces the parasitic capacitance of the output node and improves the speed of the output driving circuit.
The serial data or clock signal from a host computer 550 is sent to an integrated circuit device 500 through the differential signal line (universal serial bus) of the LVDS, and is received by an interface circuit 510 (LVDS receiving circuit). In an embodiment, the interface circuit 510 sends the clock signal transmitted from the host computer 550 (or a clock signal that sequentially doubles the clock signal) to a memory controller 520. In an embodiment, the received serial data (the image data) transmitted from the host computer 550 is sent to an image processing unit 530.
The image processing unit 530 performs various image processing, such as gamma correction and the like, on the image data received from the host computer 550. In an embodiment, employing a memory 560 (broadly speaking, it is a device operating according to the data or clock signal received from the interface circuit) to process the image, and the image data before or after processing can be written into the memory 560 or read out from the memory 560. The memory 560 can be a high speed memory, for example, SDRAM, DDRSDRAM, or the like. The writing of data to such memory 560 or the reading of data from the memory 560 is realized by the control of the memory controller 520 (SDRAM).
A clock signal generation circuit 521 of the memory controller 520 generates a clock signal for sampling the read data from the memory 560 based on, for example, a clock signal from the interface circuit 510. Alternatively, a clock signal required to write data to the memory 560 can be generated.
The image data processed by the image processing unit 530 is transmitted to a display driver 570 (a device operating according to the data received by the interface circuit or a clock signal) through a transmission circuit 540. In addition, the display driver 570 drives the display panel 580 based on the received image data and performs control on the image for displaying the corresponding image data.
The configuration of the electronic apparatus to which the interface circuit of this embodiment applicable is not limited to the configuration shown in
The description above illustrates that the interface circuit or differential interface circuit of the present invention can also be applied to an analog-to-digital conversion circuit.
In other embodiments, the circuit of the present invention may be implemented as an integrated circuit, such as an integrated circuit on the IC chip of the flip chip. The present invention can not only be applied to integrated circuits and IC chips as described above, but also to circuit boards including such IC chips, communication networks (e. g., Internet fiber optic network and wireless network) including such circuit boards, and network devices including such communication networks.
The common mode voltage, the high level voltage, and the low level voltage are generated through a cooperation of the programmable current array and the common mode and differential mode generation circuit, where the gating of the common mode and differential mode generation circuit and the differential mode generation circuit are controlled by the current control signal of the programmable current array, therefore, the magnitude of the outputted common mode voltage and the amplitude of the differential mode voltage can be adjusted, which meets the design requirements of high performance integrated circuits. The present invention effectively overcomes various shortcomings in the traditional technology and has high industrial utilization value.
The above mentioned embodiments are merely illustrative of the principle and effects of the present invention instead of limiting the present invention. Modifications or variations of the above-described embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and scope of the invention will be covered by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2020110376312 | Sep 2020 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/070501 | 1/6/2021 | WO |