SYSTEMS AND METHODS FOR LINEAR VARIABLE GAIN AMPLIFIER
20220407484 · 2022-12-22
Inventors
- Praveen Prabha (Lake Forest, CA, US)
- Karthik Raviprakash (San Jose, CA, US)
- Luke Wang (San Jose, CA, US)
- Stephane Dallaire (Gatineau, CA)
Cpc classification
H03G1/0088
ELECTRICITY
H03F3/45659
ELECTRICITY
H03G3/3036
ELECTRICITY
International classification
Abstract
A variable gain amplifier includes input terminals configured to receive a differential input of the variable gain amplifier, output terminals configured to generate a differential output of the variable gain amplifier, the differential output having a gain applied by the variable gain amplifier to the differential input, and an impedance ladder circuit coupled to the input terminals, the impedance ladder circuit comprising a plurality of semiconductor switches configured to receive respective control signals based on a control voltage. The plurality of semiconductors switches are responsive to the respective control signals to adjust the gain of the variable gain amplifier and configured with a predetermined exponential scale such that the impedance ladder circuit causes a slope of the gain of the variable gain amplifier relative to the control voltage to be generally linear.
Claims
1. A variable gain amplifier, comprising: input terminals configured to receive a differential input of the variable gain amplifier; output terminals configured to generate a differential output of the variable gain amplifier, the differential output having a gain applied by the variable gain amplifier to the differential input; and an impedance ladder circuit coupled to the input terminals, the impedance ladder circuit comprising a plurality of semiconductor switches configured to receive respective control signals based on a control voltage, the plurality of semiconductors switches being (i) responsive to the respective control signals to adjust the gain of the variable gain amplifier and (ii) configured with a predetermined exponential scale such that the impedance ladder circuit causes a slope of the gain of the variable gain amplifier relative to the control voltage to be generally linear.
2. The variable gain amplifier of claim 1, wherein the plurality of semiconductor switches are comprised of unit cells to provide the predetermined exponential scale.
3. The variable gain amplifier of claim 1, wherein the predetermined exponential scale corresponds to an exponential ratio of at least one of respective sizes and respective strengths of the plurality of semiconductor switches.
4. The variable gain amplifier of claim 1, wherein at least one of respective sizes and respective strengths of the plurality of semiconductor switches define an exponential curve.
5. The variable gain amplifier of claim 1, wherein the semiconductor switches are metal oxide semiconductor (MOS) switches.
6. The variable gain amplifier of claim 1, further comprising a degeneration resistor coupled in parallel with the impedance ladder circuit to further adjust the gain of the variable gain amplifier, wherein the degeneration resistor provides a minimum gain to the variable gain amplifier.
7. The variable gain amplifier of claim 1, wherein each of the plurality of semiconductor switches is coupled to a different one of a plurality of control signals to independently control respective gains of the plurality of semiconductor switches.
8. The variable gain amplifier of claim 1, further comprising a control circuit configured to (i) receive the control voltage, (ii) apply a ramp gain to the control voltage to generate a ramp voltage configured to ramp each of the plurality of control signals upward or downward as the control voltage varies, and (iii) generate the plurality of control signals based on the ramp voltage.
9. The variable gain amplifier of claim 8, further comprising a plurality of reference resistors coupled to an output of the control circuit and configured to generate the respective control signals based on the ramp voltage.
10. The variable gain amplifier of claim 9, further comprising first and second reference current sources coupled to the plurality of reference resistors and configured to regulate the respective control signals.
11. The variable gain amplifier of claim 9, wherein respective control signals of the plurality of control signals are output from different positions between the plurality of reference resistors.
12. The variable gain amplifier of claim 11, wherein the respective control signals are output via taps between adjacent ones of the plurality of reference resistors to provide different voltage values to the respective ones of the plurality of switches.
13. The variable gain amplifier of claim 8, the control circuit comprising a digital-to-analog converter configured to convert a digital control code to the control voltage to adjust the gain of the variable gain amplifier.
14. The variable gain amplifier of claim 13, the control circuit comprising a ramp circuit coupled between the digital-to-analog converter and the impedance ladder circuit, the ramp circuit configured to apply the ramp gain to the control voltage to generate the ramp voltage.
15. The variable gain amplifier of claim 14, the ramp circuit comprising an operational transconductance amplifier configured to function as a unity gain buffer for the control voltage.
16. The variable gain amplifier of claim 15, the operational transconductance amplifier being configured in a feedback loop with the ramp voltage.
17. The variable gain amplifier of claim 1, wherein the impedance ladder circuit does not include a switchable resistor array.
18. The variable gain amplifier of claim 1, further comprising a bias loop coupled to the impedance ladder circuit and configured to generate a bias current input to the impedance ladder circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The following diagrams are merely examples, which should not unduly limit the scope of the claims herein. One of ordinary skill in the art would recognize many other variations, modifications, and alternatives. It is also understood that the examples and embodiments described herein are for illustrative purposes only and that various modifications or changes in light thereof will be suggested to persons skilled in the art and are to be included within the spirit and purview of this process and scope of the appended claims.
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION OF THE INVENTION
[0024] The present invention is directed to electrical circuits. In a specific embodiment, the present invention provides a variable gain amplifier that includes an impedance ladder and a control circuit. The impedance ladder includes n switches configured in parallel. The control circuit includes a digital-to-analog converter and an amplifier. The control circuit generates n control signals for the n switches. There are other embodiments as well.
[0025] Various embodiments of the present invention afford linearization of variable gain amplifiers (VGA), which can be used for high-speed wireline communication link receivers. Exemplary VGAs, as described below, eliminate the need for a high-resolution digital-to-analog converter (DAC) for gain calibration by using a control circuit (e.g., a ramp circuit) based on an operational transconductance amplifier (OTA). For example, an exemplary ramp circuit includes an OTA and a medium-resolution DAC. An exponential scaling of the degeneration metal oxide semiconductor (MOS) devices is used to provide good linearity and small gain steps during VGA calibration (when used in conjunction with ramp circuits). It is to be appreciated that exponential scaling of degeneration device—implemented without the need resistors configured in series—allows for the optimum area, speed, and linearity.
[0026] The following description is presented to enable one of ordinary skill in the art to make and use the invention and to incorporate it in the context of particular applications. Various modifications, as well as a variety of uses in different applications will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to a wide range of embodiments. Thus, the present invention is not intended to be limited to the embodiments presented, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0027] In the following detailed description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without necessarily being limited to these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.
[0028] The reader's attention is directed to all papers and documents which are filed concurrently with this specification and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference. All the features disclosed in this specification, (including any accompanying claims, abstract, and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.
[0029] Furthermore, any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. Section 112, Paragraph 6. In particular, the use of “step of” or “act of” in the Claims herein is not intended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.
[0030] Please note, if used, the labels left, right, front, back, top, bottom, forward, reverse, clockwise and counter-clockwise have been used for convenience purposes only and are not intended to imply any particular fixed direction. Instead, they are used to reflect relative locations and/or directions between various portions of an object.
[0031] As explained above, variable gain amplifiers (VGA) have a wide range of applications. For example, VGAs are often used in communication applications. For example, as a part of a serializer/deserializer (SerDes) system, a VGA can be used to amplify the amplitude of the received analog signal before other processing techniques (e.g., clock recovery, ADC conversion, etc.) are performed. Depending on the actual application and implementation of VGAs, there are various desirable VGA characteristics, such as low noise, small parasitic capacitance on the output nodes, and high linearity.
[0032] It is to be appreciated that according to various embodiments of the present invention, VGAs are implemented in conjunction with continuous-time linear equalizers. Continuous-time linear equalizers are typically included in various types of communication and data processing systems. For example, a SerDes system includes both a transmitter module and a receiver module. Received analog signals, transmitted as a differential pair, are first processed by a continuous-time linear equalizer (CTLE) and then amplified by a VGA. In various embodiments of the presentation invention, VGAs are implemented in conjunction with CTLE. Additionally, one or more digital-to-analog converters (DAC) are used to provide control signals for both the CTLE and the VGA.
[0033] It is to be appreciated that in a high-speed rate wireline receiver, equalization circuits are used to compensate for the loss of the channel and extend the maximum data rate. For example, an equalization circuit may be a CTLE and/or an analog implementation of a feed-forward equalizer (FFE). However, the use of such front-end circuits typically results in a reduction of signal amplitude which must be compensated for so that the final decision circuit has the maximum dynamic range to mitigate its input-referred noise and to ensure sufficiently short regeneration time to make an error-free decision. This is done using a VGA with enough gain range which can be tuned using some sort of automatic gain control (AGC) calibration. For high data rates, the VGA design becomes challenging and involves optimizing the performance. For example, VGA performance can be measure in terms of large gain range, low power, high linearity with large input/output swing, small gain step (e.g., an order of 0.1-0.2 dB/step), large bandwidth to minimize frequency-dependent losses and/or settling error, and others. It is to be appreciated that embodiments of the present invention can achieve high performance under these metrics, as explained below.
[0034]
[0035] As shown in
[0036]
where G.sub.M is the transconductance of the input device. For small swing across its source and drain terminals, the R.sub.DEG can be represented as a linear resistor of value
where β is a constant which depends on the size (W/L) and other device parameters, V.sub.CM is the common-mode voltage at the sources of the input devices (MD) and VT is the threshold voltage. As is evident, for small values of V.sub.CTRL, the R.sub.DEG reduces, increasing the gain from input to output and vice versa.
[0037] By design, the G.sub.M is kept large for noise and speed reasons. For such large G.sub.M, the gain for lower gain codes, can be approximated as
With a large G.sub.M assumption, the source terminals of the input differential pair see the full input differential signal without much attenuation.
[0038] The non-linearity of the VGA usually comes from two sources. The non-linearity of input pair G.sub.M is a function of the swing across its V.sub.Gs and V.sub.DS terminals. The non-linearity of the degeneration switch also contributes to non-linearity, since the resistance realized with a MOS switch is inherently non-linear. The non-linearity caused by G.sub.M variation can be reduced by keeping the G.sub.M large enough and/or using local loops to suppress V.sub.DS variation. It is to be appreciated that degeneration resistor R.sub.DEG in VGA 150 is replaced by an impedance ladder circuit according to various embodiments, which improves the non-linearity caused by the degeneration switch R.sub.DEG. As an example, an expression for the degeneration resistance is shown below:
where V.sub.IN is the differential signal across the degeneration switch (same as input differential voltage when the input pair G.sub.M is large). Going back to the gain expression,
[0039] Since the gain itself is a function of V.sub.IN instead of being a constant value, V.sub.OUT contains higher harmonics of input frequency which explains the non-linear terms in VGA output. Thus, schemes to linearize the degeneration resistance linearize the transfer function and improves the non-linearity.
[0040] Over the past, there have been various techniques to improve VGA performance by modifying the degeneration resistor. For example, a regeneration resistor may be implemented with two switches of different sizes—each with its DAC and control voltage thereof—that provide improved linearity, but the improvement is limited, due to effective parallel resistance issues. As another example, there are VGA implementations with multiple DACs generating multiple control current for multiple switches, but this type of implementation usually results in a large area and power penalty.
[0041]
[0042] An impedance ladder 220 is configured in parallel to the degeneration resistor R.sub.DEG, which is coupled to the source terminals of the input switches. It is to be understood that the gain of VGA 200 is adjusted via the impedance ladder 220; other components of VGA 200 may be modified or otherwise configured depending on the specific implementation. For example, impedance ladder 220 is configured as a degeneration device consists of five exponentially scaled switches in parallel, which can cover a large gain range with few devices (no resistors). In various embodiments, switches 221-225 are made from unit cells to ensure that the sizing ratio is accurate. The control circuit 210 provides control signals that are coupled to the respective switches at impedance ladder 220. Depending on the implementation, control circuit 210 generates n control signals for n switches at impedance ladder 220. As an example,
[0043]
[0044]
[0045] The output of DAC 401 is coupled to amplifier 402. In various implementations, a filter (e.g., a capacitor) is configured between DAC 401 and amplifier 402. Amplifier 402 can be implemented using an OTA. For example, the ramp voltages are generated using a rail-to-rail OTA that maintains the V.sub.CTRL<2> at the same level as the DAC output. Other control signals (i.e., V.sub.CTRL<1-4>) are generated by tapping higher or lower in the resistance ladder, which includes a reference current source I.sub.REF and reference resistors R.sub.REF. As shown on
where A.sub.0 is the open-loop gain of the OTA 402. As is evident from the equation, for large values of A.sub.0, the OTA output tracks its input (DAC output) with negligible error. For example, V.sub.SENSE as shown is configured as a feedback signal for OTA 402. With the added offset generation branch using I.sub.REF & R.sub.REF, control circuit 400 affords a simple generation of positive and negative offsets from the DAC voltage without resorting to multiple current mirrors and offset currents.
[0046] In various implementations, OTA 402 only needs to drive the difference in top and bottom current sources, it can be designed with low power. The OTA used in this design is a complementary input stage (nMOS+pMOS) folded cascode opamp with a class AB driver which allows rail to rail input/output operation. The offset of the OTA is not a major concern since that can be corrected by just adjusting the DAC codes during calibration. As can be seen in
[0047] Control circuit 400 also provides ramp voltages that are generated on a single series arm, as compared to parallel arms; its means that to increase the number of ramp voltages (or output control signals), the resistors (i.e., R.sub.REF) can be split up, and taps can be configured between voltages. The design of control circuit 400 allows for efficient and convenient scaling much power penalty. For example, the control signals (or offset voltages) can be programmable by adjusting I.sub.REF or R.sub.REF.
[0048] It is to be understood that to arrive at the optimum number of ramp controls needed and the ratio between different degeneration devices, it is important to carefully examine the constraints involved. As an example, the gain for the VGA when expressed in dB is as follows:
A.sub.dB=20 log.sub.10(2G.sub.MR.sub.L)−20 log.sub.10(2+G.sub.MR.sub.DEG)
where R.sub.DEG is a function of the control voltage V.sub.CTRL. Since G.sub.M & R.sub.L are independent of V.sub.CTRL and G.sub.MR.sub.DEG is reasonably larger than 2, the gain can be expressed as:
A.sub.dB≈K−20 log.sub.10(R.sub.DEG)
where K is a constant term. Thus, it can be seen that to get a linear A.sub.dB, R.sub.DEG needs to be linear in dB scale, or in other words, R.sub.DEG should have an exponential dependence on V.sub.CTRL as:
R.sub.DEG≈R.sub.C10.sup.(mV.sup.
[0049] In various embodiments, an exponential R.sub.DEG is obtained by shifting the individual degeneration resistance curves and scaling them exponentially so that the resultant parallel combination mimics an exponential function with minimum error. This is related to the individual MOS resistance variation (on a logarithmic scale in the y-axis) and the equivalent parallel resistance tracking an exponential resistance.
[0050]
[0051]
[0052]
[0053]
[0054]
[0055] For example, the configuration of switches is mathematically equivalent to approximating a 10.sup.(mx+b) function (exponential curve) with a scaled and shifted combination of
functions which depicts the degeneration resistance dependence. With more control voltages, the exponential function can be approximated with lesser error. It is to be noted that increasing the number of control lines increases the layout complexity; it may also worsen the matching performance since the offset voltage between them is smaller. For various applications, five control signals (corresponding to five switches) can be optimal in light of both performance and complexity.
[0056] To arrive at the actual ratio between the degeneration device sizes, the determination of switch ratio needs to factor into account that the VGA also has to meet a minimum gain range. For example, if W.sub.0, W.sub.1, W.sub.2, W.sub.3, and W.sub.4 are the weights of the degeneration device sizes, then at the maximum gain, the equivalent strength of all devices in parallel would be:
W.sub.total≈W.sub.0+W.sub.1+W.sub.2+W.sub.3+W.sub.4
[0057] In various embodiments, individual values of W.sub.0, W.sub.1, W.sub.2, W.sub.3, and W.sub.4 fall along an exponential curve (with 10.sup.mV.sup.
[0058] While the above is a full description of the specific embodiments, various modifications, alternative constructions and equivalents may be used. Therefore, the above description and illustrations should not be taken as limiting the scope of the present invention which is defined by the appended claims.