US20170117861A1 - System and Method for Offset Voltage Calibration - Google Patents
System and Method for Offset Voltage Calibration Download PDFInfo
- Publication number
- US20170117861A1 US20170117861A1 US14/920,671 US201514920671A US2017117861A1 US 20170117861 A1 US20170117861 A1 US 20170117861A1 US 201514920671 A US201514920671 A US 201514920671A US 2017117861 A1 US2017117861 A1 US 2017117861A1
- Authority
- US
- United States
- Prior art keywords
- vga
- voltage
- offset
- gain
- dcoc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000012937 correction Methods 0.000 claims description 89
- 238000005259 measurement Methods 0.000 claims description 10
- 230000003213 activating effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/20—Monitoring; Testing of receivers
- H04B17/21—Monitoring; Testing of receivers for calibration; for correcting measurements
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G3/00—Gain control in amplifiers or frequency changers
- H03G3/20—Automatic control
- H03G3/30—Automatic control in amplifiers having semiconductor devices
- H03G3/3036—Automatic control in amplifiers having semiconductor devices in high-frequency amplifiers or in frequency-changers
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/189—High-frequency amplifiers, e.g. radio frequency amplifiers
- H03F3/19—High-frequency amplifiers, e.g. radio frequency amplifiers with semiconductor devices only
- H03F3/195—High-frequency amplifiers, e.g. radio frequency amplifiers with semiconductor devices only in integrated circuits
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/45—Differential amplifiers
- H03F3/45071—Differential amplifiers with semiconductor devices only
- H03F3/45076—Differential amplifiers with semiconductor devices only characterised by the way of implementation of the active amplifying circuit in the differential amplifier
- H03F3/45475—Differential amplifiers with semiconductor devices only characterised by the way of implementation of the active amplifying circuit in the differential amplifier using IC blocks as the active amplifying circuit
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/45—Differential amplifiers
- H03F3/45071—Differential amplifiers with semiconductor devices only
- H03F3/45479—Differential amplifiers with semiconductor devices only characterised by the way of common mode signal rejection
- H03F3/45928—Differential amplifiers with semiconductor devices only characterised by the way of common mode signal rejection using IC blocks as the active amplifying circuit
- H03F3/45968—Differential amplifiers with semiconductor devices only characterised by the way of common mode signal rejection using IC blocks as the active amplifying circuit by offset reduction
- H03F3/45973—Differential amplifiers with semiconductor devices only characterised by the way of common mode signal rejection using IC blocks as the active amplifying circuit by offset reduction by using a feedback circuit
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G1/00—Details of arrangements for controlling amplification
- H03G1/0005—Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal
- H03G1/0035—Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal using continuously variable impedance elements
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G1/00—Details of arrangements for controlling amplification
- H03G1/0005—Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal
- H03G1/0088—Circuits characterised by the type of controlling devices operated by a controlling current or voltage signal using discontinuously variable devices, e.g. switch-operated
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
- H04B1/30—Circuits for homodyne or synchrodyne receivers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2200/00—Indexing scheme relating to amplifiers
- H03F2200/294—Indexing scheme relating to amplifiers the amplifier being a low noise amplifier [LNA]
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2200/00—Indexing scheme relating to amplifiers
- H03F2200/375—Circuitry to compensate the offset being present in an amplifier
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2200/00—Indexing scheme relating to amplifiers
- H03F2200/451—Indexing scheme relating to amplifiers the amplifier being a radio frequency amplifier
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2203/00—Indexing scheme relating to amplifiers with only discharge tubes or only semiconductor devices as amplifying elements covered by H03F3/00
- H03F2203/45—Indexing scheme relating to differential amplifiers
- H03F2203/45512—Indexing scheme relating to differential amplifiers the FBC comprising one or more capacitors, not being switched capacitors, and being coupled between the LC and the IC
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2203/00—Indexing scheme relating to amplifiers with only discharge tubes or only semiconductor devices as amplifying elements covered by H03F3/00
- H03F2203/45—Indexing scheme relating to differential amplifiers
- H03F2203/45526—Indexing scheme relating to differential amplifiers the FBC comprising a resistor-capacitor combination and being coupled between the LC and the IC
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2203/00—Indexing scheme relating to amplifiers with only discharge tubes or only semiconductor devices as amplifying elements covered by H03F3/00
- H03F2203/45—Indexing scheme relating to differential amplifiers
- H03F2203/45528—Indexing scheme relating to differential amplifiers the FBC comprising one or more passive resistors and being coupled between the LC and the IC
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2203/00—Indexing scheme relating to amplifiers with only discharge tubes or only semiconductor devices as amplifying elements covered by H03F3/00
- H03F2203/45—Indexing scheme relating to differential amplifiers
- H03F2203/45591—Indexing scheme relating to differential amplifiers the IC comprising one or more potentiometers
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F2203/00—Indexing scheme relating to amplifiers with only discharge tubes or only semiconductor devices as amplifying elements covered by H03F3/00
- H03F2203/45—Indexing scheme relating to differential amplifiers
- H03F2203/45594—Indexing scheme relating to differential amplifiers the IC comprising one or more resistors, which are not biasing resistor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
- H04B1/30—Circuits for homodyne or synchrodyne receivers
- H04B2001/305—Circuits for homodyne or synchrodyne receivers using DC offset compensation techniques
Definitions
- the present invention relates generally to integrated circuits, and, in particular embodiments, to a system and method for DC Offset voltage Correction for Variable Gain Amplifiers.
- VGA variable gain amplifier
- the VGA may take a differential input signal (e.g., as modified by previous circuit elements in the path) and output an amplified differential signal or an amplified single ended signal
- the differential input signal may include an offset voltage of the signal path (e.g., error generated along the signal path).
- the VGA may also contribute an internal offset voltage to the signal. These offset voltages, if uncorrected, may be amplified by the VGA and reduce the usable amplitude range of the VGA output. Thus, calibration of the signal is desirable to counteract both the offset voltage of the input signal as well as the offset voltage internal to the VGA.
- Calibration may include determining the offset voltage of the signal path and the offset voltage of the VGA. For example, the output of the VGA may be swept over its entire range while applying an offset correction voltage to the VGA until the output crosses zero. Alternatively, a binary or intelligent search may be conducted to arrive at these offset voltages. However, these methods require taking a large range of measurements, which may be time intensive and costly.
- a method includes measuring, by a calibration device, a first output voltage of a variable gain amplifier (VGA) when the VGA is set at a first gain setting and measuring, by a calibration device, a second output voltage of the VGA when the VGA is set at a second gain setting different from the first gain setting.
- the method further includes calculating, by the calibration device, an offset voltage of a signal path including the VGA using the first output voltage and the second output voltage and calculating, by the calibration device, an internal offset voltage of the VGA using the first output voltage and the second output voltage.
- a method for calibrating a circuit includes activating a circuit path with no input signal, wherein the circuit path includes a variable gain amplifier (VGA), setting, by a calibration device, the VGA to a first gain step, measuring, by the calibration device, a first output voltage of the VGA when the VGA is set to the first gain step, setting, by the calibration device, the VGA to a second gain step, and measuring, by the calibration device, a second output voltage of the VGA when the VGA is set to the second gain step.
- VGA variable gain amplifier
- the method further includes calculating, by the calibration device, a first offset voltage and a second offset voltage in accordance with the first output voltage, the second output voltage, the first gain step, and the second gain step.
- the first offset voltage is an offset voltage caused by circuit elements in the circuit path prior to the VGA
- the second offset voltage is an internal offset voltage of the VGA.
- the method further includes calculating, by the calibration device, offset correction voltages for different gain steps of the VGA in accordance with the first offset voltage and the second offset voltage and configuring, by the calibration device, a DC offset correction (DCOC) digital to analog convertor (DAC) with the offset correction voltages for the different gain steps of the VGA.
- DCOC DC offset correction
- DAC digital to analog convertor
- a calibration system in accordance with yet another embodiment, includes a signal circuit having a variable gain amplifier (VGA); and a dc offset correction (DCOC) digital to analog convertor (DAC) applying an offset correction voltage to the VGA.
- the calibration system further includes a calibration circuit electrically connected to the signal circuit.
- the calibration circuit is configured to measure a first output voltage of a variable gain amplifier (VGA) when the VGA is set at a first gain setting; measure a second output voltage of the VGA when the VGA is set at a second gain setting different from the first gain setting; and calculate an offset voltage of the signal circuit and an internal offset voltage of the VGA using the first output voltage and the second output voltage.
- the calibration system is further configured to calculate offset correction voltages corresponding to different gain settings of the VGA in accordance with the offset voltage of the signal circuit and the internal offset voltage of the VGA.
- FIGS. 1 and 2 are block diagrams of circuit paths in accordance with some embodiments
- FIG. 3 is a diagram of an integrated circuit in accordance with some embodiments.
- FIG. 4 is a process flow for performing calibration in accordance with some embodiments.
- Various embodiments include a calibration system for DC offset voltage correction in a RX circuit path of a transceiver.
- the DC offset voltage correction may occur at a last stage of the RX path (e.g., at a variable gain amplifier (VGA)).
- VGA variable gain amplifier
- ADC analog to digital convertor
- the offset voltage of the signal path e.g., offset voltage to the signal caused by various elements along the RX path
- ADC analog to digital convertor
- a suitable offset correction voltage can be applied by a DC offset voltage correction (DCOC) digital to analog convertor (DAC), which feeds into the VGA.
- DCOC DC offset voltage correction
- DAC digital to analog convertor
- FIG. 1 illustrates an example RX path lineup 100 , which may be used in a transceiver to amplify, mix, and/or filter a received signal, for example.
- the various elements of RX path 100 are for illustration sake only, and various embodiments may include any combination of the illustrated elements as well as additional elements depending on device design.
- RX path 100 may take an input signal 102 , which may be a differential signal.
- Signal 102 may be amplified by low noise amplified (LNA) 104 to achieve an amplified signal 102 A.
- LNA low noise amplified
- Amplified signal 102 A may be mixed with other signals by a mixer 106 to achieve a mixed signal 102 B.
- LNA low noise amplified
- the signal 102 may be a high frequency radio signal and the mixer acts as a downconverter to convert the desired portion of the radio spectrum to a lower frequency for further processing.
- Mixed signal 102 B may further be amplified by a trans-impedance amplifier (TIA) 108 to achieve an amplified signal 102 C.
- Amplified signal 102 C may then be filtered by a low pass filter (LPF) 110 in order to remove or at least reduce high frequency noise and signals, for example, to generate a filtered signal 102 D.
- Filtered signal 102 D applies an input voltage V in to VGA 112 , which amplifies V in and generates an output signal 120 having an output voltage V out .
- VGA 112 is an inverting amplifier.
- VGA 112 may be a non-inventing amplifier.
- Output signal 120 may then be measured by ADC 118 .
- Output signal 120 may be a differential signal or a single ended signal.
- the input to VGA 112 is a differential signal that may include an offset voltage V OS1 generated at least in part by various elements in the RX lineup prior to VGA 112 (e.g., LNA 104 , mixer 106 , TIA 108 , and LPF 110 ). Furthermore, VGA 112 may also contribute an internal offset voltage V OS2 to output voltage V out , which further increases the error of output signal 120 . In order to counteract this error, an offset correction voltage may be applied in calibration portion 116 of RX path 100 . In various embodiments, a DCOC DAC 114 applies an offset correction voltage V DCOC to a summing node of VGA 112 . During operation of RX path 100 , offset correction voltage V DCOC is selected in accordance with a selected gain setting of VGA 112 , offset voltage V OS1 of the signal path, and internal offset voltage V OS2 of VGA 112 .
- the output voltage V out of VGA 112 operating with DCOC DAC 114 can be modeled in accordance with Equation (1), below:
- V out GV in + V OSAMP f + I DCOC ⁇ RG ( 1 )
- G is the gain of VGA 112
- V in is a function of offset voltage V OS1
- V OSAMP is the input offset voltage internal to VGA 112
- f is the feedback factor of passive components around VGA 112
- I DCOC R is the offset correction voltage V DCOC .
- feedback factor f is substantially constant over the different gain steps of VGA 112 .
- the internal offset voltage V OS2 of VGA 112 is constant and equals
- Equation (1) can also be expressed as:
- V out GV in +V OS2 +I DCOC RG (2)
- feedback factor f may be approximated as substantially constant for all gain steps of VGA 112 In other embodiments, feedback factor f varies but is predictable for different gain steps of VGA 112 as will be described in greater detail below.
- DCOC DAC 114 generates a current I DCOC
- R may be configured to remain constant through all gain steps of VGA 112 .
- V DCOC may adjust V out linearly over the current range of DCOC DAC 114 , but V DCOC corrects V out in accordance with changes in the gain setting (e.g., gain G) of VGA 112 .
- gain G gain G
- FIG. 2 illustrates a block diagram of RX path 100 during calibration. Calibration of RX path 100 may occur at any time, such as, during manufacture, during field operations, combinations thereof, and the like.
- an automated calibration device such as, a baseband chip 200 (also referred, may perform calibration of RX path 100 although other devices (e.g., other calibration circuits) or manual calibration may be used in other embodiments.
- baseband chip 200 controls signal reception and transmission in the transceiver device, and baseband chip 200 includes circuitry (e.g., a processor) capable of measuring output voltages, calculating offset voltages, calculating offset correction voltages, and programming DCOC DAC 114 with suitable offset correction voltages for different gain settings of VGA 112 .
- circuitry e.g., a processor
- Circuit block 202 represents elements of RX path 100 (e.g., LNA 104 , mixer 106 , TIA 108 , and LPF 110 ) prior to VGA 112 . Because no input signal is activated, the output of circuit block 202 is equivalent to offset voltage V OS1 of the signal path (e.g., caused by elements in circuit block 202 ). Thus, during calibration, as illustrated by FIG. 2 , the input voltage V in of VGA 112 is equivalent to V OS1 . Assuming feedback factor f is constant, output voltage V out of VGA 112 during calibration can be expressed as:
- V out GV OS1 +V OS2 +I DCOC′ RG (3)
- a constant calibration offset correction voltage V DCOC′ may also be applied by DCOC DAC 114 , and the calibration offset correction voltage V DCOC′ is known by the calibration mechanism (e.g., baseband chip 200 ).
- DCOC DAC 114 may be configured to generate a known, calibration offset correction current I DCOC′ .
- calibration offset correction current I DCOC′ may be set to center code, and an approximation for calibration current I DCOC′ would be 0 Amperes (A).
- the center code may contribute half a least significant bit (LSB) of calibration offset current to the output voltage.
- the calibration offset current can also be added to the below offset voltage calculations (e.g., as a constant) for improved accuracy.
- the calibration offset correction may be omitted from the below calculations.
- baseband chip 200 After activating the circuit (e.g., RX path 100 ), baseband chip 200 (or another calibration mechanism) measures the output voltage V out of VGA 112 at two different gain steps (e.g., two different values of gain G). For example, the output voltage V out may be measured using ADC 118 for each gain step. Baseband chip 200 may then calculate V OS1 and V OS2 in accordance with the two output voltage V out measurements. In an embodiment, the calculation may be in accordance with:
- V out1 G 1 V OS1 +V OS2 +I DCOC′ RG 1 (4)
- V out2 G 2 V OS1 +V OS2 +I DCOC′ RG 2 (5)
- G 1 is a first selected gain step of VGA 112
- V out1 is the measured output voltage of VGA 112 when G 1 is selected.
- G 2 is a second selected gain step for VGA 112
- V out2 is the measured output voltage of VGA 112 when G 2 is selected.
- Gains G 1 and G 2 may be selected using any suitable criteria. In an embodiment, gain G 1 is selected to be about half way above a center gain setting of VGA 112 while gain G 2 is selected to be about half way below the center gain setting of VGA 112 . In such embodiments, gain settings at edges (e.g., minimum and maximum) of VGA 112 's ranges are avoided during calibration for improved output voltage measurement accuracy.
- gain G 1 is selected to be a maximum gain setting of VGA 112 while gain G 2 is selected to be a minimum gain setting of VGA 112 .
- the variance between gain settings of VGA 112 is maximized during calibration for improved tracking of offset voltages. Any other gain step within VGA 112 's range may also be selected.
- I DCOC′ R for both equations is a known constant.
- offset voltages V OS1 and V OS2 can be calculated in accordance with Equations (4) and (5), above. The resulting equations for offset voltages V OS1 and V OS2 are:
- V OS ⁇ ⁇ 1 V out ⁇ ⁇ 2 - V out ⁇ ⁇ 1 ( G 2 - G 1 ) - I DCOC ′ ⁇ R ( 6 )
- V OS ⁇ ⁇ 2 G 2 ⁇ V out ⁇ ⁇ 1 - G 1 ⁇ V out ⁇ ⁇ 2 G 2 - G 1 ( 7 )
- offset correction current I DCOC for any gain setting of VGA 112 can be calculated according to Equation (8), below:
- I DCOC - G ⁇ ⁇ V OS ⁇ ⁇ 1 - V O ⁇ ⁇ S ⁇ ⁇ 2 R ⁇ ⁇ G ( 8 )
- Baseband chip 200 may then program DCOC DAC 114 with a corresponding offset correction voltage V DCOC or offset correction current I DCOC for each gain setting of VGA 112 based on the above Equation (8).
- DCOC DAC 114 applies an appropriate offset correction current I DCOC based on the programming and the selected gain setting of VGA 112 .
- a suitable offset correction voltage V DCOC may be applied to VGA 112 , which cancels or at least reduces the effect of offset voltages V OS1 (e.g., offset voltage of the signal path) and V OS2 (e.g., internal offset of VGA 112 ) on the output signal.
- baseband chip 200 (or other calibration mechanism) may calibrate an amplifier circuit (e.g., RX path 100 ) using two output voltage measurements, which allows for fast calibration of the circuit.
- V out ⁇ ⁇ 1 G 1 ⁇ V OS ⁇ ⁇ 1 + V OS ⁇ ⁇ 2 f 1 + I DCOC ′ ⁇ RG 1 ( 9 )
- V out ⁇ ⁇ 2 G 2 ⁇ V OS ⁇ ⁇ 1 + V OS ⁇ ⁇ 2 f 2 + I DCOC ′ ⁇ RG 2 ( 10 )
- offset voltages V OS1 and V OS2 can be calculated by the calibration mechanism (e.g., baseband chip 200 ) in accordance with Equations (11) and (12) below:
- V OS ⁇ ⁇ 1 V out ⁇ ⁇ 2 ⁇ f 2 - V out ⁇ ⁇ 1 ⁇ f 1 G 2 ⁇ f 2 - G 1 ⁇ f 1 - I DCOC ′ ⁇ R ( 11 )
- V OS ⁇ ⁇ 2 G 2 ⁇ V out ⁇ ⁇ 1 - G 1 ⁇ V out ⁇ ⁇ 2 G 2 f 1 - G 1 f 2 ( 12 )
- offset correction current I DCOC for any gain setting of VGA 112 can be calculated according to:
- I DCOC - G ⁇ ⁇ V OS ⁇ ⁇ 1 - V O ⁇ ⁇ S ⁇ ⁇ 2 f R ⁇ ⁇ G ( 13 )
- DCOC DAC 114 may then be programmed with an offset correction current I DCOC for all gain settings of VGA 112 as described above.
- the above calculations are based on an assumption that the value of the correction voltage applied by DCOC DAC 114 is constant during calibration.
- the correction voltage may vary between the two calibration measurements.
- the value I DCOC RG will be predictable and known for different gain steps.
- Calibration of the circuit may be similar to the steps described above.
- the output voltages V out1 and V out2 can be measured for two different gain settings, G 1 and G 2 , respectively.
- Correction values applied by DCOC DAC 114 for the two different gains may be I DCOC1 for the first gain G 1 and I DCOC2 for the second gain G 2 , where the offset calibration currents I DCOC1 and I DCOC2 are known but different.
- the feedback factor f 1 (corresponding to gain G 1 ) and f 2 (corresponding to gain G 2 ) may be different or the same for the two different gain settings.
- Calculations for offset voltages V OS1 and V OS2 may be in accordance with the following modified equations:
- V out ⁇ ⁇ 1 G 1 ⁇ V OS ⁇ ⁇ 1 + V OS ⁇ ⁇ 2 f 1 + I DCOC ⁇ ⁇ 1 ⁇ RG 1 ( 14 )
- V out ⁇ ⁇ 2 G 2 ⁇ V OS ⁇ ⁇ 1 + V OS ⁇ ⁇ 2 f 2 + I DCOC ⁇ ⁇ 2 ⁇ RG 2 ( 15 )
- offset voltages V OS1 and V OS2 can be calculated by the calibration mechanism (e.g., baseband chip 200 ) in accordance with Equations (16) and (17) below:
- V OS ⁇ ⁇ 1 V out ⁇ ⁇ 2 ⁇ f 2 - V out ⁇ ⁇ 1 ⁇ f 1 G 2 ⁇ f 2 - G 1 ⁇ f 1 + ( I DCOC ⁇ ⁇ 1 ⁇ RG 1 - I DCOC ⁇ ⁇ 2 ⁇ RG 2 G 2 ⁇ f 2 - G 1 ⁇ f 1 ) ( 16 )
- V OS ⁇ ⁇ 2 G 2 ⁇ V out ⁇ ⁇ 1 - G 1 ⁇ V out ⁇ ⁇ 2 G 2 f 1 - G 1 f 2 - ( I DCOC ⁇ ⁇ 1 ⁇ RG 1 ⁇ G 2 - I DCOC ⁇ ⁇ 2 ⁇ RG 1 ⁇ G 2 G 2 f 1 - G 1 f 2 ) ( 17 )
- offset correction current I DCOC for any gain setting of VGA 112 can be calculated according to:
- I DCOC - G ⁇ ⁇ V OS ⁇ ⁇ 1 - V O ⁇ ⁇ S ⁇ ⁇ 2 f R ⁇ ⁇ G ( 18 )
- DCOC DAC 114 may then be programmed with an offset correction current I DCOC for all gain settings of VGA 112 as described above.
- FIG. 3 illustrates a circuit 300 for implementing a VGA and DCOC DAC (e.g., VGA 112 and DCOC DAC 114 ) during normal operations and calibration in accordance with some embodiments.
- Circuit 300 provides only one example implementation of a VGA and DCOC DAC. Other suitable implementations, for example, having different circuit elements and/or different configurations may be used in other embodiments.
- differential input voltages V inp and V inn are applied to the input of a VGA, and a pair of differential output voltages V outp and V outm is generated by the circuit.
- differential input voltages V inp and V inn represent an input signal as modified by various circuit elements in the circuit path prior to the VGA (e.g., block 202 in FIG. 2 ).
- differential input voltages V inp and V inn may include offset voltage V OS1 of the signal path.
- differential input voltages V inp and V inn represents the output of circuit elements in the RX path prior to the VGA (e.g., block 202 in FIG. 2 ) with no input signal activated.
- differential input voltages V inp and V inn may be offset by offset voltage V OS1 as described above.
- the VGA comprises an operational amplifier (op amp) 302 and resistors R 1 , R 2 , R 3 , and R 4 .
- Resistors R 1 and R 2 may include one or more resistors, which includes at least one variable resistor that can be controlled to alter a gain setting (e.g., G) of the VGA.
- Resistors R 3 , and R 4 may also be included in circuit 300 to help set the gain setting of the VGA.
- gain G of the VGA in circuit 300 can be generally expressed as:
- Capacitor C may also be optionally included in the VGA, for example, to create a feedforward zero in circuits with low-bandwidth op-amps. In other embodiments, capacitor C may be omitted.
- a variable resistor R b in circuit 300 may also be included in order to maintain the feedback factor f of circuit 300 constant over different gain settings of the VGA. In other embodiments (e.g., when feedback factor f is variable), resistor R b may be omitted.
- resistor R 6 may be optionally included to provide a path for the biasing current of the DCOC DAC 304 .
- a DCOC DAC supplies an offset correction current I DCOC to a resistor R shunt , which applies a DC offset correction voltage V DCOC (e.g., I DCOC R) to inputs of op amp 302 .
- V DCOC DC offset correction voltage
- a DCOC DAC supplies a constant calibration offset correction current I DCOC′ to a resistor.
- two current sources 304 configured in opposing directions are included in circuit 300 to provide a differential offset current I DCOC to the circuit. For example, when the differential offset current I DCOC is set to middle code (e.g., during calibration), both current sources 304 source the same amount of current into circuit 300 , and the net differential offset current I DCOC equals OA.
- resistors R 5 may be included to help offset correction current I DCOC injected at the inputs of op amp 302 track with the gain setting of the VGA. In some embodiments resistors R 5 may be about 40 k ⁇ although other values for resistors R 5 may be used in other embodiments. The various values of resistors in an embodiment circuit may be modified and selected based on device design as understood by one skilled in the art.
- Resistor R shunt may be a variable resistor that is varied by DCOC DAC in accordance with the gain G of the VGA.
- the resistance R (see equation 1) of the offset correction current I DCOC is modeled as constant across all gain settings of the VGA.
- R shunt may be varied to provide an overall constant resistance for offset correction current I DCOC based on the gain G of the VGA.
- the output voltage of circuit 300 is:
- V out - V in ⁇ R 4 R 1 ⁇ R 3 ⁇ ( 1 R 1 + 1 R 2 + 1 R 3 ) + R 4 ⁇ I DCOC ⁇ R shunt R 5 + R shunt + V OSAMP f ( 20 )
- resistor R shunt may be varied in accordance with a selected gain G of the VGA in order to apply a constant overall resistance R (see Equation (1)) to I DCOC across all gain settings of the VGA.
- the DCOC DAC may control both the offset correction current I DCOC and R shunt in circuit 300 in order to provide a suitable offset correction voltage V DCOC to the VGA.
- FIG. 4 illustrates a process flow 400 for calibrating a circuit according to various embodiments.
- a circuit path e.g., RX path 100
- the circuit path may include a VGA (e.g., VGA 112 ) at an end of the path.
- the VGA is set to a first gain setting, and an output voltage of the VGA is measured.
- the VGA is set to a second gain setting, which may be different than the first gain setting. The output of the VGA from the second gain setting is measured.
- a DCOC DAC may apply a same calibration offset correction voltage or a different but known calibration offset correction voltage (e.g., I DCOC′ R) to a summing node of the VGA.
- an offset voltage of the signal path e.g., V OS1
- an internal offset voltage of the VGA e.g., V OS2
- the offset voltages may be calculated using Equations (6) and (7) above.
- the offset voltages may be calculated using Equations (11) and (12) above.
- offset correction voltages for different gain settings of the VGA may be calculated in step 410 .
- the offset correction voltages may be calculated based in Equation (8) when the feedback factor is constant or based on equation (13) when the feedback factor varies.
- a DCOC DAC is configured (e.g., programmed) in accordance with the different offset correction voltages determined in step 410 .
- the DCOC DAC may apply a suitable offset correction voltage based on this programming and a selected gain of the VGA.
- various embodiments include a calibration system for offset voltage correction in a RX circuit path of a transceiver.
- the DC offset voltage correction may occur at a last stage of the RX path.
- a DCOC DAC may apply a suitable offset correction voltage to a summing node of a VGA at the end of the RX path.
- the VGA is set to two different gain settings (also referred to as gain steps) with no input signal being applied to the circuit path.
- the output voltage of each gain setting is measured.
- an offset voltage of the signal path e.g., offset voltage to the signal caused by various elements along the RX path
- the internal offset voltage of the VGA is calculated.
- a suitable offset correction voltage may be calculated for each gain step of the VGA.
- a suitable offset correction voltage can be applied by a DC offset voltage correction (DCOC) digital to analog convertor (DAC), which feeds into the VGA.
- DCOC DC offset voltage correction
- DAC digital to analog convertor
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Amplifiers (AREA)
Abstract
Description
- The present invention relates generally to integrated circuits, and, in particular embodiments, to a system and method for DC Offset voltage Correction for Variable Gain Amplifiers.
- Generally, in a network device, various circuit elements are interconnected in order to filter, mix, amplify, and convert signals. There may be multiple stages of filtering and amplification in a signal's path, and each stage may contribute some offset voltage (e.g., error) to the signal as it is modified along the circuit. A variable gain amplifier (VGA) may be used in a signal's path (e.g., at a last stage of the path). The VGA may take a differential input signal (e.g., as modified by previous circuit elements in the path) and output an amplified differential signal or an amplified single ended signal
- However, the differential input signal may include an offset voltage of the signal path (e.g., error generated along the signal path). The VGA may also contribute an internal offset voltage to the signal. These offset voltages, if uncorrected, may be amplified by the VGA and reduce the usable amplitude range of the VGA output. Thus, calibration of the signal is desirable to counteract both the offset voltage of the input signal as well as the offset voltage internal to the VGA.
- Calibration may include determining the offset voltage of the signal path and the offset voltage of the VGA. For example, the output of the VGA may be swept over its entire range while applying an offset correction voltage to the VGA until the output crosses zero. Alternatively, a binary or intelligent search may be conducted to arrive at these offset voltages. However, these methods require taking a large range of measurements, which may be time intensive and costly.
- These and other problems are generally solved or circumvented, and technical advantages are generally achieved, by embodiments of the present invention which includes a system and method for offset voltage calibration.
- In accordance with an embodiment, a method includes measuring, by a calibration device, a first output voltage of a variable gain amplifier (VGA) when the VGA is set at a first gain setting and measuring, by a calibration device, a second output voltage of the VGA when the VGA is set at a second gain setting different from the first gain setting. The method further includes calculating, by the calibration device, an offset voltage of a signal path including the VGA using the first output voltage and the second output voltage and calculating, by the calibration device, an internal offset voltage of the VGA using the first output voltage and the second output voltage.
- In accordance with another embodiment, a method for calibrating a circuit includes activating a circuit path with no input signal, wherein the circuit path includes a variable gain amplifier (VGA), setting, by a calibration device, the VGA to a first gain step, measuring, by the calibration device, a first output voltage of the VGA when the VGA is set to the first gain step, setting, by the calibration device, the VGA to a second gain step, and measuring, by the calibration device, a second output voltage of the VGA when the VGA is set to the second gain step. The first gain step and the second gain step are different. The method further includes calculating, by the calibration device, a first offset voltage and a second offset voltage in accordance with the first output voltage, the second output voltage, the first gain step, and the second gain step. The first offset voltage is an offset voltage caused by circuit elements in the circuit path prior to the VGA, and the second offset voltage is an internal offset voltage of the VGA. The method further includes calculating, by the calibration device, offset correction voltages for different gain steps of the VGA in accordance with the first offset voltage and the second offset voltage and configuring, by the calibration device, a DC offset correction (DCOC) digital to analog convertor (DAC) with the offset correction voltages for the different gain steps of the VGA.
- In accordance with yet another embodiment, a calibration system includes a signal circuit having a variable gain amplifier (VGA); and a dc offset correction (DCOC) digital to analog convertor (DAC) applying an offset correction voltage to the VGA. The calibration system further includes a calibration circuit electrically connected to the signal circuit. The calibration circuit is configured to measure a first output voltage of a variable gain amplifier (VGA) when the VGA is set at a first gain setting; measure a second output voltage of the VGA when the VGA is set at a second gain setting different from the first gain setting; and calculate an offset voltage of the signal circuit and an internal offset voltage of the VGA using the first output voltage and the second output voltage. The calibration system is further configured to calculate offset correction voltages corresponding to different gain settings of the VGA in accordance with the offset voltage of the signal circuit and the internal offset voltage of the VGA.
- For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
-
FIGS. 1 and 2 are block diagrams of circuit paths in accordance with some embodiments; -
FIG. 3 is a diagram of an integrated circuit in accordance with some embodiments; and -
FIG. 4 is a process flow for performing calibration in accordance with some embodiments. - The making and using of the presently preferred embodiments are discussed in detail below. It should be appreciated, however, that the present invention provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use the invention, and do not limit the scope of the invention.
- Various embodiments are described within a specific context, namely DC offset voltage correction for a receiver (RX) circuit path in a transceiver device. However, various embodiment devices may be used in any integrated circuit where calibration is desired.
- Various embodiments include a calibration system for DC offset voltage correction in a RX circuit path of a transceiver. The DC offset voltage correction may occur at a last stage of the RX path (e.g., at a variable gain amplifier (VGA)). During calibration, the VGA is set to two different gain settings (also referred to as gain steps), and the output of each setting is measured using an analog to digital convertor (ADC), for example. The offset voltage of the signal path (e.g., offset voltage to the signal caused by various elements along the RX path) as well as the internal offset voltage of the VGA is calculated in accordance with the two output measurements of the two gain settings. Knowing these offset voltages, a suitable offset correction voltage may be calculated for each gain step of the VGA. As the VGA gain is changed during operation of the transceiver, a suitable offset correction voltage can be applied by a DC offset voltage correction (DCOC) digital to analog convertor (DAC), which feeds into the VGA. Thus, the DC offset voltage calculation may be achieved by taking as few as two measurements, which allows for fast and accurate calibration of a circuit path.
-
FIG. 1 illustrates an exampleRX path lineup 100, which may be used in a transceiver to amplify, mix, and/or filter a received signal, for example. The various elements ofRX path 100 are for illustration sake only, and various embodiments may include any combination of the illustrated elements as well as additional elements depending on device design.RX path 100 may take aninput signal 102, which may be a differential signal.Signal 102 may be amplified by low noise amplified (LNA) 104 to achieve an amplifiedsignal 102A. Amplifiedsignal 102A may be mixed with other signals by amixer 106 to achieve a mixedsignal 102B. For example, thesignal 102 may be a high frequency radio signal and the mixer acts as a downconverter to convert the desired portion of the radio spectrum to a lower frequency for further processing. Mixedsignal 102B may further be amplified by a trans-impedance amplifier (TIA) 108 to achieve an amplifiedsignal 102C. Amplifiedsignal 102C may then be filtered by a low pass filter (LPF) 110 in order to remove or at least reduce high frequency noise and signals, for example, to generate a filteredsignal 102D. Filteredsignal 102D applies an input voltage Vin toVGA 112, which amplifies Vin and generates anoutput signal 120 having an output voltage Vout. In an embodiment,VGA 112 is an inverting amplifier. In another embodiment, VGA 112 may be a non-inventing amplifier.Output signal 120 may then be measured byADC 118.Output signal 120 may be a differential signal or a single ended signal. - The input to VGA 112 (e.g., filtered
signal 102D) is a differential signal that may include an offset voltage VOS1 generated at least in part by various elements in the RX lineup prior to VGA 112 (e.g., LNA 104,mixer 106, TIA 108, and LPF 110). Furthermore,VGA 112 may also contribute an internal offset voltage VOS2 to output voltage Vout, which further increases the error ofoutput signal 120. In order to counteract this error, an offset correction voltage may be applied incalibration portion 116 ofRX path 100. In various embodiments, aDCOC DAC 114 applies an offset correction voltage VDCOC to a summing node ofVGA 112. During operation ofRX path 100, offset correction voltage VDCOC is selected in accordance with a selected gain setting ofVGA 112, offset voltage VOS1 of the signal path, and internal offset voltage VOS2 ofVGA 112. - In some embodiments, the output voltage Vout of
VGA 112 operating with DCOCDAC 114 can be modeled in accordance with Equation (1), below: -
- where G is the gain of
VGA 112, Vin is a function of offset voltage VOS1, VOSAMP is the input offset voltage internal toVGA 112, f is the feedback factor of passive components aroundVGA 112, and IDCOCR is the offset correction voltage VDCOC. - In an embodiment, feedback factor f is substantially constant over the different gain steps of
VGA 112. In such embodiments, the internal offset voltage VOS2 ofVGA 112 is constant and equals -
- for all gain steps of
VGA 112. Thus, when feedback factor f is substantially constant, Equation (1) can also be expressed as: -
V out =GV in +V OS2 +I DCOC RG (2) - In such embodiments, feedback factor f may be approximated as substantially constant for all gain steps of
VGA 112 In other embodiments, feedback factor f varies but is predictable for different gain steps ofVGA 112 as will be described in greater detail below. - In the above embodiment,
DCOC DAC 114 generates a current IDCOC, and R is the resistance by which current IDCOC creates voltage VDCOC (e.g., VDCOC=IDCOCR). In various embodiments, R may be configured to remain constant through all gain steps ofVGA 112. Furthermore, VDCOC may adjust Vout linearly over the current range ofDCOC DAC 114, but VDCOC corrects Vout in accordance with changes in the gain setting (e.g., gain G) ofVGA 112. Thus, once offset voltages VO1 and VO2 fromRX path 100 andVGA 112 are calibrated out of the output signal, changing the gain setting ofVGA 112 will not require new calibration. -
FIG. 2 illustrates a block diagram ofRX path 100 during calibration. Calibration ofRX path 100 may occur at any time, such as, during manufacture, during field operations, combinations thereof, and the like. In some embodiments, an automated calibration device, such as, a baseband chip 200 (also referred, may perform calibration ofRX path 100 although other devices (e.g., other calibration circuits) or manual calibration may be used in other embodiments. In some embodiments,baseband chip 200 controls signal reception and transmission in the transceiver device, andbaseband chip 200 includes circuitry (e.g., a processor) capable of measuring output voltages, calculating offset voltages, calculating offset correction voltages, and programmingDCOC DAC 114 with suitable offset correction voltages for different gain settings ofVGA 112. - To initiate calibration,
RX path 100 is activated with no input signal.Circuit block 202 represents elements of RX path 100 (e.g.,LNA 104,mixer 106,TIA 108, and LPF 110) prior toVGA 112. Because no input signal is activated, the output ofcircuit block 202 is equivalent to offset voltage VOS1 of the signal path (e.g., caused by elements in circuit block 202). Thus, during calibration, as illustrated byFIG. 2 , the input voltage Vin ofVGA 112 is equivalent to VOS1. Assuming feedback factor f is constant, output voltage Vout ofVGA 112 during calibration can be expressed as: -
V out =GV OS1 +V OS2 +I DCOC′ RG (3) - During calibration, a constant calibration offset correction voltage VDCOC′ may also be applied by
DCOC DAC 114, and the calibration offset correction voltage VDCOC′ is known by the calibration mechanism (e.g., baseband chip 200). For example,DCOC DAC 114 may be configured to generate a known, calibration offset correction current IDCOC′. In an embodiment, calibration offset correction current IDCOC′ may be set to center code, and an approximation for calibration current IDCOC′ would be 0 Amperes (A). However, in such embodiments, the center code may contribute half a least significant bit (LSB) of calibration offset current to the output voltage. In an embodiment, the calibration offset current can also be added to the below offset voltage calculations (e.g., as a constant) for improved accuracy. In other embodiments, the calibration offset correction may be omitted from the below calculations. - After activating the circuit (e.g., RX path 100), baseband chip 200 (or another calibration mechanism) measures the output voltage Vout of
VGA 112 at two different gain steps (e.g., two different values of gain G). For example, the output voltage Vout may be measured usingADC 118 for each gain step.Baseband chip 200 may then calculate VOS1 and VOS2 in accordance with the two output voltage Vout measurements. In an embodiment, the calculation may be in accordance with: -
V out1 =G 1 V OS1 +V OS2 +I DCOC′ RG 1 (4) -
V out2 =G 2 V OS1 +V OS2 +I DCOC′ RG 2 (5) - where G1 is a first selected gain step of
VGA 112, and Vout1 is the measured output voltage ofVGA 112 when G1 is selected. G2 is a second selected gain step forVGA 112, and Vout2 is the measured output voltage ofVGA 112 when G2 is selected. Gains G1 and G2 may be selected using any suitable criteria. In an embodiment, gain G1 is selected to be about half way above a center gain setting ofVGA 112 while gain G2 is selected to be about half way below the center gain setting ofVGA 112. In such embodiments, gain settings at edges (e.g., minimum and maximum) ofVGA 112's ranges are avoided during calibration for improved output voltage measurement accuracy. In another embodiment, gain G1 is selected to be a maximum gain setting ofVGA 112 while gain G2 is selected to be a minimum gain setting ofVGA 112. In such embodiments, the variance between gain settings ofVGA 112 is maximized during calibration for improved tracking of offset voltages. Any other gain step withinVGA 112's range may also be selected. Furthermore, as described above, IDCOC′R for both equations is a known constant. Thus, offset voltages VOS1 and VOS2 can be calculated in accordance with Equations (4) and (5), above. The resulting equations for offset voltages VOS1 and VOS2 are: -
- After baseband chip 200 (or other calibration mechanism) calculates offset voltages VOS1 and VOS2, offset correction current IDCOC for any gain setting of
VGA 112 can be calculated according to Equation (8), below: -
-
Baseband chip 200 may then programDCOC DAC 114 with a corresponding offset correction voltage VDCOC or offset correction current IDCOC for each gain setting ofVGA 112 based on the above Equation (8). During operation of the circuit,DCOC DAC 114 applies an appropriate offset correction current IDCOC based on the programming and the selected gain setting ofVGA 112. By applying the appropriate offset correction current IDCOC, a suitable offset correction voltage VDCOC may be applied toVGA 112, which cancels or at least reduces the effect of offset voltages VOS1 (e.g., offset voltage of the signal path) and VOS2 (e.g., internal offset of VGA 112) on the output signal. Thus, as described above, baseband chip 200 (or other calibration mechanism) may calibrate an amplifier circuit (e.g., RX path 100) using two output voltage measurements, which allows for fast calibration of the circuit. - The above calculations are based on an assumption that feedback factor f for
VGA 112 is constant. In another embodiment, feedback factor f may vary as the gain G ofVGA 112 changes. In such embodiments, feedback factor f may be predictable and known for different gain steps. Calibration of the circuit may be similar to the steps described above. For example, the output voltages Vout1 and Vout2 can be measured for two different gain settings, G1 and G2, respectively. Feedback factors for the two different gains may be f1 for gain G1 and f2 for gain G2, where f1 and f2 are known but different. Calculations for offset voltages VOS1 and VOS2 may be in accordance with the following modified equations: -
- In such embodiments, offset voltages VOS1 and VOS2 can be calculated by the calibration mechanism (e.g., baseband chip 200) in accordance with Equations (11) and (12) below:
-
- Once offset voltages VOS1 and VOS2 are calculated, offset correction current IDCOC for any gain setting of
VGA 112 can be calculated according to: -
-
DCOC DAC 114 may then be programmed with an offset correction current IDCOC for all gain settings ofVGA 112 as described above. - The above calculations are based on an assumption that the value of the correction voltage applied by
DCOC DAC 114 is constant during calibration. In another embodiment, the correction voltage may vary between the two calibration measurements. In such embodiments, the value IDCOC RG will be predictable and known for different gain steps. Calibration of the circuit may be similar to the steps described above. For example, the output voltages Vout1 and Vout2 can be measured for two different gain settings, G1 and G2, respectively. Correction values applied byDCOC DAC 114 for the two different gains may be IDCOC1 for the first gain G1 and IDCOC2 for the second gain G2, where the offset calibration currents IDCOC1 and IDCOC2 are known but different. In the below equations, the feedback factor f1 (corresponding to gain G1) and f2 (corresponding to gain G2) may be different or the same for the two different gain settings. Calculations for offset voltages VOS1 and VOS2 may be in accordance with the following modified equations: -
- In such embodiments, offset voltages VOS1 and VOS2 can be calculated by the calibration mechanism (e.g., baseband chip 200) in accordance with Equations (16) and (17) below:
-
- Once offset voltages VOS1 and VOS2 are calculated, offset correction current IDCOC for any gain setting of
VGA 112 can be calculated according to: -
-
DCOC DAC 114 may then be programmed with an offset correction current IDCOC for all gain settings ofVGA 112 as described above. -
FIG. 3 illustrates acircuit 300 for implementing a VGA and DCOC DAC (e.g.,VGA 112 and DCOC DAC 114) during normal operations and calibration in accordance with some embodiments.Circuit 300 provides only one example implementation of a VGA and DCOC DAC. Other suitable implementations, for example, having different circuit elements and/or different configurations may be used in other embodiments. - As illustrated by
FIG. 3 , a pair of differential input voltages Vinp and Vinn is applied to the input of a VGA, and a pair of differential output voltages Voutp and Voutm is generated by the circuit. During a normal operation mode of circuit 300 (e.g., outside of calibration mode), differential input voltages Vinp and Vinn represent an input signal as modified by various circuit elements in the circuit path prior to the VGA (e.g., block 202 inFIG. 2 ). For example, differential input voltages Vinp and Vinn may include offset voltage VOS1 of the signal path. During a calibration mode ofcircuit 300, differential input voltages Vinp and Vinn represents the output of circuit elements in the RX path prior to the VGA (e.g., block 202 inFIG. 2 ) with no input signal activated. Thus, during calibration mode, differential input voltages Vinp and Vinn may be offset by offset voltage VOS1 as described above. - In
circuit 300, the VGA comprises an operational amplifier (op amp) 302 and resistors R1, R2, R3, and R4. Resistors R1 and R2 may include one or more resistors, which includes at least one variable resistor that can be controlled to alter a gain setting (e.g., G) of the VGA. Resistors R3, and R4 may also be included incircuit 300 to help set the gain setting of the VGA. In some embodiments, gain G of the VGA incircuit 300 can be generally expressed as: -
- Capacitor C may also be optionally included in the VGA, for example, to create a feedforward zero in circuits with low-bandwidth op-amps. In other embodiments, capacitor C may be omitted. In some embodiments, a variable resistor Rb in
circuit 300 may also be included in order to maintain the feedback factor f ofcircuit 300 constant over different gain settings of the VGA. In other embodiments (e.g., when feedback factor f is variable), resistor Rb may be omitted. Furthermore, incircuit 300, resistor R6 may be optionally included to provide a path for the biasing current of theDCOC DAC 304. - Furthermore, during normal operation mode, a DCOC DAC supplies an offset correction current IDCOC to a resistor Rshunt, which applies a DC offset correction voltage VDCOC (e.g., IDCOCR) to inputs of
op amp 302. During calibration mode, a DCOC DAC supplies a constant calibration offset correction current IDCOC′ to a resistor. In various embodiments, twocurrent sources 304 configured in opposing directions are included incircuit 300 to provide a differential offset current IDCOC to the circuit. For example, when the differential offset current IDCOC is set to middle code (e.g., during calibration), bothcurrent sources 304 source the same amount of current intocircuit 300, and the net differential offset current IDCOC equals OA. In another example, when the differential offset current IDCOC is set away from middle code, onecurrent source 304 may source some current, and the othercurrent source 304 may sink some current to result in a net non-zero differential offset current IDCOC being supplied tocircuit 300. Incircuit 300, resistors R5 may be included to help offset correction current IDCOC injected at the inputs ofop amp 302 track with the gain setting of the VGA. In some embodiments resistors R5 may be about 40 kΩ although other values for resistors R5 may be used in other embodiments. The various values of resistors in an embodiment circuit may be modified and selected based on device design as understood by one skilled in the art. - Resistor Rshunt may be a variable resistor that is varied by DCOC DAC in accordance with the gain G of the VGA. For example, as described above, the resistance R (see equation 1) of the offset correction current IDCOC is modeled as constant across all gain settings of the VGA. In
circuit 300, Rshunt may be varied to provide an overall constant resistance for offset correction current IDCOC based on the gain G of the VGA. For example, the output voltage ofcircuit 300 is: -
- Comparing Equations (1), (14), and (20) above, resistor Rshunt may be varied in accordance with a selected gain G of the VGA in order to apply a constant overall resistance R (see Equation (1)) to IDCOC across all gain settings of the VGA. In various embodiments, the DCOC DAC may control both the offset correction current IDCOC and Rshunt in
circuit 300 in order to provide a suitable offset correction voltage VDCOC to the VGA. -
FIG. 4 illustrates aprocess flow 400 for calibrating a circuit according to various embodiments. In step 402 a circuit path (e.g., RX path 100) is activated with no input signal. The circuit path may include a VGA (e.g., VGA 112) at an end of the path. Instep 404, the VGA is set to a first gain setting, and an output voltage of the VGA is measured. Instep 406, the VGA is set to a second gain setting, which may be different than the first gain setting. The output of the VGA from the second gain setting is measured. Duringsteps step 408, an offset voltage of the signal path (e.g., VOS1) and an internal offset voltage of the VGA (e.g., VOS2) are calculated using the two output voltage measurements fromsteps - After the offset voltages are determined, offset correction voltages (e.g., IDCOCR) for different gain settings of the VGA may be calculated in
step 410. For example, the offset correction voltages may be calculated based in Equation (8) when the feedback factor is constant or based on equation (13) when the feedback factor varies. Instep 412, a DCOC DAC is configured (e.g., programmed) in accordance with the different offset correction voltages determined instep 410. During normal operations of the device, the DCOC DAC may apply a suitable offset correction voltage based on this programming and a selected gain of the VGA. - Thus, as described above, various embodiments include a calibration system for offset voltage correction in a RX circuit path of a transceiver. The DC offset voltage correction may occur at a last stage of the RX path. For example, a DCOC DAC may apply a suitable offset correction voltage to a summing node of a VGA at the end of the RX path. During calibration, the VGA is set to two different gain settings (also referred to as gain steps) with no input signal being applied to the circuit path. The output voltage of each gain setting is measured. Based on the output voltages, an offset voltage of the signal path (e.g., offset voltage to the signal caused by various elements along the RX path) as well as the internal offset voltage of the VGA is calculated. Knowing these offset voltages, a suitable offset correction voltage may be calculated for each gain step of the VGA. As the VGA gain is changed during operation of the transceiver, a suitable offset correction voltage can be applied by a DC offset voltage correction (DCOC) digital to analog convertor (DAC), which feeds into the VGA. Thus, DC offset voltage calculation may be achieved by taking as few as two measurements, which allows for fast calibration of a circuit path.
- While this invention has been described with reference to illustrative embodiments, this description is not intended to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention, will be apparent to persons skilled in the art upon reference to the description. It is therefore intended that the appended claims encompass any such modifications or embodiments.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/920,671 US9647622B1 (en) | 2015-10-22 | 2015-10-22 | System and method for offset voltage calibration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/920,671 US9647622B1 (en) | 2015-10-22 | 2015-10-22 | System and method for offset voltage calibration |
Publications (2)
Publication Number | Publication Date |
---|---|
US20170117861A1 true US20170117861A1 (en) | 2017-04-27 |
US9647622B1 US9647622B1 (en) | 2017-05-09 |
Family
ID=58559271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/920,671 Active US9647622B1 (en) | 2015-10-22 | 2015-10-22 | System and method for offset voltage calibration |
Country Status (1)
Country | Link |
---|---|
US (1) | US9647622B1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10211865B1 (en) | 2018-06-22 | 2019-02-19 | Futurewei Technologies, Inc. | Fully differential adjustable gain devices and methods for use therewith |
US10581472B2 (en) | 2018-06-22 | 2020-03-03 | Futurewei Technologies, Inc. | Receiver with reduced mixer-filter interaction distortion |
CN112399676A (en) * | 2020-12-04 | 2021-02-23 | 欧普照明股份有限公司 | Constant current driving circuit, calibration method thereof and lighting device |
CN115993568A (en) * | 2023-03-24 | 2023-04-21 | 绅克半导体科技(苏州)有限公司 | Semiconductor tester and direct current calibration method for test channel of semiconductor tester |
CN116054973A (en) * | 2023-04-03 | 2023-05-02 | 荣湃半导体(上海)有限公司 | Self-calibration receiver for isolator |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7265611B2 (en) * | 2003-02-11 | 2007-09-04 | Nxp B.V. | Self zeroing for critical, continuous-time applications |
US7933361B2 (en) * | 2006-04-05 | 2011-04-26 | Integrated System Solution Corp. | Hybrid DC-offset reduction method and system for direct conversion receiver |
US8026761B2 (en) * | 2010-01-26 | 2011-09-27 | Microchip Technology Incorporated | Instrumentation amplifier calibration method, system and apparatus |
-
2015
- 2015-10-22 US US14/920,671 patent/US9647622B1/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10211865B1 (en) | 2018-06-22 | 2019-02-19 | Futurewei Technologies, Inc. | Fully differential adjustable gain devices and methods for use therewith |
US10581472B2 (en) | 2018-06-22 | 2020-03-03 | Futurewei Technologies, Inc. | Receiver with reduced mixer-filter interaction distortion |
US10587296B2 (en) | 2018-06-22 | 2020-03-10 | Futurewei Technologies, Inc. | Adjustable gain devices and methods for use therewith |
CN112399676A (en) * | 2020-12-04 | 2021-02-23 | 欧普照明股份有限公司 | Constant current driving circuit, calibration method thereof and lighting device |
CN115993568A (en) * | 2023-03-24 | 2023-04-21 | 绅克半导体科技(苏州)有限公司 | Semiconductor tester and direct current calibration method for test channel of semiconductor tester |
CN116054973A (en) * | 2023-04-03 | 2023-05-02 | 荣湃半导体(上海)有限公司 | Self-calibration receiver for isolator |
Also Published As
Publication number | Publication date |
---|---|
US9647622B1 (en) | 2017-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9647622B1 (en) | System and method for offset voltage calibration | |
US7929938B2 (en) | DC-compensated IP2 calibration for WCDMA receiver | |
US7804356B2 (en) | Amplifier with automatic gain profile control and calibration | |
US7603084B2 (en) | Method and apparatus for DC offset calibration | |
US7697905B2 (en) | Local oscillator feedthrough cancellation scheme to remove RF and baseband offsets | |
US8134410B1 (en) | Transceiver gain calibration | |
US20130336143A1 (en) | I-q mismatch calibration and method | |
JP4628881B2 (en) | Variable gain amplifier circuit, DC offset correction method thereof, and wireless receiver | |
US9595931B2 (en) | Two differential amplifier configuration | |
US8212546B2 (en) | Wideband CMOS RMS power detection scheme | |
US8761708B2 (en) | Direct conversion receiver and calibration method thereof | |
KR100856769B1 (en) | Multi-stage amplifier and method for correctiing dc offsets | |
US8884693B2 (en) | Amplifier and filter having variable gain and cutoff frequency controlled logarithmically according to digital code | |
US7353010B1 (en) | Techniques for fast automatic gain control | |
JP2004072361A (en) | Gain control amplifier, receiving circuit and radio communication device | |
US20120034895A1 (en) | Circuit and Method for Peak Detection with Hysteresis | |
JP2009071812A5 (en) | ||
US7417500B2 (en) | Control of an adjustable gain amplifier | |
US8854130B2 (en) | DC-coupled peak detector | |
US7239199B1 (en) | Amplifier calibration | |
US9025706B2 (en) | Receiver with adaptive filter and gain control | |
WO2019091300A1 (en) | Dc control circuit for controlling resistance of rf transistor | |
US7446608B2 (en) | Variable gain amplifier with constant input referred third order intercept | |
US10708114B2 (en) | Quadrature radio receiver with gain-dependent mismatch correction | |
US10432242B1 (en) | Low noise broadband amplifier with resistive matching |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: FUTUREWEI TECHNOLOGIES, INC., TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:JAEGER, KENT;ZHANG, ZHIHANG;MILLER, MATTHEW;AND OTHERS;SIGNING DATES FROM 20150930 TO 20151013;REEL/FRAME:036860/0889 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |