# US 2019/0319619 A1 · Current subtraction circuitry

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

- Number: US 2019/0319619 A1
- Document ID: US20190319619A1
- Status: Published application
- Kind: A1
- Application number: 15/955,379
- Filed: 2018-04-17
- Published: 2019-10-17
- Earliest claimed: 2018-04-17
- Assignees: Semiconductor Components Industries, LLC
- Applicants: Semiconductor Components Industries, LLC
- Inventors: Kyle THOMAS
- Web page: https://patentgrep.com/patent/US20190319619A1

## CPC

- H03K 17/945: Proximity switches (H03K17/96 takes precedence)
- G01B 7/023: {for measuring distance between sensor and object (G01B7/082 and G01B7/102 take precedence)}
- G05F 3/262: {using field-effect transistors only}
- H03F 3/45071: {with semiconductor devices only}
- H03F 3/45174: {Mirror types}
- H03F 2200/474: A current mirror being used as sensor
- H03F 2200/91: the amplifier has a current mode topology
- H03K 5/023: {using field effect transistors}
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- G01B: MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G05F: SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- H03F: AMPLIFIERS

## Abstract

An electronic device may include a sensing circuit and a current subtraction circuit. The sensing circuit may output first and second current signals. The current subtraction circuit may mirror the first and second current signals onto first and second current branches. The second current branch may be split into a first sub-path and a second sub-path. An amplifier may control the amount of current flowing through the second sub-path by forcing the current flowing through the first current branch and the current flowing through the first sub-path to be identical. Configured in this way, the current flowing through the second sub-path will be equal to the difference between the first and second current signals. The current flowing through the second sub-path may be optionally amplified using another current mirror.

## Claims

### Claim 1

Circuitry, comprising:
a first current branch configured to convey a first current amount;
a second current branch configured to convey a second current amount, wherein the second current branch splits into first and second sub-branches; and
an amplifier circuit configured to force the first current amount through the first sub-branch such that the second sub-branch conveys an amount of current that is equal to the difference between the first and second current amounts.

### Claim 2 (depends on 1)

The circuitry of claim 1, wherein the first current branch comprises a first transistor of a first channel type, wherein the first sub-branch comprises a second transistor of the first channel type, wherein the second sub-branch comprises a third transistor of the first channel type, wherein the second and third transistors are connected in parallel, and wherein the sum of the current flowing through the second and third transistors is equal to the second current amount.

### Claim 3 (depends on 2)

The circuitry of claim 2, wherein the third transistor has a gate terminal, and wherein the amplifier circuit has an output that is connected to the gate terminal of the third transistor.

### Claim 4 (depends on 3)

The circuitry of claim 3, wherein the first transistor has a gate terminal, and wherein the second transistor has a gate terminal that is connected to the gate terminal of the first transistor.

### Claim 5 (depends on 4)

The circuitry of claim 4, wherein the first and second transistors are identically sized.

### Claim 6 (depends on 4)

The circuitry of claim 4, wherein the first and second transistors each have a drain terminal, and wherein the amplifier circuit has a first input connected to the drain terminal of the first transistor and a second input connected to the drain terminal of the second transistor.

### Claim 7 (depends on 2)

The circuitry of claim 2, wherein the first current branch further comprises a fourth transistor of a second channel type connected in series with the first transistor, and wherein the second current branch further comprises a fifth transistor of the second channel type connected in series with the second transistor, wherein the second channel type is different than the first channel type.

### Claim 8 (depends on 7)

The circuitry of claim 7, wherein the first channel type is either an n-type channel or a p-type channel.

### Claim 9 (depends on 1)

The circuitry of claim 1, wherein the first current amount is equal to the sum of a first measured current amount and a bias current amount, and wherein the second current amount is equal to the sum of a second measured current amount and the bias current amount.

### Claim 10 (depends on 1)

The circuitry of claim 1, further comprising:
an output current branch configured to mirror the amount of current flowing through the second sub-branch.

### Claim 11 (depends on 10)

The circuitry of claim 10, wherein second sub-branch comprises a first transistor, and wherein the output current branch comprises a second transistor that is bigger than the first transistor to provide a predetermined current gain.

### Claim 12

A method of operating current subtraction circuitry, the method comprising:
conveying a first amount of current through a first current branch;
conveying a second amount of current through a second current branch, wherein the second current branch splits into first and second current sub-branches;
using an amplifier to force the first amount of current to flow through the first current sub-branch; and
conveying an amount of current that is equal to the difference between the first and second amounts of current through the second current sub-branch.

### Claim 13 (depends on 12)

The method of claim 12, wherein the first current branch comprises a first transistor having a first drain terminal, wherein the first current sub-branch comprises a second transistor having a second drain terminal, the method further comprising:
receiving a first voltage from the first drain terminal at a first input of the amplifier; and
receiving a second voltage from the second drain terminal at a second input of the amplifier.

### Claim 14 (depends on 13)

The method of claim 13, wherein the second current sub-branch comprises a third transistor having a gate terminal, the method further comprising:
with the amplifier, outputting signals to the gate terminal of the third transistor.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
with a fourth transistor, conveying an output current that is equal to K times the amount of current flowing through the third transistor, wherein K is greater than one.

### Claim 16

An electronic device, comprising:
a sensing circuit configured to output a first current measurement and a second current measurement; and
a current subtraction circuit configure to receive the first current measurement and the second current measurement from the sensing circuit, wherein the current subtraction circuit comprises:
a first current branch, wherein the first current measurement is mirrored onto the first current branch;
a second current branch, wherein the second current measurement is mirrored onto the second current branch, wherein the second current branch splits into a first current path and a second current path; and
an amplifier that forces the amount of current flowing through the first current branch to be equal to the amount of current flowing through the first current path so that the amount of current flowing through the second current path is equal to the difference between the first and second current measurements.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein the electronic device comprises a proximity sensor.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein the electronic device further comprises:
a light source, wherein the first current measurement is obtained when the light source is off, and wherein the second current measurement is obtained when the light source is on.

### Claim 19 (depends on 16)

The electronic device of claim 16, wherein the first current branch includes a first transistor, wherein the first current path includes a second transistor, wherein the second current path includes a third transistor, and wherein the amplifier has a first input connected to a drain terminal of the first transistor, a second input connected to a drain terminal of the second transistor, and an output that controls a gate terminal of the third transistor.

### Claim 20 (depends on 19)

The electronic device of claim 19, wherein the first current measurement mirrored onto the first current branch includes a bias current, and wherein the second current measurement mirrored onto the second current branch also includes the bias current.
