Digital calibration of programmable gain amplifiers
View Patent ↗A programmable gain amplifier (PGA) includes an op amp, an input circuit, a feedback circuit, and a calibration circuit. The input circuit is connected between a PGA input node and an op-amp input node and selectively applies the analog input signal to the op-amp input node. The feedback circuit is connected between an op-amp output node and the op-amp input node and applies the amplified analog output signal as a feedback signal to the op-amp input node. The calibration circuit is connected between a calibration reference node and the op-amp input node and selectively connects the calibration reference node directly to the op-amp input node without traversing any of the input circuit. The PGA may be implemented as a single-ended or differential amplifier. The PGA avoids reduced linearity resulting from series combinations of switches in the input circuit when configured for its normal operating mode.
1. A circuit including a programmable gain amplifier (PGA) that generates an amplified analog output signal at a PGA output node of the PGA based on an analog input signal applied to a PGA input node of the PGA, the PGA comprising:
an operational amplifier (op amp) comprising first and second op-amp input nodes and at least a first op-amp output node;
an input circuit connected between the PGA input node and the first op-amp input node and configurable to selectively apply the analog input signal to the first op-amp input node;
a feedback circuit connected between the first op-amp output node and the first op-amp input node and configured to apply the amplified analog output signal as a feedback signal to the first op-amp input node; and
a calibration circuit connected between a calibration reference node and the first op-amp input node and configurable to selectively connect the calibration reference node directly to the first op-amp input node,
wherein:
for a PGA normal operating mode, (i) the input circuit is configured to connect the PGA input node to the first op-amp input node such that the analog input signal is applied to the first op-amp input node and (ii) the calibration circuit is configured to disconnect the calibration reference node from the first op-amp input node; and
for a PGA calibration mode, (i) the input circuit is configured to disconnect the PGA input node from the first op-amp input node such that the analog input signal is not applied to the first op-amp input node and (ii) the calibration circuit is configured to connect the calibration reference node directly to the first op-amp input node.
2. The circuit of claim 1 , wherein when the PGA is configured in the PGA normal operating mode, no signal path from the PGA input node to the first op-amp input node contains two or more switches connected in series.
3. The circuit of claim 2 , wherein when the PGA is configured in the PGA normal operating mode, each signal path from the PGA input node to the first op-amp input node contains only one switch.
4. The circuit of claim 1 , wherein the PGA is a differential PGA configured to generate an amplified differential analog output signal at a differential PGA output node of the differential PGA based on a differential analog input signal applied to a differential PGA input node of the differential PGA, wherein:
the op amp is a differential op amp comprising the first and second op-amp input nodes and the first and a second op-amp output node;
the input circuit is connected between the differential PGA input node and the first and second op-amp input nodes and configurable to selectively apply the differential analog input signal to the first and second op-amp input nodes;
the feedback circuit is connected between the first and second op-amp output nodes and the first and second op-amp input nodes and configured to apply the amplified differential analog output signal as a differential feedback signal to the first and second op-amp input nodes; and
the calibration circuit is connected between a differential calibration reference node and the first and second op-amp input nodes and configurable to selectively connect the differential calibration reference node directly to the first and second op-amp input nodes.
5. The circuit of claim 1 , wherein:
the input circuit comprises two or more switched resistors connected in parallel;
the feedback circuit comprises two or more resistors connected in parallel, wherein at least one of the resistors is a switched resistor; and
the calibration circuit comprises a switched resistor.
6. The circuit of claim 5 , wherein each resistor in the feedback circuit is a switched resistor.
7. The circuit of claim 1 , wherein the calibration reference node is connected to ground.
8. The circuit of claim 1 , further comprising:
an analog-to-digital converter (ADC) configured to digitize the amplified analog output signal generated by the PGA; and
a digital signal processor (DSP) configured to (i) characterize a DC offset value for the PGA based on a digitized signal from the ADC during the PGA calibration mode and (ii) compensate for the DC offset value in the digitized signal during the PGA normal operating mode.
9. A programmable gain amplifier (PGA) that generates an amplified analog output signal at a PGA output node based on an analog input signal applied to a PGA input node, the PGA comprising:
an operational amplifier (op amp) including first and second op-amp input nodes and an op-amp output node;
an input circuit, comprising two or more switched resistors connected in parallel, connected between the PGA input node and the first op-amp input node, wherein the input circuit selectively applies the analog input signal to the first op-amp input node;
a feedback circuit, comprising two or more resistors connected in parallel, connected between the op-amp output node and the first op-amp input node, wherein the feedback circuit applies the amplified analog output signal as a feedback signal to the first op-amp input node; and
a calibration circuit comprising a switched resistor connected between a calibration reference node and the first op-amp input node, wherein the calibration circuit selectively connects the calibration reference node directly to the first op-amp input node, wherein
for a PGA normal operating mode, (i) the input circuit is configured to connect the PGA input node to the first op-amp input node such that the analog input signal is applied to the first op-amp input node and (ii) the calibration circuit is configured to disconnect the calibration reference node from the first op-amp input node; and
for a PGA calibration mode, (i) the input circuit is configured to disconnect the PGA input node from the first op-amp input node such that the analog input signal is not applied to the first op-amp input node and (ii) the calibration circuit is configured to connect the calibration reference node directly to the first op-amp input node.
10. The PGA of claim 9 , wherein at least one of the resistors of the feedback circuit is a switched resistor.
11. The PGA of claim 9 , wherein each resistor in the feedback circuit is a switched resistor.
12. The PGA of claim 9 , wherein when the PGA is configured in the PGA normal operating mode, no signal path from the PGA input node to the first op-amp input node contains two or more switches connected in series.
13. The PGA of claim 12 , wherein when the PGA is configured in the PGA normal operating mode, each signal path from the PGA input node to the first op-amp input node contains only one switch.