The subject matter presented herein relates generally to electronic amplifiers, and more particularly to methods and circuits for controlling gain and signal offsets.
An electronic amplifier is a device for increasing the power of a signal. The power increase is a consequence of some form of “gain,” a multiplication factor relating the magnitude of the amplifier's output to its input signal. An amplifier's gain may be specified as the ratio of output voltage to input voltage (voltage gain), output current to input current (current gain), or output power to input power (power gain).
High-speed amplifiers are commonly formed on integrated circuits (IC) using photolithographic and chemical processes. Despite attempts to ensure uniformity, process variations result in physical and chemical differences within and between integrated circuits. Such process variations lead to undesirable variations in amplifier gain. Process and other variations also impact supply voltages, which likewise affect amplifier gain. Temperature can also have a profound effect. Process mismatches can also introduce signal “offsets,” in which case a differential amplifier can provide different responses for complementary but otherwise identical signals.
Gain variations and offsets that result from process, voltage, and temperature (PVT) variations can introduce errors and reduce speed performance, particularly for high-performance, low-power amplifiers. Sensitive amplifiers may therefore require some form of manual or automated tuning. The circuits and techniques required for such tuning can be complex, area-intensive, and time consuming. There is therefore a need for simple and inexpensive methods and circuits for calibrating and maintaining amplifier gain and signal offsets across process, voltage, and temperature.
The subject matter disclosed is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
The transconductance gm of a transistor is the ratio of the current change at the output node to the voltage change at the input node. Bias circuit 120 develops a bias voltage Vb to set the transconductance gm of transistors 130 at a value K/Zg, where K is a fixed design parameter of bias circuit 120 and Zg is the impedance of a like-designated resistor. Bias circuit 120 replicates bias voltage Vb as a second bias voltage Vbias, which is shared with a pair of transistors 135 in amplifier 110 to control the currents through transistors 115. These currents fix the transconductance gm of transistors 115 equal to that of transistor 130.
Transconductance gm is controlled by a reference impedance Zg that varies with process, voltage, and temperature. To accommodate process variations, reference impedance Zg can be adjusted to a desired impedance by application of a digital or analog reference-control signal RefC from calibration control circuit 140. Impedance, in this context, is a measure of opposition to current flow, and has resistive, inductive and capacitive components. The inductive and capacitive components are disregarded in this example because the resistive component dominates. Inductive or capacitive components may be adjustable in other embodiments.
To a first approximation, the value of reference impedance Zg varies with temperature T according to the following equation 1, where Zg0 is the value of impedance Zg at a temperature To, and α is a temperature coefficient for the resistor:
Zg=Zg
0(α(T−T0)+1) (1)
The value of transconductance gm for transistors 130 and 115 is constant K divided by impedance Zg (gm=K/Zg). Because impedance Zg varies with temperature, so too does transconductance gm. Stated mathematically:
g
m
=K/(Zg0(α(T−T0)+1)) (2)
The voltage gain Av of each leg of amplifier 110 is the product of the transconductance gm and the respective load impedance. That is, the gains provided by the left and right legs are gmZ1 and gmZ2, respectively. Reference impedance Zg is a replica of load impedances Z1 and Z2, so the α coefficients are the same or nearly so. The load and replica impedances thus exhibit similar temperature responses. Namely, the values of impedances Z1 and Z2 vary with temperature T according to the following equations 3 and 4, which are similar to equation 1:
Z1=Z10(α(T−T0)+1) (3)
Z2=Z20(α(T−T0)+1) (4)
As noted previously, the absolute gain of each leg of amplifier 110 equals the product of transconductance gm and the respective load impedance, and the load impedance tracks reference impedance Zg. The absolute gain AVL of the left-hand leg of amplifier 110 can therefore be expressed as:
A
VL
=g
m
Z1=gmZ10(α(T−To)+1) (5)
Substituting for gm using equation 2 gives:
A
VL(K/(Zg0(α(T−T0)+1))(Z10(α(T−T0)+1)) (6)
which simplifies to:
A
VL
=K(Z10/Zg0) (7)
Applying the same steps, the gain AVR of the right-hand leg of amplifier 110 simplifies to:
A
VR
=K(Z20/Zg0) (8)
Both legs of amplifier 110 thus exhibit a temperature-independent gain proportional to the ratio of their respective load impedance to the reference impedance at temperature T0.
Load impedances Z1 and Z2 are equal in the embodiment of
IC 200 includes input nodes InN and InP, which are terminated to a common-mode voltage node VCM via respective termination elements 225. Termination elements are optionally adjustable over a range of termination impedances responsive to a control signal Rtrm. Though not shown, IC 200 may additionally include termination control circuitry to determine the value of control signal Rtrm. This determination may be based upon an external reference resistor, on integrated replica termination element, or both.
Amplifier 210 may be a receiver input stage that supports near-ground differential signaling. Amplifier 210 level shifts the incoming signal InN/InP using a differential pair of transistors 235. The control terminals of transistors 235 are coupled to a bias voltage Vbias, and each transistor 235 includes a first current-handling terminal coupled to a supply node VDD via a respective load impedance and a second current-handling terminal coupled to a second supply node (ground) via a source impedance Zs. Transistors 235 are NMOS transistors in a common-gate configuration in this example, but may be other types of transistors and otherwise configured in other embodiments.
The gain of each leg of amplifier 210 is the product of the transconductance gm of the respective transistor and the load impedance. Bias circuit 215, by deriving bias voltage Vbias, sets the transconductances gm of transistors 235 as detailed above in connection with
Amplifier 210 is a differential amplifier, and receives a differential input signal on nodes InP and InN. The common-mode voltage VCM used as a reference for bias circuit 215 need not be provided by a separate reference-voltage source, but can instead be derived from the incoming signal. In such embodiments both bias circuit 215 and amplifier 210 can automatically adapt to changes in the common-mode voltage of the input signal. The common-mode voltage VCM can be provided by a reference within or external to IC 200 in other embodiments. Furthermore, embodiments that support single-ended signaling can sense a mid-point of the input signal excursion for use as a reference, or can use a separate internal or externally supplied reference.
Control circuitry 220 communicates control signals to load impedances Z1 and Z2, source impedances Zs, and reference impedance Zg. These control signals can be calibrated to set a desired gain for amplifier 210. Control circuitry 220 may include or be coupled to a register, for example, that stores a calibration value selected to e.g. account for process variations.
The calibrated gain of the amplifiers of
Receiver 300 includes a differential amplifier 305, including two legs that pass respective bias currents I1 and I2. Bias currents I1 and I2 are set by respective bias voltages Vbias1 and Vbias2 from a pair of complementary transconductance-bias circuits 310(1) and 310(2). Reference impedances Zg1 and Zg2 in bias circuits 310(1) and 310(2) can separately control input transconductances gm1 and gm2 of amplifier 305, and consequently the gain provided by each of the two legs of amplifier 305.
Reference impedances Zg1 and Zg2 can be controlled by separate digital or analog control circuits (not shown), all or part of which may be instantiated within receiver 300 or elsewhere. If the load impedances and transconductances are matched, the gains of the two amplifier legs are equal (gm1*Z1=gm2*Z2) and the common mode gain Avcm is zero (Avcm=gm1*Z1−gm2*Z2). Mismatches between the amplifier legs or associated input and output signal paths can alter the gain of one or both legs, and consequently produce a non-zero common-mode gain. Such mismatches can be calibrated away by adjustment of reference impedances Zg1 and Zg2, load impedances Z1 and Z2, or a combination of the reference and load impedances.
To calibrate receiver 300 in accordance with one embodiment, input nodes InN and InP are both set to a DC common-mode voltage. The voltages on output nodes OutP and OutN are then set equal by adjusting the reference impedances, load impedances, or both until the product of current I1 and load impedance Z1 equals the products of current I2 and load impedance Z2. Expressed mathematically:
Z1*I1=Z2*I2 (9)
Dividing both sides by Z2*I1 gives:
Z1/Z2=I2/I1 (10)
For semiconductor processing technologies considered to be advanced at the time of this writing, the ratio of currents I2 and I1 essentially equals the ratio of transconductances gm2 and gm1. Expressed mathematically:
g
m2/gm1=I2/I1 (11)
Combining equations 10 and 11 gives:
g
m2
/g
m1=Z1/Z2 (12)
Finally, cross multiplying equation 12 gives:
g
m2*Z2=gm1*Z1 (13)
As discussed previously, the gain of each amplifier leg is the product of transconductance and the respective load impedance. That is, the gain provided by the left and rights legs are gm*Z1 and gm*Z2, respectively. Per equation 13, calibrating amplifier 305 for zero offset equalizes the gain of the two legs, and thus sets the common-mode gain to zero (Avcm=0).
Reference impedances Zg1 and Zg2 are replicas of load impedances Z1 and Z2, respectively, and so behave similarly across process, voltage, and temperature. Bias circuits 310(1) and 310(2) adjust transconductances gm1 and gm2 responsive to temperature in inverse proportion to the changes in load impedances Z1 and Z2. The gains of the legs of amplifier 305 therefore remain relatively constant. Receiver 300 therefore provides a low DC offset and common-mode gain while supporting a constant differential gain. Relatively simple and efficient control circuitry thus eliminates the need for periodic offset and gain calibration.
A simple embodiment of a variable impedance 350 suitable for use as adjustable reference and load impedances is shown in the lower right of
Receiver 400 includes a common-gate differential amplifier 405, including two legs that pass respective bias currents I1 and I2. Bias currents I1 and I2 are set by respective bias voltages Vbias1 and Vbias2 from a pair of complementary transconductance-bias circuits 410(1) and 410(2). Reference currents Ig11, Ig12, Ig21 and Ig22 in bias circuits 410(1) and 410(2) can separately control input transconductances gm1 and gm2 of amplifier 405, and consequently the gain provided by each of the two legs.
Reference currents Ig11, Ig12, Ig21 and Ig22 can be controlled by separate digital-to-analog converters (DACs) 415(1) and 415(2), which convert digital control signals Ztrm1 and Ztrm2 into respective analog voltages VG1 and VG2. The analog voltages control the currents Ig11, Ig12, Ig21, and Ig22 of respective pairs of PMOS transistors in bias circuits 410(1) and 410(2), which in turn establish bias voltages Vbias1 and Vbias2. These bias voltages determine transconductances gm1 and gm2 of amplifier 405 in the manner described above in connection with other embodiments. Analog voltages VG1 and VG2 can be generated from transconductances gm1 and gm2 using gm bias circuits similar to circuit 215 of
Mismatches between the amplifier legs or associated input and output signal paths can be calibrated away by careful adjustment of reference currents Ig11, Ig12, Ig21, and Ig22. Load impedances Z1 and Z2 are not adjustable in this example, but may be in other embodiments. Offset voltages and common-mode gain can be calibrated as discussed above. Briefly, input nodes InN and InP are both set to common-mode voltage VCM and the voltages on output nodes OutP and OutN are equalized by adjusting the currents Ig11, Ig12, Ig21, and Ig22. These reference currents are provided by PMOS transistors in this example, and may be adjusted by controlling their gate voltages. Load impedances Z1 and Z2 can be implemented in the same way.
Various coding schemes can be used to present data on input nodes InN and InP. So long as these are balanced, common-mode voltage VCM will remain relatively constant without connection to a reference. The common-mode voltage VCM can therefore be derived from the incoming signal, rather than from some voltage reference. Deriving the common-mode voltage from the incoming signal or signals eliminates the requirement of a separate reference and allows the bias circuits and amplifier to automatically adapt to changes in the input signal. The common mode biasing circuits 410(1) and 410(2) in
While the present invention has been described in connection with specific embodiments, variations of these embodiments are also contemplated. Still other variations will be obvious to those of ordinary skill in the art. Moreover, some components are shown directly connected to one another while others are shown connected via intermediate components. In each instance the method of interconnection, or “coupling,” establishes some desired electrical communication. Such coupling may often be accomplished in many ways using various types of intermediate components and circuits, as will be understood by those of skill in the art. Therefore, the spirit and scope of the appended claims should not be limited to the foregoing description. For U.S. applications, only those claims specifically reciting “means for” or “step for” should be construed in the manner required under the sixth paragraph of 35 U.S.C. §112.
Number | Date | Country | |
---|---|---|---|
61419406 | Dec 2010 | US |