# US 2023/0147894 A1 · Circuitry for compensating for gain and/or phase mismatch between voltage and current monitoring paths

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

- Number: US 2023/0147894 A1
- Document ID: US20230147894A1
- Status: Published application
- Kind: A1
- Application number: 17/690,327
- Filed: 2022-03-09
- Published: 2023-05-11
- Earliest claimed: 2021-11-09
- Assignees: Cirrus Logic International Semiconductor Ltd.
- Applicants: Cirrus Logic International Semiconductor Ltd.
- Inventors: Ryan A. HELLMAN; Viral PARIKH; Siddharth MARU; Tejasvi DAS
- Web page: https://patentgrep.com/patent/US20230147894A1

## CPC

- G01R 35/005: {Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references (G01R33/0035, G01R35/002 take precedence)}
- G01R 1/203: {Resistors used for electric measuring, e.g. decade resistors standards, resistors for comparators, series resistors, shunts (resistors in general H01C; microwave or radiowave terminations H01P1/26; coupling devices H01R)}
- G01R 19/0092: {Measuring current only}
- G01R 27/02: Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant (by measuring phase angle only G01R25/00)
- G01R 27/14: Measuring resistance by measuring current or voltage obtained from a reference source (G01R27/16, G01R27/20, G01R27/22 take precedence)
- H03F 3/217: Class D power amplifiers; Switching amplifiers
- G01R 27/08: Measuring resistance by measuring both voltage and current
- G01R 27/16: Measuring impedance of element or network through which a current is passing from another source, e.g. cable, power line
- H03F 2200/03: the amplifier being designed for audio applications
- H03F 2200/375: Circuitry to compensate the offset being present in an amplifier
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H03F: AMPLIFIERS

## Abstract

Circuitry comprising: a voltage monitoring path; a current monitoring path; a reference element of a predefined impedance; and processing circuitry, wherein in operation of the circuitry in a calibration mode of operation: the voltage monitoring path is operative to output a signal indicative of a voltage across the reference element in response to a reference signal applied to the reference element; the current monitoring path is operative to output a signal indicative of a current through the reference element in response to the reference signal; and the processing circuitry is operative to: receive the signal indicative of the voltage across the reference element and the signal indicative of the current through the reference element; generate an estimate of an impedance of the reference element; and determine a compensation parameter for an element of the circuitry for compensating for a difference between the estimate of the impedance and the predefined impedance of the reference element.

## Claims

### Claim 1

Circuitry comprising:
a voltage monitoring path;
a current monitoring path;
a reference element of a predefined impedance; and
processing circuitry,
wherein in operation of the circuitry in a calibration mode of operation:
the voltage monitoring path is operative to output a signal indicative of a voltage across the reference element in response to a reference signal applied to the reference element;
the current monitoring path is operative to output a signal indicative of a current through the reference element in response to the reference signal; and
the processing circuitry is operative to:
receive the signal indicative of the voltage across the reference element and the signal indicative of the current through the reference element;
generate an estimate of an impedance of the reference element; and
determine a compensation parameter for an element of the circuitry for compensating for a difference between the estimate of the impedance and the predefined impedance of the reference element.

### Claim 2 (depends on 1)

Circuitry according to claim 1, wherein the circuitry is configured to apply the compensation parameter in operation of the circuitry in a load driving mode of operation.

### Claim 3 (depends on 1)

Circuitry according to claim 1, wherein the compensation parameter is a frequency domain compensation parameter.

### Claim 4 (depends on 3)

Circuitry according to claim 3, wherein the processing circuitry comprises:
a first conversion block for converting the signal indicative of the voltage across the reference element into a first frequency domain complex vector; and
a second conversion block for converting the signal indicative of the current through the reference element into a second frequency domain complex vector,
wherein the processing circuitry comprises a calculation block configured to generate the estimate of the impedance of the reference element based on the first and second frequency domain complex vectors and to compare the generated estimate to the predefined impedance of the reference element.

### Claim 5 (depends on 4)

Circuitry according to claim 4, wherein the circuitry further comprises a compensation block configured to apply the compensation parameter to the first frequency domain complex vector or the second frequency domain complex vector.

### Claim 6 (depends on 4)

Circuitry according to claim 4, wherein the calculation block is configured to calculate a gain mismatch β by dividing a ratio of the magnitude of the first complex vector to the magnitude of the second complex vector by the magnitude of the predefined impedance, and to calculate a phase mismatch ϕ by subtracting the phase of a ratio of the first complex vector to the second complex vector from the phase of the predefined impedance.

### Claim 7 (depends on 6)

Circuitry according to claim 6, wherein the calculation block is configured to calculate a first compensation coefficient BR and a second compensation coefficient BI, where:
B
R
=
1
β
⁢
cos
⁢
Φ
;
and
B
I
=
-
1
β
⁢
sin
⁢
Φ
,
and wherein the compensation parameter comprises a compensation vector comprising the first and second compensation coefficients.

### Claim 8 (depends on 5)

Circuitry according to claim 5, wherein the compensation parameter comprises a compensation vector comprising first and second temperature-dependent compensation coefficients, wherein the calculation block is configured to select the first and second temperature-dependent compensation coefficients based on a detected temperature.

### Claim 9 (depends on 8)

Circuitry according to claim 8, wherein the temperature-dependent compensation coefficients comprise predefined polynomials.

### Claim 10 (depends on 1)

Circuitry according to claim 1, wherein the compensation parameter is a time domain compensation parameter.

### Claim 11 (depends on 10)

Circuitry according to claim 10, wherein the compensation parameter comprises a parameter of an analog element of the voltage monitoring path or the current monitoring path.

### Claim 12 (depends on 11)

Circuitry according to claim 11, wherein the voltage monitoring path and the current monitoring path each comprise analog front end (AFE) circuitry and analog to digital converter (ADC) circuitry, and wherein the compensation parameter comprises a parameter of the AFE circuitry or the ADC circuitry.

### Claim 13 (depends on 12)

Circuitry according to claim 12, wherein the compensation parameter comprises one or more of:
a resistance of a resistor of filter circuitry of the AFE circuitry of the voltage monitoring path or the current monitoring path;
a capacitance of a capacitor of filter circuitry of the AFE circuitry of the voltage monitoring path or the current monitoring path; and
a transconductance of amplifier circuitry of the AFE circuitry of the voltage monitoring path or the current monitoring path.

### Claim 14 (depends on 12)

Circuitry according to claim 12, wherein the compensation parameter comprises one or more of:
a resistance of a resistor of a feedback network of amplifier circuitry of the AFE circuitry of the voltage monitoring path or the current monitoring path; and
a reference voltage for the ADC circuitry of the voltage monitoring path or the current monitoring path.

### Claim 15 (depends on 1)

Circuitry according to claim 1, wherein the circuitry is configured to apply the compensation parameter in operation of the circuitry in the compensation mode of operation, wherein the processing circuitry is operative to:
with the compensation parameter applied, generate an estimate of an impedance of the reference element; and
compare the estimate of the impedance and the predefined impedance of the reference element.

### Claim 16 (depends on 1)

Circuitry according to claim 1, wherein the reference element comprises a tantalum nitride resistor.

### Claim 17 (depends on 1)

Circuitry according to claim 1, further comprising load selector circuitry for selectively coupling the voltage and current monitoring paths to the reference element or to a load according to the mode of operation of the circuitry.

### Claim 18 (depends on 17)

Circuitry according to claim 17, wherein the load selector circuitry comprises a controllable switch network.

### Claim 19 (depends on 17)

Circuitry according to claim 17, wherein the current monitoring path comprises a plurality of selectable current sense resistors, wherein:
in the calibration mode, the processing circuitry is operative to determine a first compensation parameter with a first one of the plurality selectable current sense resistors selected; and
in a load driving mode of operation of the circuitry, the processing circuitry is operable to:
generate a first estimate of an impedance of a load coupled to the circuitry with the first one of the plurality selectable current sense resistors selected; and
determine a second compensation parameter if a second estimate of the impedance of the load generated by the processing circuitry with a second one of the of the plurality of selectable current sense resistors selected differs from the first estimate of the impedance of the load.

### Claim 20 (depends on 1)

An integrated circuit comprising circuitry according to claim 1.

### Claim 21 (depends on 1)

A host device comprising circuitry according to claim 1, wherein the host device comprises a laptop, notebook, netbook or tablet computer, a gaming device, a games console, a controller for a games console, a virtual reality (VR) or augmented reality (AR) device, a mobile telephone, a portable audio player, a portable device, an accessory device for use with a laptop, notebook, netbook or tablet computer, a gaming device, a games console a VR or AR device, a mobile telephone, a portable audio player or other portable device.
