1. Field
The disclosure relates to programmable gain amplifiers (PGA's), and in particular, to techniques for improving the linearity of PGA's.
2. Background
A programmable gain amplifier (PGA) is used to provide a digitally programmable gain to an input voltage, either single-ended or differential. PGA's are commonly designed by configuring an operational amplifier (op amp) to have input and/or feedback resistive networks with programmable resistance. To implement the programmable resistance, any of the resistive networks may include a plurality of parallel-coupled resistors. Each of the resistors may be coupled in series with a switch, such that selectively closing or opening the switch allows the corresponding series-coupled resistor to be switched in or out of the resistive network.
The aforementioned switches may be implemented as MOS transistors, i.e., as MOS switches. The on-resistance of such MOS switches may vary as a function of their terminal voltages, e.g., gate-to-source voltages, and the source voltages may vary over a wide range. It will be appreciated that the varying on-resistance of MOS switches may affect the accuracy of the resistive networks, and can thus be a dominant cause of poor PGA linearity. To improve PGA linearity, larger MOS switch sizes may be used. However, this may undesirably increase integrated circuit chip size.
It would be desirable to provide simple and area-efficient techniques to improve the linearity of PGA's utilizing switchable resistive networks.
Various aspects of the disclosure are described more fully hereinafter with reference to the accompanying drawings. This disclosure may, however, be embodied in many different forms and should not be construed as limited to any specific structure or function presented throughout this disclosure. Rather, these aspects are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Based on the teachings herein one skilled in the art should appreciate that the scope of the disclosure is intended to cover any aspect of the disclosure disclosed herein, whether implemented independently of or combined with any other aspect of the disclosure. For example, an apparatus may be implemented or a method may be practiced using any number of the aspects set forth herein. In addition, the scope of the disclosure is intended to cover such an apparatus or method which is practiced using other structure, functionality, or structure and functionality in addition to or other than the various aspects of the disclosure set forth herein. It should be understood that any aspect of the disclosure disclosed herein may be embodied by one or more elements of a claim.
The detailed description set forth below in connection with the appended drawings is intended as a description of exemplary aspects of the invention and is not intended to represent the only exemplary aspects in which the invention can be practiced. The term “exemplary” used throughout this description means “serving as an example, instance, or illustration,” and should not necessarily be construed as preferred or advantageous over other exemplary aspects. The detailed description includes specific details for the purpose of providing a thorough understanding of the exemplary aspects of the invention. It will be apparent to those skilled in the art that the exemplary aspects of the invention may be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form in order to avoid obscuring the novelty of the exemplary aspects presented herein.
From
assuming RFB1=RFB2=RFB, and RIN1=RIN2=RIN. By setting the ratio RFB/RIN, the gain from the differential PGA input voltage (Vinp−Vinn) to the differential output voltage (Vop−Von) may be made programmable.
In practical implementations, it will be appreciated that various factors may cause the actual gain of the PGA 100 to deviate from the ideal gain as expected from Equation 1. For example, each of the variable resistances RFB1, RFB2, RIN1, and RIN2 may be implemented as a parallel bank of switchable resistors, i.e., wherein each resistor is coupled in series with a switch, and a plurality of such series-coupled resistors and switches are in turn coupled with each other in parallel. It will be appreciated that all switches have some finite on-resistance when closed. Furthermore, if a switch is implemented, e.g., as a MOS transistor, then the finite on-resistance may itself be variable depending on the terminal voltages of the transistors, e.g., the gate-to-source voltage across each transistor switch. This may cause the resistances RFB and RIN to vary depending on the input and output voltages, undesirably contributing to PGA non-linearity.
By controlling which of the switches are open and closed, the resistance of the corresponding resistive network may be controlled, and thus the gain of the PGA 200 may be programmed Note the individual resistors may be sized according to any scheme known in the art, e.g., a binary-weighted scheme, uniformly weighted scheme, etc.
In
In an aspect of the present disclosure, the on-resistance of each individual switch may further be designed to improve the linearity of the PGA 200. According to an exemplary embodiment, the feedback switch SFB and input switch SIN may be designed such that the ratio of their on-resistances to each other is configured to be substantially equal to the ratio between the feedback resistance RFB and the input resistance RIN. Correspondingly, the same design technique may be applied to the individual constituent switches and resistances making up each of SFB, SIN, RFB, and RIN, if such switch and/or resistance is made up of a parallel bank of switchable resistors as earlier described hereinabove.
In particular, referring again to
wherein RSFB1.n, RSIN.m, RSFB2.n, and RSIN2.m, represent the on-resistances of the corresponding switches, and Equation 2c is a simplified equation representing the total composite resistance of each element. If the switch on-resistances are chosen according to Equations 2a and 2b, then it will be appreciated that the PGA gain equation may correspondingly be expressed as follows:
wherein the last step follows directly from Equation 2c. Note the relationships indicated in the equations above are intended to be approximate and/or nominal only, as the actual resistances may vary depending on other auxiliary factors, e.g., drain-to-source voltage drops across each transistor switch, temperature, etc.
In light of the above observations, one of ordinary skill in the art will appreciate that by designing the switches in the PGA 200 to have on-resistances according to Equations 2a and 2b, the switches' effect on the overall gain of the PGA 200 may be nominally cancelled, and performance may be thereby improved.
It will be appreciated that during operation of the PGA, the voltage drops (e.g., gate-to source voltages) across each switch may be changing over time, e.g., due to variations in the input and output voltages, and thus the individual on-resistances may be similarly changing over time. To design the on-resistance of switches to have the desired ratios as described above over variations in input and output voltages, the sizes of the transistors implementing the switches may be chosen accordingly. In particular, lower on-resistance generally corresponds to larger transistor width (given the same length), while higher on-resistance corresponds to smaller transistor width. In light of this observation, the design criteria described in Equations 2a through 2c may be implemented by, e.g., inversely proportionally sizing the widths of the transistors used to implement such switches.
In particular, the transistor switch sizes may be chosen as follows:
wherein (W/L)SFB1.n, (W/L)SIN.m, (W/L)SFB2.n, and (W/L)SIN.m, represent the width-to-length ratios (also referred to herein as the “sizes”) of the corresponding transistor switches. It will be appreciated that if the transistor sizes are chosen according to Equations 4a-4b, then the ratios called for in Equations 2a-2c may be approximately maintained regardless of the possible changes in instantaneous on-resistance due to changing voltage drops across the transistors.
Note the techniques described hereinabove may be readily applied to exemplary embodiments wherein the PGA input voltages Vinp and Vinn are fully differential with respect to each other, and also to single-ended input embodiments wherein, e.g., Vinp contains the signal of interest, while Vinn is tied to a fixed reference, e.g., ground.
While an op amp having fully differential input and differential output has been shown and described hereinabove, one of ordinary skill in the art will readily appreciate that the aforementioned techniques may also be applied to an op amp having a differential input and a single-ended output.
Note while techniques have been described hereinabove with reference to both the input and feedback resistances being simultaneously variable, it will be appreciated that alternative exemplary embodiments are readily derivable by one of ordinary skill in the art. For example, in an alternative exemplary embodiment, only one of the input resistance or the feedback resistance may be made variable to select the gain of the PGA. In this case, the techniques of the present disclosure may still be incorporated, e.g., the switches of either the input or feedback resistive network may be directly coupled to an input terminal of the op amp, and the individual switch on-resistances may be set in proportion to the ratio between the corresponding variable resistance and a portion of the non-programmable resistance. In either case, a “dummy” switch, e.g., a transistor switch that is configured to be always conducting, may be utilized for the network having fixed resistance.
For example, suppose an input resistance includes a single non-programmable (fixed) resistance of 110 Ohms. Such an input resistance may be implemented as a 100-Ohm input resistance coupled with an always-conducting (for example, with a transistor having a fixed always-on gate voltage) 10-Ohm input transistor “dummy” switch. Note the 10-Ohm on-resistance of the transistor dummy switch may be nominal only, as the actual on-resistance of the transistor dummy switch may vary depending on the gate-to-source voltage drops across the switch. Furthermore, a first branch of a parallel resistive feedback network may be a 100-Ohm feedback resistance coupled in series with a switch having a 10-Ohm on-resistance, a second branch of the parallel network may be a 200-Ohm feedback resistance coupled in series with a switch having a 20-Ohm on-resistance, etc. Note the sizes of transistors implementing the switches may be chosen according to the principles described hereinabove, e.g., if a first transistor switch has twice the on-resistance of a second transistor switch, then the first transistor switch may be have half the size of the second transistor switch. Such exemplary embodiments are contemplated to be within the scope of the present disclosure.
In
At block 420, at least one input switch is selectively closed to couple a terminal of the differential input to a corresponding series-coupled input resistance. In an exemplary embodiment, the ratio between the on-resistances of any two switches is substantially equal to the ratio of the corresponding series-coupled resistances to each other.
In this specification and in the claims, it will be understood that when an element is referred to as being “connected to” or “coupled to” another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected to” or “directly coupled to” another element, there are no intervening elements present. Furthermore, when an element is referred to as being “electrically coupled” to another element, it denotes that a path of low resistance is present between such elements, while when an element is referred to as being simply “coupled” to another element, there may or may not be a path of low resistance between such elements.
Those of skill in the art would understand that information and signals may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Those of skill in the art would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the exemplary aspects disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the exemplary aspects of the invention.
The various illustrative logical blocks, modules, and circuits described in connection with the exemplary aspects disclosed herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the exemplary aspects disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), flash memory, Read Only Memory (ROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary aspects, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-Ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosed exemplary aspects is provided to enable any person skilled in the art to make or use the invention. Various modifications to these exemplary aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other exemplary aspects without departing from the spirit or scope of the invention. Thus, the present disclosure is not intended to be limited to the exemplary aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The present application for Patent claims priority to Provisional Application No. 61/576,859, entitled “Techniques for PGA linearity” filed Dec. 16, 2011, and assigned to the assignee hereof and hereby expressly incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
61576859 | Dec 2011 | US |