A current controller for a multi-level current mode driver. The current controller includes a multi-level voltage reference and at least one source calibration signal. A comparator is coupled by a coupling network to the multi-level voltage reference and the at least one source calibration signal. A...http://www.google.com/patents/US6772351?utm_source=gb-gplus-sharePatent US6772351 - Method and apparatus for calibrating a multi-level current mode driver

Method and apparatus for calibrating a multi-level current mode driverUS 6772351 B1

Abstract

A current controller for a multi-level current mode driver. The current controller includes a multi-level voltage reference and at least one source calibration signal. A comparator is coupled by a coupling network to the multi-level voltage reference and the at least one source calibration signal. A selected voltage is applied from the multi-level voltage reference and a selected source calibration signal is applied from the at least one source calibration signal to the comparator.

Images(21)

Claims(21)

We claim:

1. A current controller for a multi-level current mode driver, comprising:

a multi-level voltage reference adapted to supply a plurality of reference voltage levels;

at least one source calibration signal;

a comparator coupled by a coupling network to the multi-level voltage reference and the at least one source calibration signal;

means for applying a selected voltage from the multi-level voltage reference and a selected source calibration signal from the at least one source calibration signal to the comparator; and

means for adjusting the at least one source calibration signal in accordance with an output of the comparator.

2. A current controller as claimed in claim 1, wherein the coupling network is capacitive.

3. A current controller as claimed in claim 1, wherein the coupling network comprises a resistive voltage divider.

4. A current controller as claimed in claim 1, wherein the at least one source calibration signal comprises a voltage associated with a predetermined data symbol.

5. A current controller as claimed in claim 4, wherein the predetermined data symbol represents two data bits.

6. A current controller as claimed in claim 5, wherein the multi-level voltage reference comprises three voltage levels.

7. A current controller as claimed in claim 4, wherein the predetermined data symbol represents more than two data bits.

8. A current controller as claimed in claim 7, wherein the multi-level voltage reference comprises more than three voltage levels.

9. A current controller as claimed in claim 1, wherein the coupling network comprises a charge-coupled device at an input to the comparator.

10. A current controller as claimed in claim 9, wherein the charge-coupled device stores an offset voltage associated with the comparator.

11. A current controller as claimed in claim 1, wherein the applying means comprises a plurality of semiconductor switches.

12. A current controller as claimed in claim 1, wherein the applying means comprises a multiplexer.

13. A current controller as claimed in claim 1, wherein the at least one source calibration signal comprises a first signal and a second signal, wherein the first signal is associated with a known voltage level and the second signal is associated with an unknown voltage signal.

14. A current controller as claimed in claim 1, wherein the coupling network comprises:

a first switch and a second switch, the first and second switches being operable to selectively connect and disconnect the comparator to at least one of the multi-level voltage reference and the at least one source calibration signal;

a third switch that is operable to selectively short a first comparator input to a second comparator input;

an amplifier having an input that is coupled to an output of the comparator; and

a current source coupled to an output of the amplifier.

15. A current controller as claimed in claim 14, wherein the current source applies, at the output of the comparator, a compensating voltage in response to a signal supplied by the amplifier.

16. A current controller as claimed in claim 14, further comprising a switch and a capacitor coupled to the input of the amplifier, the switch being operable to store a voltage at the output of the comparator on the capacitor.

17. A method of calibrating a multi-level current mode driver, comprising the steps of:

Providing a first current sink and a second current sink;

activating the first current sink to drive a known current through a load thereby producing a first input signal;

activating the second current sink to produce a second input signal;

calculating an average value of the first input signal and the second input signal;

comparing the average value of the first input signal and the second input signal to a first known reference voltage;

adjusting the second current sink, and thereby the second input signal, until the average value equals the known reference voltage;

applying the adjusted second input signal as a new first input signal;

activating the first current sink and a second current sink, thereby producing a precalibration voltage as a new second input signal;

calculating an average value of the new first input signal and the new second input signal;

comparing the average value of the new first input signal and the new second input signal to a second known reference voltage, wherein the second known reference voltage has a different value than the first known reference voltage; and

adjusting the second current sink, and thereby the new second input signal, until the average value is equal to the second known reference voltage.

18. A method as claimed in claim 17, further comprising the steps of:

applying the adjusted second input signal as a new first input signal;

activating the first current sink, the second current sink, and a third current sink, thereby producing a third precalibration voltage as a new second input signal;

calculating an average value of the new first input signal and the new second input signal;

comparing the average value of the new first input signal and the new second input signal to a third known reference voltage; and

adjusting the third current sink, and thereby the new second input signal, until the average value is equal to the third known reference voltage.

19. A current controller as claimed in claim 1, further comprising a reference voltage generator, wherein the reference voltage generator generates the plurality of reference voltage levels based on at least one externally supplied voltage.

a multiplexor having at least two distinct reference voltage inputs and a selectable output;

a first output driver having at least two current control inputs and providing a first driver output, wherein at least one of the at least two current control inputs carries a current control signal that compensates for gds distortion in the first output driver;

a second output driver having at least two current control inputs and providing a second driver output, wherein at least one of the at least two current control inputs carries a current control signal that compensates for gds distortion in the second output driver;

a first circuit that provides an output that is an average of the first driver output and the second driver output;

a second circuit that compares the selectable output to the average and provides an output in accordance with the comparison; and

a third circuit coupled to the at least two current control inputs of the first output driver and the second output driver and coupled to receive the output of the second circuit, wherein the third circuit sets each of the at least two current control inputs in accordance with the output of the second circuit.

21. A current controller as claimed in claim 20, wherein the third circuit is further coupled to the multiplexor, the third circuit providing a select reference voltage signal to the multiplexor to select one of the at least two distinct reference voltage inputs as the selectable output.

Description

CROSS REFERENCE TO RELATED APPLICATION(S)

This application is a continuation-in-part of U.S. patent application Ser. No. 09/478,916, entitled Low Latency Multi-Level Communication Interface, filed on Jan. 6, 2000, which claims priority to U.S. Provisional Patent Application Serial No. 60/158,189, entitled A Method and Apparatus for Receiving High Speed Signals with Low Latency, filed on Oct. 19, 1999, the contents of each of which are incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates generally to the field of electrical buses. More particularly, the present invention relates to a current driver for a high speed bus.

BACKGROUND OF THE INVENTION

Computer systems and other electronic systems typically use buses for interconnecting integrated circuit components so that the components may communicate with one another. The buses frequently connect a master, such as a microprocessor or controller, to slaves, such as memories and bus transceivers. Generally, a master may send data to and receive data from one or more slaves. A slave may send data to and receive data from a master, but not another slave.

Each master and slave coupled to a prior bus typically includes output driver circuitry for driving signals onto the bus. Some prior bus systems have output drivers that use transistor-transistor logic (TTL) circuitry. Other prior bus systems have output drivers that include emitter-coupled logic (ECL) circuitry. Other output drivers use complementary metal-oxide-semiconductor (CMOS) circuitry or N-channel metal-oxide-semiconductor (NMOS) circuitry.

While many prior buses were driven by voltage level signals, it has become advantageous to provide buses that are driven by a current mode output driver. A benefit associated with a current mode driver is a reduction of peak switching current. In particular, the current mode driver draws a known current regardless of load and operating conditions. A further benefit is that the current mode driver typically supresses noise coupled form power and ground supplies.

A known current mode driver is shown in U.S. Pat. No. 5,254,883 (the '883 patent), which is assigned to the assignee of the present invention and incorporated herein by reference. The '883 patent discusses an apparatus and method for setting and maintaining the operating current of a current mode driver. The driver in the '883 patent includes an output transistor array, output logic circuitry coupled to the transistor array and a current controller coupled to the output logic circuitry.

For one embodiment, the current controller in the '883 patent is a resistor reference current controller. The current controller receives two input voltages, VTERM and VREF, the latter of which is applied to an input of a comparator. VTERM is coupled by a resistor to a node, which is in turn coupled to a second input of the comparator. The voltage at the node is controlled by a transistor array, which is in turn controlled in accordance with an output of the comparator.

When the transistor array is placed in the off state, i.e. there is no current flowing through the transistors of the array to ground, the voltage at the node is equal to VTERM. In addition, by using the output of the comparator to adjustably activate the transistor array, the '883 patent shows that the voltage at the node may be driven to be approximately equal to the reference voltage, VREF.

Knowing the value of VREF and VTERM, the current mode driver of the '883 patent therefore provides a binary signaling scheme utilizing a symmetrical voltage swing about VREF. Specifically, in a first current state (the off state), the current mode driver is not sinking current and the signal line (or bus line) is at a voltage, Vo=VTERM, representing a logical 0. In a second current state (the on state), the current mode driver is sinking current to drive the voltage on the signal line (or bus line) to be:

Vo=VTERM−2(VTERM−VREF).

The second state therefore representing a logical 1.

While the above techniques have met with substantial success, end users of data processing systems, such as computers, continue to demand increased throughput. Whether throughput is expressed in terms of bandwidth, processing speed or any other measure, the bottom line is the desire to get a block of data from point A to point B faster. At the same time, however, it is desirable to achieve such increases without requiring deviation from known semiconductor fabrication techniques.

SUMMARY OF THE INVENTION

A multi-level driver uses multiple pulse amplitude modulation (multi-PAM) output drivers send multi-PAM signals. A multi-PAM signal has more than two voltage levels, with each data interval now transmitting a symbol at one of the valid voltage levels. In one embodiment, a symbol represents two or more bits. The multi-PAM output driver drives an output symbol into a signal line. The output symbol represents at least two bits that include a most significant bit (MSB) and a least significant bit (LSB). A multi-PAM receiver receives the output symbol from the signal line and determines the MSB and the LSB.

In accordance with a first aspect of the invention, a current controller for a multi-level current mode driver is provided. The current controller includes a multi-level voltage reference and at least one source calibration signal. A comparator is coupled by a coupling network to the multi-level voltage reference and the at least one source calibration signal. The current controller further includes a circuit for applying a selected voltage from the multi-level voltage reference and a selected source calibration signal from the at least one source calibration signal to the comparator.

In accordance with a second aspect of the invention, a method of calibrating a multi-level current mode driver is provided. The method includes two current sinks, each capable of sinking current from a termination voltage though a resistor. The first current sink drives a known amount of current through a resistor producing a first input signal. The second current sink is turned on to produce a second input signal. An average value of the first input signal and the second input signal is calculated. The average value of the first input signal and the second input signal is compared to a first known reference voltage. And, the second current sink, and thereby the second input signal, is adjusted until the average value equals the known reference voltage.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a memory controller, bus and memories utilizing an output driver in accordance with a preferred embodiment of the present invention.

FIG. 2 illustrates a preferred encoding scheme utilizing a multi-level voltage reference for use with a multi-level output driver.

FIGS. 3A and 3B are schematic diagrams of a first and a second multi-level output driver in accordance with embodiments of the present invention.

FIG. 4A is a graph showing gds distortion in a transistor.

FIGS. 4B and 4C illustrate the effect of gds distortion on the output voltage of a four-level output driver encoding in binary and gray code, respectively.

FIG. 5A is an electrical schematic of a multi-level output driver, having a binary generator, that corrects for gds distortion.

FIG. 5B is an electrical schematic of an alternate embodiment of the binary generator shown in FIG. 5A.

FIG. 6 is an electrical schematic of a circuit to reduce switching noise at an output pin.

FIG. 7 is an electrical schematic of a multi-level driver, such as the driver shown in FIG. 5A, that further incorporates a circuit to reduce switching noise, such as the circuit shown in FIG. 6.

FIGS. 14A and 14B are electrical schematics of a second preferred alternative to the current control calibration circuit of FIG. 10.

FIGS. 14C and 14D are timing diagrams for the circuits of FIGS. 14A and 14B.

FIG. 15A is an electrical schematic of a linear transconductor.

FIG. 15B is a schematic of a comparator using a transconductor stage.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S)

In FIG. 1, a bus 320 interconnects a memory controller 321 and memories 322. The bus 320 is formed of signal lines 320-1, 320-2 that transmit address, data and control signals. Physically, on each integrated circuit 321, 322, the address, data and control signals are supplied to and output from external connections, called pins, and the bus 320 interconnects respective pins. The bus 320 may be implemented as traces on a printed circuit board, wires or cables and connectors. Each of these integrated circuits 321, 322 has bus output driver circuits 323 that connect to the pins to interface with the bus 320 to transmit signals to other ones of the integrated circuits. In particular, the bus output drivers 323 in the memory controller 321 and in the memories 322 transmit data over the bus 320. Each bus output driver 323 drives a signal line of the bus 320. For example, bus output driver 323-1 in the memory controller 321 drives bus line 320-1. The bus 320 supports signaling with characteristics that are a function of many factors such as the system clock speed, the bus length, the amount of current that the output drivers can drive, the supply voltages, the spacing and width of the wires or traces making up the bus 320, the physical layout of the bus itself and the resistance of a terminating resistor Zo attached to each bus.

At least a subset of the signal lines connect to pull-up resistors Zo that connect to a termination voltage VTERM. In some systems, all signal lines connect to pull-up resistors Zo that connect to the termination voltage VTERM. The termination voltage VTERM can be different from the supply voltage VDD. In one embodiment, the supply voltage VDD is equal to 2.5 volts, the termination voltage VTERM is equal to 1.8 volts, the bus voltage for a signal at low levels VOL is equal to 1.0 volts, and the voltage swing is 0.8 volts. The resistance of the terminating resistors Zo is equal to twenty-eight ohms.

The output drivers 323 are designed to drive the bus 320 with a predetermined amount of current; and the bus receivers 324 are designed to receive the signals sent by the bus drivers 323 on the bust 320. In a device, each bus receiver 324 receives signals from one signal line of the bus 320. The bus receivers 324 are integrating receivers according to the present invention.

In one embodiment, the memories are random access memories (RAMs). In an alternative embodiment, the memories are read-only memories (ROMs). Alternatively, the bus output drivers 323 and bus receivers 324 of the present invention are implemented in other semiconductor devices that use a bus to interconnect various types of integrated circuits such as microprocessors and disk controllers.

In yet another alternative embodiment, the output drivers are implemented in a point-to-point system. Although a bus that uses current mode signaling has been described with respect to FIG. 1, the apparatus and method of the present invention may be used in any signaling system where it is desirable to distinguish between signals having different voltage levels.

Multi-Level Signaling

Referring back to FIG. 1, in previously known implementations of the bus system, signals transmitted on each signal line of the bus have either of two voltage levels representing a binary zero or one for binary digital communication. For example, an output voltage equal to the voltage level VTERM set by the voltage source at one end of the termination resistor Zo may represent a binary zero. And, an output voltage level equal to VTERM−(I*Zo) may represent a binary one, where the output driver circuit 323 sinks an amount of current equal to I. In this way, the bus driver circuits 323 can be implemented as switched current sources that sink current when driving binary one's onto the signal lines. When receiving data, the receiver circuits 324 detect whether the voltage on the signal line is greater than or less than VTERM−0.5(I*Zo), i.e. the midpoint between a logical zero and a logical one, to determine whether the data is a binary zero or one, respectively. In one embodiment, data is transmitted and received on each edge of the system clock to achieve a data rate equal to twice the frequency of the system clock. In an alternative embodiment, data is transmitted once per clock cycle of the system clock.

As used herein, the term multi-level signaling refers to signaling schemes utilizing two or more signal levels. Multi-level signaling may also be referred to herein as multiple level pulse amplitude modulation, or multi-PAM, signaling, because the preferred coding methods are based upon the amplitude of the voltage signal. Although the multi-level signaling of the preferred embodiments will be described with respect to a current mode bus, multi-level signaling can also be used with a voltage mode bus.

In various embodiments of the present invention, the data rate on a bus is increased without increasing either the system clock frequency or the number of signal lines. Output drivers generate, and receivers detect, multi-PAM signals that allow multiple (k) bits to be transmitted or received as one of 2k possible voltages or data symbols at each clock edge or once per clock cycle. For example, one preferred embodiment is a 4-PAM system in which two bits are represented by 22 or four voltage levels, or data symbols, and the two bits are transferred at every clock edge by transferring an appropriate one of the four voltage levels. Therefore, the data rate of a 4-PAM system is twice that of a binary or 2-PAM system.

Multi-PAM is not traditionally used in multi-drop bus systems due, at least in part, to the lower signal-to-noise ratio that is realized when the voltage range is divided into multiple levels. Prior art memory systems have been implemented as only binary systems. A preferred embodiment allows such systems to be implemented using more than two signal levels.

In FIG. 2, a graph shows one embodiment utilizing a 4-PAM signaling scheme. Specifically, the multi-PAM voltage levels are associated with two-bit binary values or symbols such as 00, 01, 10 and 11. In the embodiment of FIG. 2, the binary values are assigned to voltage levels using Gray coding, i.e. the symbol sequence from the highest voltage level to the lowest voltage level is 00, 01, 11, 10. Gray coding provides the advantage of reducing the probability of dual-bit errors because only one of the two bits changes at each transition between voltage levels. If a received 4-PAM voltage symbol is misinterpreted as an adjacent symbol, a single-bit error will occur.

The y-axis of the graph in FIG. 2 shows the associated 4-PAM output voltages VOUT for each symbol. To provide the appropriate voltage to transmit a 4-PAM symbol, the output driver sinks a predetermined amount of current for that symbol. In particular, each symbol is associated with different amount of current. To transmit the symbol 00, the output driver 323 sinks no current and the signal line is pulled up to VTERM. To transmit the symbol 01, the bus output driver 323 sinks a predetermined amount of current I 01 to cause the output voltage VouT to equal VTERM (I·Zo), where I01 is equal to ⅓ I. To transmit the symbol 11, the bus output driver 323 sinks a predetermined amount of current I11 to cause the output voltage VOUT to equal VTERM ⅔ (I·Zo), where I11 is equal to ⅔ I. To transmit the symbol 10, the bus output driver 323 sinks a predetermined amount of current I to cause the output voltage VOUT to equal VTERM (I·Zo). Further details regarding preferred embodiments of the output driver 323 are provided below.

A 4-PAM receiver identifies a received symbol based on a voltage range or range of voltages associated with that symbol. A set of reference voltages VREFLO, VREFM and VREFHI function as thresholds to define ranges of voltages associated with each 4-PAM symbol. In accordance with a preferred embodiment, the reference voltages VREFLO, VREFM and VREFHI are set at the midpoint voltage between neighboring symbols. For example, the symbol 00 is associated with voltages greater than VREFHI. The symbol 01 is associated with voltages falling within the range between VREFHI and VREFM. The symbol 11 is associated with a range of voltages from VREFM to VREFLO. The symbol 10 is associated with a range of voltages less than VREFL0. The reference voltages VREFHI, VREFM and VREFLO are threshold voltages from which a multi-PAM data symbol is determined to be one of the four possible data symbols.

4-PAM symbols or signals also allow for direct compatibility with 2-PAM or binary signaling. When operating in 4-PAM mode, the received data bits are compared to the three reference voltages, VREFHI, VREFM and VREFLO to determine the 4-PAM symbol and the associated two bits. Because the most significant bit (MSB) is determined by comparing the received data bit to VREFM, i.e.the MSB is zero for voltages greater than VREFM and the MSB is one for voltages less than VREFM, the multi-PAM system can be used as a 2-PAM system by ignoring the least significant bit (LSB) and using the MSB. Alternatively, to transmit 2-PAM symbols using the gray code of FIG. 2, the LSB is set equal to zero (low), while the MSB determines the output voltage.

Multi-PAM signaling increases the data rate with a small increase in power consumption because the number of input/output (I/O) pins and the system clock frequency may be the same as that used for binary signaling. The major factor in the power consumption of CMOS circuits, for example, is the CV2F power, which depends directly on the system clock frequency. Therefore, increasing the system clock frequency to increase the data rate directly increases the power consumption. Although some additional power is used for the additional circuitry of the multi-PAM interface, described below, this increase in power is much less than the increase in power that would occur if either the number of I/O pins or the system clock frequency were increased to increase the data rate.

Multi-PAM signaling also increases the data rate without a corresponding increase in the electro-magnetic interference (EMI). If the data rate were increased by increasing the number of I/O pins or by increasing frequency, the EMI would increase proportionally. Because multi-PAM signaling does not increase the number of I/O pins, the EMI does not increase if the total voltage amplitude of the multi-PAM I/O pins remains the same as that used in binary signaling. The total voltage amplitude may be increased to provide greater voltage margin to improve system reliability. Although the EMI would increase correspondingly, the increase would be small than that incurred by increasing the number of I/O pins with binary signaling.

Although the circuits described below use 4-PAM signaling, the embodiments described can be expanded for use in 8-PAM, 16-PAM and, more generally, N-PAM signaling. Accordingly, it is to be understood that the preferred embodiments are not limited to 4-PAM signaling, but rather may be applied to the general, N-PAM signaling, case.

In FIG. 3A, a 4-PAM output driver circuit 950 is used with current control bits (CCtrl<6:0>) to produced desired output voltage levels over a set of on-chip process, voltage and temperature (PVT) conditions. In the output driver 950, a first driver circuit 952 and a second driver circuit 954 connect to an I/O pin 956. The first driver circuit 952 drives the LSB, while the second driver circuit 954 drives the MSB. The first driver circuit 952 and the second driver circuit 954 have a set of driver blocks 958 that are connected in parallel. Since the driver blocks have the same components, one driver block 958 will be described. Each driver block has a binary weighted driver transistor 960-0 with a width to length (W/L) ratio as shown. The driver transistors 960 of the second driver circuit 954 are preferably twice as large as the driver transistors of the first driver circuit 952 because the second driver circuit 954 drives the MSB while the first driver circuit 952 drives the LSB. In other words, the MSB is driven with twice as much current as the LSB.

In driver block 958, odd and even data bits are multiplexed onto the driver transistors 950 via passgates 962 and an inverter 964. In this embodiment, odd data is transmitted at the rising edge of the clock, while even data is transmitted at the falling edge of the clock. NAND gates 966, 968 connect to current control bit zero <0>, and the LSB Odd Data bit and LSB Even Data bit, respectively. When the respective current control bit zero <0> is high, the NAND gates 966, 968 are responsive to the odd and even data. When the respective control bit is low, the output of the NAND gates 966, 968 is low and driver block 958 does not respond to the data bit. The current control bits provide the specified amount of current to cause the desired voltage swing regardless of the PVT conditions. The circuit of FIG. 3A uses seven current control bits. Techniques for determining the setting of the current control bits are described below.

The passgates 962 include two transistor pairs, each pair including a PMOS transistor 972, 974 connected in parallel with an NMOS transistor 976, 978. The clock and clock_b signals connect in an opposite manner to the gates of the transistors of the transistor pair.

Although FIG. 3A shows that the first driver circuit 952 drives the LSB and the second driver circuit drives the MSB 954, in an alternative embodiment, the first driver circuit 954 drives the MSB and the second driver circuit drives the LSB. Alternatively, any arbitrary coding scheme can be produced by placing combinational logic to combine the data bits before sending the combined data bit to the driver block 958.

Table 1 below shows two 4-PAM encoding schemes that may be implemented using the output driver 950 of FIG. 3A.

TABLE 1

Encoding Schemes

Data Bits

Coding

(Symbol) to be

Scheme

Transmitted

MSB Input

LSB Input

Output Voltage

Binary

00

0

0

VTERM

01

0

1

VTERM-1/3 (I · Zo)

10

1

0

VTERM-2/3 (I · Zo)

11

1

1

VTERM-(I · Zo)

Gray

00

0

0

VTERM

01

0

1

VTERM-1/3 (I · Zo)

11

1

1

VTERM-2/3 (I · Zo)

10

1

0

VTERM-(I · Zo)

In another embodiment shown in FIG. 3B, a 4-PAM output driver 980 uses current control bits to control switch transistors in series with the output current source transistors, resulting in the desired output voltage levels. Two sets 981-1 and 981-2 of binary weighted transistors 982-986 combines the current control bits with 4-PAM signal generation. The current control bits directly control current-control NMOS transistors 982-2, 984-2, 986-2 that are connected in series with the driver transistors 982-1, 984-1, 986-1, respectively, that receive the LSB and MSB data. For odd data, the driver transistors 982-1, 984-1, 986-1, cause current to flow to the I/O pin 956 when the respective data bit and the clock signal are high, and the associated current control bit is high to place NMOS transistors 982-2, 984-2 and 986-2 in the active state.

The circuit for even data is not shown, but a separate set of current control NMOS transistors connects in series with a set of driver transistors that respond to the logical AND of the respective data bit and the complement of the clock signal Clock_b for even data.

The output voltages of the circuits of FIGS. 3A and 3B include gds distortion from the driver transistors. In FIG. 4A, a graph shows gds distortion. The x-axis shows the drain-to-source voltage, and the y-axis shows the drain current. Specifically, gds of a MOS transistor is the change of drain current in response to a change in drain voltage. FIGS. 4B and 4C show the data bits, in binary and gray code respectively, and the effect of gds distortion on the output voltage VOUT. In particular, as the output voltage VOUT decreases, the incremental voltage difference between adjacent bits pairs decreases. Because of gds distortion, the voltage increments between the 4-PAM voltages are generally not equal.

In FIG. 5A, a 4-PAM output driver 1000 that corrects for gds distortion is shown. The output driver 1000 is two-way multiplexed, with the multiplexing occurring at the I/O pin 956. The output driver is of the open-drain type and operated in current-mode, with the output current set by a bias voltage on a current source device coupled in series with each of the transistors 1002, 1004 and 1006. For simplicity the current control transistors are not shown. In accordance with a preferred embodiment, a new output symbol is generated on each rising and falling edge (referred to herein as odd and even, respectively) of the clock.

The gds distortion is eliminated by adjusting the width to length (W/L) ratio of transistors 1004 and 1006 by factors α and β, such that β>α>1 and the incremental voltage difference between adjacent 4-PAM levels is constant. Transistors 1002, 1004 and 1006 have a width to length ratio of W/L, α(W/L), and β(W/L) respectively.

Examples of encoding schemes that may be implemented using the output driver of FIG. 5A are shown in Table 2 below. In accordance with a preferred embodiment, input signals A, B, and C are derived from the MSB and LSB of a symbol to be transmitted to produce the 4-PAM levels as shown in Table 2 below. The encoder of the output driver 1000 uses combinational logic 1007 to produce the A, B and C inputs according to Table 2.

TABLE 2

Mapping of Data Bits to ABC Inputs and Encoding Schemes

Data Bits

Coding

(Symbol) to be

Scheme

Transmitted

A

B

C

Output Voltage

Binary

00

0

0

0

VTERM

01

1

0

0

VTERM-1/3 (I · Zo)

10

1

1

0

VTERM-2/3 (I · Zo)

11

1

1

1

VTERM-(I · Zo)

Gray

00

0

0

0

VTERM

01

1

0

0

VTERM-1/3 (I · Zo)

11

1

1

0

VTERM-2/3 (I · Zo)

10

1

1

1

VTERM-(I · Zo)

A binary encoder 1007 is illustrated in FIG. 5B. In the encoder 1007, an OR gate 1008 generates the A signal by performing an OR operation between the LSB and MSB. The B input is the MSB. An AND gate 1009 generates the C signal by performing an AND operation between the LSB and MSB.

In FIG. 5C, an alternative preferred encoder 1007 encodes the LSB and MSB using Gray code. The encoder 1007 of FIG. 5C is the same as the encoder 1007 of FIG. 5B except that, to generate the C signal, the AND gate 1009a receives the complement of the LSB rather than the LSB.

In FIG. 9C, an alternative preferred embodiment of the gds compensated output driver is shown. In this embodiment, the output driver has separate odd and even symbol encoders, with the encoder outputs being multiplexed at the gates of the output transistors.

On-chip, single-ended output drivers, as shown in FIGS. 3A and 3B generate switching noise. For example, when the transistors in the output driver transition from sinking no current such as when driving the 00 symbol, to sinking maximum current such as when driving the gray-coded 10 symbol, the current surges through the I/O pin 956 and through a ground pin. The path between I/O pin 956 and ground has inherent inductance that opposes the current surge and produces significant switching noise (i.e., ground bounce). Because the voltage margins for multi-PAM signaling are less than the voltage margins for binary signaling, switching noise may cause decoding errors.

To reduce sensitivity to switching noise, output drivers can provide a constant or semi-constant current to ground regardless of the output current being driven. As shown in FIG. 6, each single-ended transistor branch 960 (FIG. 3A) and 986 (FIG. 3B) in the output drivers of FIGS. 3A and 3B is replaced with a differential pair 1010.

When the output driver sinks output current from the I/O pin 956, current is steered through transistor N11012 to ground. When transistor NI 1012 is inactive, transistor N21014 becomes active to allow the same or substantially the same amount of current to flow to ground. In this way, a substantially constant amount of current continuously flows to ground to eliminate a large portion of the output driver switching noise and provide a quieter on-chip ground, thereby improving the performance of the 4-PAM signaling. The signal Vi, is the signal that drives transistor N11012. Alternatively, the signal VR that drives transistor N21014 is a reference voltage between ground and Vi. In response to an input voltage Vcntrl, the current source 1016 sinks a predetermined current Io to ground.

FIG. 7 is another embodiment of a multi-PAM output driver that combines the circuit of FIG. 5A, which eliminates gds distortion, with the circuit of FIG. 6 to reduce sensitivity to switching noise.

In FIG. 8, yet another gds compensated 4-PAM output driver is shown. In the 4-PAM output driver, the A, B, and C signals drive equal-sized NMOS transistors 1018, 1020, 1022 having width W. In accordance with a preferred embodiment, signals B and C also drive NMOS transistors 1024, 1026 of width WB and Wc, respectively, to compensate for gds distortion. The widths of the NMOS transistors 1024 and 1026, WB and Wc, respectively, are chosen such that the difference between output levels for adjacent bits is substantially the same, such as ⅓ (I·Zo). The widths of the transistors 1018-1026 may therefore have the following relationship:

W+Wc>W+Wb>W

In FIG. 9A, a 4-PAM output driver corrects the gds distortion and provides current control. As described above, the signals A, B and C preferably determine the output voltage or symbol in accordance with the gray-coded binary signaling shown in Table 2, above. In addition, three sets of current control calibration bits, CC, CCB and CCC, respectively determine the amount of current supplied by the output driver for various combinations of A, B and C. The first set of control bits CC provides primary current control, while the second and third sets of current control bits, CCB and CCC, respectively, fine tune the amount of current. The first set of current control bits CC has N bits; the second set of current control bits CCB has nI bits; and the third set of current control bits CCC has n2 bits. In one embodiment, the relationship between the number of current control bits is as follows:

n1≦n2<N.

There may be different relationships between N, n1 and n2 in alternative embodiments.

Each of the A, B and C signals is associated with a current drive block 1040 to drive a predetermined amount of current associated with the symbol. Each current drive block 1040 includes one or more sets of stacked transistor pairs 1042 that are associated with each set of current control bits for that current driver block 1040. For example, the current drive block 1040-1 that drives the A signal receives current control bits CC. The current drive block 1040-2 that drives the B signal receives current control bits CC and CCB. The amount of current supplied by current drive block 1040-2 is adjusted for gds distortion using the CCB bits. The current drive block 1040-3 that drives the C signal receives current control bits CC and CCC. The amount of current supplied by current drive block 1040-3 is adjusted for gds distortion using the CCC bits.

Referring also to FIG. 9B, a set of stacked transistor pairs 1042 is shown. Each stacked transistor pair 1042 includes two NMOS transistors 1046, 1048 connected in series. The lower NMOS transistor 1046 connects to the one of the A, B, or C signals associated with the current drive block 1040. The upper NMOS transistor 1048 connects to a current control bit. The lower NMOS transistor 1046 is preferably wider than the upper NMOS transistor 1048. Because there are N CC bits, there are N stacked transistor pairs. For example, the current control block 1040 has N stacked transitory pairs 1042-1 to 1042-N, and each stacked transistor pair connects to one of the current control bits, CC <0> to CC<N−>.

The transistors of the stacked transistor pairs are binary weighted with respect to minimum width of W1 for the upper transistors and W2 for the lower transistors. The widths W1 and W2 may be chosen to determine output characteristics such as output resistance and capacitance. Generally the widths W1 and W2 are chosen such that W1 is less than W2.

Although drawn to illustrate the circuit for the CC current control bits, the circuit diagram of FIG. 9B also applies to the sets of stacked transistor pairs associated with the CCB and CCC current control bits.

As shown in FIG. 10, a current control calibration circuit 1050 determines the settings for the current control bits CC, CCB and CCC by selecting a current control reference voltage, VREF, and comparing the current control reference voltage, VREF, to a voltage at a mid-point between two calibration output voltages, VOUT-1 and VOUT-2. The current calibration circuit 1050 determines settings for each of the sets of current control bits CC, CCB and CCC for each 4-PAM output voltage such that VOUT-1 and VOUT-2 provide each adjacent pair of voltage levels to the circuit.

A multiplexor 1052 receives the three 4-PAM reference voltages VREFHI, VREFM and VREFLO. A select reference voltage signal, SelRef, selects one of the referenced voltages as the selected current control reference voltage, VREF. A comparator 1054 compares the selected current control reference voltage VREF to a mid-point voltage VX and generates a comparison signal.

To generate the mid-point VX, output driver 11056 sinks a first amount of current to provide the first output voltage VOUT-1 and output diver 21058 sinks a second amount of current to provide the second output voltage VOUT-2. Two passgate pairs 1060, 1062, in response to a current control enable and its complementary signal, act as a resistor divider to provide the midpoint voltage, VX, between the first output voltage, VOUT-1, and the second output voltage, VOUT-2.

A state machine 1064 includes first, second and third counters, 1066-1, 1066-2 and 1066-3 that provide the first, second and third sets of current control bits, CC, CCB and CCC, respectively. If the comparison signal indicates that the midpoint signal VX is greater than the reference voltage VREF, the state machine 1064 increments an associated set of current control bits by one to increase the amount of current that is sunk by the output driver, thereby decreasing the midpoint voltage. If the midpoint voltage signal VX is less than the current control reference voltage, VREF, the state machine 1064 decrements the associated current control bits by one, thereby increasing the midpoint voltage.

In one embodiment, the current control bits are calibrated during a power-up sequence. The theory of operation for calibrating the current control bits is as follows. The first set of current control bits CC provide the primary amount of current control for each current control block 1040. To compensate for gds distortion, the CCB and CCC current control bits fine tune the amount of current associated with the Gray-coded 11 and 10 signals, respectively. The current control bits are calibrated in the following order: CC, CCB, then CCC.

In alternative embodiments, the current control bits may be calibrated after power-up in response to triggering events, e.g., lapse of a period of time, a change in ambient temperature, a change in power supply voltage, or in response to a threshold number of errors.

Referring also to FIG. 4B, the first and main set of current control bits CC are set using the voltage differences between the 00 and 01 symbols. The first set of current control bits CC are set to provide a amount of current to provide the output voltage for the 01 symbol such that VREFHI is placed at the midpoint between the output voltage for the 00 symbol and the output voltage for the 01 symbol.

As shown in FIG. 4B, because of gds distortion, without compensation, the voltage difference between the 01 symbol and the 11 symbol is less than the voltage difference between the 00 symbol and the 01 symbol. To compensate for the gds distortion, the output voltage for the 11 symbol is decreased by increasing the amount of current sunk by the output driver. The second set of current control bits CCB are set to increase the current sunk by the output driver such that the output voltage becomes equal to the desired voltage level when the midpoint voltage between output voltage for the 01 and 11 is equal to VREFM.

Finally, the third set of current control bits CCC is adjusted such that the midpoint voltage between output voltage for the 11 and 10 is equal to VREFL.

Referring to FIGS. 10, 11A and 11B, the operation of the circuit 1050 including the state machine 1064 will be described. The flowchart of FIGS. 11A and 11B uses gray coded output voltages. In step 1070, the current control enable signal (ccen) and its complement (ccenb) are set to activate the passgate pairs 1060 and 1062 and output the midpoint voltage VX, described above.

Three major blocks of steps 1072, 1074 and 1076 set the current control bits, CC, CCB and CCC, respectively.

In block 1072, step 1078 sets the initial conditions for determining the settings for the first set of current control bits CC. The state machine 1064 outputs the select reference voltage signal (SelRef) which causes the multiplexor 1054 to output the reference voltage VREFHI to the comparator 1054. A 00 symbol is supplied to output driver 11056 by outputting multi-PAM bit selection signals A1, B1 and C1 with values of zero. A 01 symbol is supplied to output driver 21058 by outputting multi-PAM bit selection signals A2 with a value of one, and B2 and C2 with a value of zero. The initial state of the first, second and third current control bits is as follows:

CC={1 0 0 . . . 0};

CCB={1 0 0 . . . 0};

and

ti CCC={1 0 0 . . . 0}.

The current control bits are initially set such that the stacked transistor pair sinking the most current will be activated.

In step 1080, the output drivers 1 and 2 output the voltages corresponding to the symbols 00 (the Vterm refernce) and 01 (the drive level under calibration) and the midpoint voltage VX is generated. In step 1082, the comparator 1054 compares the midpoint voltage VX to the selected reference voltage VREFHI. When the midpoint voltage is within one least significant bit of the reference voltage VREFHI, the first set of current control bits have the proper setting. The state machine 1058 determines that the midpoint voltage VX is within one least significant bit of the reference voltage VREFHI when the current control bits begin to dither between two settings. In other words, the output of the comparator will alternate between a zero and a one.

In step 1084, when the midpoint voltage VX is not within one least significant bit of the reference voltage VREFHI, the state machine 1064 augments the first set of current control bits depending on the result of the comparison. The term augment is used to indicate either incrementing or decrementing the current control bits. The process proceeds to step 1080.

If, in step 1082, the state machine 1064 determines that the midpoint voltage VX is within one least significant bit of the reference voltage, the process proceeds to step 1086 to calibrate the second set of current control bits, CCB.

In step 1086, the initial conditions for calibrating the second set of current control bits CCB are set. The state machine 1064 outputs the select reference voltage signal (SelRef) which causes the multiplexor 1054 to output the reference voltage VREFM to the comparator 1054. A 01 symbol is supplied to output driver 11056 by outputting multi-PAM bit selection signals A1 with a value of one, and B1 and C1 with values of zero. A 11 symbol is supplied to output driver 21058 by outputting multi-PAM bit selection signals A2 and B2 with a value of one, and C2 with a value of zero. The state of the first set of current control signals CC remains unchanged. The initial state of the second and third sets of current control bits, CCB and CCC, respectively, is as follows:

CCB=[1 0 0 . . . 0};

CCC=[1 0 0 . . . 0}.

In step 1088, the output drivers 11056 and 21058 output the voltages corresponding to the symbols 01 (the level calibrated in step 1072) and 11 (the level now under calibration), and the passgate pairs 1060, 1062 output the midpoint voltage VX. In step 1090, the comparator 1054 compares the midpoint voltage VX to the selected reference voltage VREFM. When the midpoint voltage is not within one least significant bit of the reference voltage VREFM, as described above with respect to VREFHI, in step 1092, the state machine 1064 augments the second set of current control bits CCB by one and the process repeats at steps 1086.

When the midpoint voltage is within one least significant bit of the reference voltage VREFM, as described above with respect to VREFHI, the second set of current control bits CCB have the proper setting and the process proceed to step 1094 to calibrate the third set of current control bits, CCC.

In step 1094, the initial conditions for calibrating the third set of current control bits CCC are set. The state machine 1064 outputs the select reference voltage signal (SelRef), which causes the multiplexor 1054 to output the reference voltage VREFLO to comparator 1054. A 11 symbol (calibrated in step 1074) is supplied to output driver 11056 by outputting multi-PAM bit selection signals A1 and B1 with a value of one, and C1 with a value of zero. A 10 symbol (the level now under calibration) is supplied to output driver 21058 by outputting multi-PAM bit selection signals A2, B2 and C2 with a value of one. The state of the first and second sets of current control signals CC and CCB, respectively, remains unchanged. The initial state of the third sets of current control bits CCC is as follows:

CCC={1 0 0 . . . 0}.

In step 1096, the output drivers 11056 and 21058 output the voltages corresponding to the symbols 11 and 10 and the passgate pairs 1060, 1062 output the midpoint voltage VX. In step 1098, the comparator 1054 compares the midpoint voltage VX to the selected reference voltage VREFLO. When the midpoint voltage is not within one least significant bit of the reference voltage VREFLO, as described above with respect to VREFHI, in step 1100, the state machine 1064 augments the third set of current control bits CCC by one and the process repeats at step 1094.

In step 1098, when the midpoint voltage is within one least significant bit of the reference voltage VREFLO, the appropriate settings for the first, second and third sets of current control bits, CC, CCB and CCC respectively are determined and the calibration is complete.

For the foregoing embodiment, a sequential search is described: starting at an initial value and augmenting. It should be emphasized, however, that alternative search techniques known to those skilled in the art may be used. For example, without limiting the foregoing, successive approximation using a binary search may be used. As a further, although less desirable because it is hardware intensive, alternative, a direct flash conversion may be used.

In FIG. 12, a 4-PAM reference voltage generator 1380 generators the multi-PAM reference voltages VREFHI, VREFM and VREFLO from external voltages, VTERM and VREF, supplied on input pins 1382, 1384 respectively. Unity gain amplifiers 1386, 1388 receive and output the input voltages VTERM and VREF respectively. A voltage divider, including series-connected resistors R1, R2 and R3, is coupled between the outputs of the unity gain amplifiers 1386 and 1388. The lowest voltage VREF is selected to drive VREFLO via a power driver 1390. Power drivers 1392, 1394 are coupled between resistors R3, R2 and R1 to provide reference voltages VREFHI and VREFM respectively. The power drivers 1390-1394 are connected as unity gain amplifiers.

In one embodiment, the resistor values are selected such that resistors R2 and R3 have twice the resistance of resistor R1, and VREF, which is supplied externally, is equal to the desired VREFLO voltage.

An electrical schematic of a first preferred alternative to the current control calibration circuit of FIG. 10 is shown in FIGS. 13A and 13B. In FIG. 13A, a comparator 1500 is coupled by a multiplexor 1502 to a multi-level voltage reference 1504, which in this case includes three discrete levels. One of the three reference voltage levels, VREFHI, VREFM or VREFLO, is selectively applied to two inputs of the comparator 1500, as further described below. The comparator 1500 is also coupled to receive source calibration signals 1506 and 1508, which are supplied by current mode drivers, such as the 4-PAM driver 1000 shown in FIG. 5A. The source calibration signals 1506 and 1508, for the embodiment shown, include a first driver output at a known, or previously calibrated, voltage level on the input line 1506 and an unknown driver output voltage level on the input line 1508, such that the signal on input line 1508 is the signal being calibrated. The comparator 1500 provides an output for adjusting or calibrating the output of the drivers on input line 1508, as further described below, so that the driver output can be reliably received and decoded.

FIG. 13B is an electrical schematic of the comparator 1500 shown in FIG. 13A. The two inputs from the multiplexor 1502 and the source calibration signals 1506 and 1508 are each coupled to an input of a switch 1510. The outputs of the switches 1510 are combined in pairs and each combined switch output is connected to a coupling capacitor 1512. The coupling capacitors 1512 are connected to opposing inputs 1514a and 1514b of a transistor comparator 1516. The output of the transistor comparator 1516 is the voltage across nodes 1518 and 1520. Two switches 1522 selectively couple the output nodes 1518 and 1520 to the inputs 1514a and 1514b, respectively. The output nodes 1518 and 1520 are coupled to a latching stage 1524.

As illustrated in FIG. 13B, the elements of the comparator 1500, including the switches 1510, the coupling capacitors 1512, the amplifier 1516 and the switches 1522, are preferably implemented as semiconductor devices in an integrated circuit. The coupling capacitors 1512 are preferably constructed using MOS transistors connected as capacitors but other embodiments may alternatively use other capacitor types. Those skilled in the art of integrated circuit design will appreciate that, as a result of process variation, there is likely to be a random offset voltage associated with the transistor comparator 1516. In other words, if the same voltage is applied at the inputs 1514a and 1514b, a finite voltage will appear across output nodes 1518 and 1520, rather than the ideal case in which the output nodes 1518 and 1520 are at the same potential. While the offset voltage is not typically significant for systems using binary or 2-PAM signaling, it is preferable to correct for the offset voltage in systems using four or more signal levels, such as a 4-PAM system.

The comparator 1500 of FIG. 13B therefore includes offset cancellation circuitry. Specifically, the coupling capacitors 1512 and the switches 1522 are operable to provide offset cancellation as follows. During the cancellation phase, which may also be referred to herein as the auto-zero phase, signal az, which is coupled to the gates of the transistor switches 1522, is high. Referring back to FIG. 13A momentarily, the signal az is generated by a non-overlapping clock driver, which includes elements U29, U16, U18, etc. The non-overlapping clock driver produces skewed signals, with a delay period between transitions.

Referring again to FIG. 13B, when the signal az goes high, the amplifier 1516 is placed into unity gain mode by turning on switches 1522 and the offset voltage is stored on the coupling capacitors 1512. In addition, during the auto-zero phase, the switches 1510 are set to apply, in this particular embodiment, the reference voltage supplied by the multiplexor 1502 and the known output driver voltage 1506 to the coupling capacitors 1512. Thus, during the auto-zero phase, the transistor comparator 1516 samples the difference between the two known voltages as modified by the offset voltage of transistor comparator 1516.

At the end of the auto-zero phase, switches 1522 are opened, placing the amplifier 1516 into a high gain mode, and then there is a momentary delay followed by a compare phase. At the start of the compare phase, the state of the switches 1510 is changed to sample the reference voltage supplied by the multiplexor 1502 and the unknown output driver voltage 1508 onto the coupling capacitors 1512. Because the charge stored from the auto-zero phase is trapped on the coupling capacitors 1512, any change in the input voltages, such as the change to the unknown output driver voltage 1508, produces a voltage across the input nodes 1514a and 1514b of the transistor comparator 1516. This in turn produces an output voltage across the nodes 1518 and 1520 that is preferably latched into a latching stage 1524.

The control logic enables strobing of the latching stage 1524. In accordance with a preferred embodiment, the latch 1524 may be strobed multiple times during a single compare phase. Alternatively, the latch 1524 may be strobed only once during a single compare phase.

In accordance with a preferred embodiment, a current control transistor in the current mode driver is adjusted, for example as described above with respect to FIGS. 10, 11A and 11B or as described in U.S. Pat. No. 5,254,883, based upon the output of the transistor comparator 1516. In accordance with a preferred embodiment, the unknown driver output voltage level on line 1508 is incrementally adjusted, such as by increasing or decreasing the amount of current sunk by the output driver, until the average value of the voltage levels on lines 1506 and 1508 is equal to the reference voltage supplied by the multiplexor 1502.

FIG. 13C is a timing diagram illustrating the relationship between several of the signals referenced above. The timing signals 1526 and 1528 drive the non-overlapping clock driver in FIG. 13A. The auto-zero and compare phases are defined in accordance with the signal 1526. The signal 1530 is the voltage output of the comparator, as shown at pin 1532 in FIG. 13A. The known voltage signal 1506 and the known voltage reference from the multiplexor 1502 are essentially constant. The unknown voltage signal 1508 is adjusted, in this example it is decreasing. When the unknown voltage signal 1508 reaches the point where the reference voltage is equal to the average of the signals 1506 and 1508, the output of the comparator circuit 1530 goes high.

The current control calibration circuit shown in FIGS. 13A and 13B may be utilized as follows to calibrate a 4-PAM output driver, such as the driver of FIG. 5A. When the transistors 1002, 1004 and 1006 are in the off state the voltage at the output of the current mode driver is vTERM. This corresponds to the symbol 00, which is the zero current state and does not need to be calibrated.

The known voltage, vTERM, is applied to line 1506 of the comparator 1500 and an unknown voltage generated by turning on the transistor 1002 (from FIG. 5A) is applied to line 1508 of the comparator 1500. The multiplexor 1502 causes the reference voltage, VREFHI, to be applied to the comparator 1500. Using feedback from the output of the comparator 1500, a current control transistor (not shown) coupled in series with the transistor 1002 is adjusted until the average of the voltages on lines 1506 and 1508 is equal to the reference voltage, VREFHI. The voltage on line 1508 is now calibrated to correspond with the 4-PAM symbol 01.

At this point, the voltage corresponding to the 4-PAM symbol 01 is applied to line 1506, and an unknown voltage generated by turning on the transistors 1002 and 1004 is applied to line 1508. The multiplexor 1502 is activated to cause the reference voltage, VREFM, to be applied to the comparator 1500. Using feedback from the output of the comparator 1500, a current control transistor (not shown) coupled in series with the transistor 1004 is adjusted until the average of the voltages on lines 1506 and 1508 is equal to the reference voltage, VREFM. The voltage on line 1508 is now calibrated to correspond with the 4-PAM symbol 11.

Next, the voltage corresponding to the 4-PAM symbol 11 is applied to line 1506, and an unknown voltage generated by turning on the transistors 1002, 1004 and 1006 is applied to line 1508. The multiplexor 1502 is activated to cause the reference voltage, VREFLO, to be applied to the comparator 1500. Using feedback from the output of the comparator 1500, a current control transistor (not shown) coupled in series with the transistor 1006 is adjusted until the average of the voltages on lines 1506 and 1508 is equal to the reference voltage, VREFlo. The voltage on line 1508 is now calibrated to correspond with the 4-PAM symbol 10.

Those skilled in the art of circuit design will appreciate that the comparator 1500 may take other forms. FIG. 13D illustrates alternative embodiments for the differential comparator of FIG. 13B.

Referring again to FIG. 13B, it will be appreciated that if, for example, the comparator 1500 is implemented as an integrated circuit, then the coupling capacitors 1512 may be implemented using a PMOS FET topology as shown in FIG. 13E. Such capacitors operate linearly when the applied voltage, VDC, is greater than the magnitude of the threshold voltage, VT, of the PMOS FET. The averaging and offset cancellation functions of the comparator 1500 are not optimally realized when the capacitors are operated in the non-linear range. It is therefore preferred that the applied voltage be kept within the linear range. In accordance with a preferred embodiment, the applied voltage is within the range of approximately 1.0 volts to 1.8 volts. The auto-zero voltage, VAZ, may be approximately 0.6 volts.

An electrical schematic of another preferred alternative to the current control calibration circuit of FIG. 10 is shown in FIGS. 14A and 14B. As shown in FIG. 14A, this embodiment includes a comparator 1500, a multiplexor 1502, multi-level voltage reference 1504, and source calibration signals 1506 and 1508, which carry a known voltage signal and an unknown (to be calibrated) voltage signal, respectively. In comparison to FIG. 13A, the circuit of FIG. 14A differs in that it includes a resistive voltage combiner 1532 that is coupled to provide the average of the signals on lines 1506 and 1508 to the comparator 1500. In addition, for the embodiment of FIG. 14A, the non-overlapping clock driver is replaced by an inverter delay chain 1534.

As shown in FIG. 14B, the comparator 1500 differs from that of FIG. 13B. Notably, a different offset cancellation technique is utilized. For the embodiment of FIG. 14B, a switch 1536 and feedback amplifier 1538 are used to compensate for the offset voltage associated with a differential amplifier 1540.

The operation of the embodiment shown in FIGS. 14A and 14B will now be described. The timing of the offset cancellation phase and the compare phase are controlled by the inverter delay chain 1534. The inverter delay chain 1534 produces skewed signals evb, evb2, evb6, etc, shown in FIGS. 14C and 14D. The delay between these signals is approximately the delay of one or more logic gates. The delay period may be augmented by loading the gate outputs with additional capacitance.

During the cancellation phase, the feedback amplifier 1538 senses the offset voltage associated with the differential amplifier 1540 as follows. When timing signal evb2 goes low, the inputs 1542 and 1544 of the amplifier 1540 are shorted together by a switch 1546. At the same time, a switch pair 1548 couples the outputs of the amplifier 1540 to the inputs of the feedback amplifier 1538. With the inputs 1542 and 1544 of the amplifier 1540 being shorted together, any voltage appearing at the output of the amplifier 1540 may be characterized as an output offset voltage. The feedback amplifier 1538 produces output current in the drains of transistors 1550 and 1552 in an amount that is proportional to the output offset voltage. The current supplied by the feedback amplifier 1538 works to drive the output offset voltage to zero, thereby balancing the amplifier 1540 when its inputs 1542 and 1544 are shorted. The resultant voltage required to produce the balancing current in the feedbac amplifier 1538 is stored on the capacitors 1554 and 1556 at the end of the cancellation phase when the switches 1548 are opened.

As shown in FIGS. 14C and 14D, shortly after the cancellation phase ends on the falling edge of the signal evb, the switches 1546 and 1548 are opened, disconnecting the feedback amplifier 1538 and coupling the inputs 1542 and 1544 to the amplifier 1540, as the signal evb2 goes high. The transition of evb2 to high starts the compare phase. Momentarily after the compare phase starts, the signal evb6 goes high, activating the latching stage of the comparator 1500. When the latching stage is active, the output voltage of the differential amplifier 1540 is latched.

The current control calibration circuit shown in FIGS. 14A and 14B may be utilized to calibrate a 4-PAM output driver in the same manner as described above with respect to FIGS. 13A and 13B.

FIG. 15A is an electrical schematic of a linear transconductor. In a linear region of operation, the output voltage, VOUT, is proportional to the difference between the input voltages, v1, and v2. Thus, the output of the linear transconductor is balanced, i.e. vOUT=0, when v1−vRef=vRef−v2, or (v1+v2)/2=VRef.

In accordance with yet another alternative embodiment, therefore, the comparator comprises a transconductor stage, as shown in FIG. 15B. For this embodiment, an offset canceling amplifier, such as the amplifier 1538 of FIG. 14B, is preferably utilized.

While the invention has been described in connection with a number of preferred embodiments, the foregoing is not intended to limit the scope of the invention to a particular form, circuit arrangement, or semiconductor topology. To the contrary, the invention is intended to be defined by the appended claims and to include such alternatives, modifications and variations as may be apparent to those skilled in the art upon reading the foregoing detailed description.