# US 2024/0178807 A1 · Methods and apparatus to reduce offset and gain error in multistage current sense amplifiers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0178807 A1
- Document ID: US20240178807A1
- Status: Published application
- Kind: A1
- Application number: 18/070,215
- Filed: 2022-11-28
- Published: 2024-05-30
- Earliest claimed: 2022-11-28
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Ankit Khanna; Dimitar Trifonov; Partha S. Basu; Chase Puglisi
- Web page: https://patentgrep.com/patent/US20240178807A1

## CPC

- H03F 3/45475: {using IC blocks as the active amplifying circuit}
- H03F 1/086: {with FET's}
- H03F 2200/261: Amplifier which being suitable for instrumentation applications
- H03F 2200/462: the current being sensed
- H03F 2203/45134: the whole differential amplifier together with other coupled stages being fully differential realised
- H03F: AMPLIFIERS

## Abstract

An example apparatus includes: a transconductance stage including: a fully differential amplifier configured to generate a differential current based on a voltage input; and a transistor configured to be controlled by an output of the fully differential amplifier and source current from an input of the fully differential amplifier; and a transimpedance stage coupled to the transconductance stage, the transimpedance stage including: resistor circuitry configured to convert the differential current into a differential voltage using a first resistance, a second resistance, and a third resistance; and a differential amplifier configured to convert the differential voltage to a single-ended voltage, which represents the voltage input.

## Claims

### Claim 1

An apparatus comprising:
a first amplifier including a first inverting terminal, a first non-inverting terminal, a second non-inverting terminal, and a second inverting terminal, the first inverting terminal coupled to a first resistor, the first non-inverting terminal coupled to a second resistor;
a first transistor including a first control terminal, a first current terminal, and a second current terminal, the first control terminal coupled to the second non-inverting terminal, and the first current terminal coupled to the first inverting terminal;
a second transistor including a second control terminal, a third current terminal, and a fourth current terminal, the second control terminal coupled to the second inverting terminal, and the third current terminal coupled to the first non-inverting terminal;
a second amplifier including a third non-inverting terminal, a third inverting terminal, and a measurement terminal, the third non-inverting terminal configured to be coupled to the second current terminal, the third inverting input configured to be coupled to the fourth current terminal;
a first variable resistor coupled to the third non-inverting terminal;
a second variable resistor coupled between the third non-inverting terminal and a reference terminal;
a third variable resistor coupled to the third inverting terminal; and
a fourth variable resistor coupled between the third inverting terminal and the measurement terminal.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising controller circuitry coupled to the first variable resistor, the second variable resistor, the third variable resistor, and the fourth variable resistor, the controller circuitry including circuitry to set the first variable resistor to a first resistance, the second variable resistor to a second resistance, the third variable resistor to the first resistance, and the fourth variable resistor to a third resistance.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the controller circuitry includes circuitry to set the first resistance and the second resistance to correct for gain error when a positive voltage is supplied to the first amplifier by the first resistor and the second resistor.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the controller circuitry includes circuitry to set the third resistance to correct for gain error when a negative voltage is supplied to the first amplifier by the first resistor and the second resistor.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the first resistor includes a first resistance, the second resistor includes a second resistance, the first variable resistor includes a third resistance, and the third variable resistor includes a fourth resistance, the first resistance is equal to the second resistance, and the third resistance is equal to the fourth resistance.

### Claim 6 (depends on 1)

The apparatus of claim 1, further including a third transistor including a fifth current terminal and a sixth current terminal, the fifth current terminal coupled to the second current terminal, the sixth current terminal coupled to the third non-inverting terminal.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the first amplifier is a fully differential amplifier and the second amplifier is a differential amplifier.

### Claim 8

An instrumentation amplifier comprising:
a transconductance stage including:
a fully differential amplifier configured to generate a differential current based on a voltage input; and
a transistor configured to be controlled by an output of the fully differential amplifier and source current from an input of the fully differential amplifier; and
a transimpedance stage coupled to the transconductance stage, the transimpedance stage including:
resistor circuitry configured to convert the differential current into a differential voltage using a first resistance, a second resistance, and a third resistance; and
a differential amplifier configured to convert the differential voltage to a single-ended voltage, the single-ended voltage represents the voltage input.

### Claim 9 (depends on 8)

The instrumentation amplifier of claim 8, wherein the transistor is a first transistor, the input is a first input, and the output is a first output, the transconductance stage further including a second transistor configured to be controlled by a second output of the fully differential amplifier, and source current from a second input of the fully differential amplifier.

### Claim 10 (depends on 8)

The instrumentation amplifier of claim 8, wherein the transconductance stage further includes a first resistor and a second resistor that couple the voltage input to the fully differential amplifier.

### Claim 11 (depends on 8)

The instrumentation amplifier of claim 8, wherein the resistor circuitry includes a first resistor, a second resistor, a third resistor, and a fourth resistor, the first resistor including the first resistance, the second resistor including the second resistance, the third resistor including the third resistance, and the fourth resistor including the second resistance.

### Claim 12 (depends on 8)

The instrumentation amplifier of claim 8, further comprising controller circuitry configured to determine the first resistance, the second resistance, and the third resistance based on a first gain when the voltage input is negative and a second gain when the voltage input is positive.

### Claim 13 (depends on 8)

The instrumentation amplifier of claim 8, wherein the first resistance, the second resistance, and the third resistance are variable resistances configured to reduce gain error.

### Claim 14 (depends on 8)

The instrumentation amplifier of claim 8, wherein the first resistance, the second resistance, and the third resistance are variable resistances configured to reduce offset error.

### Claim 15

A method comprising:
supplying a negative voltage to an input of an instrumentation amplifier;
determining, by controller circuitry, a negative gain based on the negative voltage and an output of the instrumentation amplifier in response to the negative voltage;
determining, by controller circuitry, a modified first trim code based on the negative gain and a first trim code;
setting, by the controller circuitry, a first variable resistor to a first resistance based on the modified first trim code;
supplying a positive voltage to the input of the instrumentation amplifier;
determining, by the controller circuitry, a positive gain based on the positive voltage and the output of the instrumentation amplifier in response to the positive voltage;
determining, by the controller circuitry, a reference gain based on a reference voltage and the output of the instrumentation amplifier in response to the positive voltage;
determining, by the controller circuitry, a modified second trim code based on the positive gain, the reference gain, and a second trim code;
setting, by the controller circuitry, a second variable resistor to a second resistance based on the modified second trim code;
determining, by the controller circuitry, a modified third trim code based on the positive gain, the reference gain, and a third trim code; and
setting, by the controller circuitry, a third variable resistor to a third resistance based on the modified third trim code.

### Claim 16 (depends on 15)

The method of claim 15, further including determining a change in the negative gain per least significant bit (LSB) of the first trim code.

### Claim 17 (depends on 16)

The method of claim 16, further including adding a trim code adjustment to the first trim code to generate the modified first trim code, the trim code adjustment equal to a negative gain error divided by the change in the negative gain per LSB of the first trim code.

### Claim 18 (depends on 15)

The method of claim 15, further including:
determining a change in the positive gain per LSB of the second trim code;
determining a change in the reference gain per LSB of the second trim code;
determining a change in the positive gain per LSB of the third trim code; and
determining a change in the reference gain per LSB of the third trim code.

### Claim 19 (depends on 18)

The method of claim 18, further including adding a trim code adjustment to the second trim code to generate the modified second trim code, the trim code adjustment based on the change in the positive gain per LSB of the third trim code, a reference gain error, the change in the reference gain per LSB of the third trim code, a positive gain error, the change in the positive gain per LSB of the third trim code, the change in the reference gain per LSB of the second trim code, and the change in the positive gain per LSB of the second trim code.

### Claim 20 (depends on 18)

The method of claim 18, further including adding a trim code adjustment to the third trim code to generate the modified third trim code, the trim code adjustment based on the change in the reference gain per LSB of the second trim code, a positive gain error, the change in the positive gain per LSB of the second trim code, a reference gain error, the change in the positive gain per LSB of the third trim code, and the change in the reference gain per LSB of the third trim code.
