# US 11,119,138 B1 · Capacitive sensor including compensation for phase shift

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

- Number: US 11,119,138 B1
- Document ID: US11119138B1
- Status: Granted
- Kind: B1
- Application number: 16/838,405
- Filed: 2020-04-02
- Granted: 2021-09-14
- Earliest claimed: 2017-08-21
- Assignees: Cirrus Logic, Inc.
- Applicants: Cirrus Logic International Semiconductor Ltd.
- Inventors: Vikrant Arumugam; Amar Vellanki; Vamsikrishna Parupalli; Zhong You; Johann G. Gaboriau; John L. Melanson
- Web page: https://patentgrep.com/patent/US11119138B1

## CPC

- G01R 27/2605: {Measuring capacitance (capacitive sensors G01D5/24)}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A method may include applying an excitation signal to a capacitor of the capacitive sensor which causes generation of a modulated signal from an input signal indicative of a variance in a capacitance of the capacitor, detecting the modulated signal with a detector to generate a detected modulated signal that has a phase shift relative to the excitation signal, demodulating the detected modulated signal into an in-phase component and a quadrature component using a reference signal, nullifying the quadrature component by setting a phase of the reference signal relative to the excitation signal to compensate for the phase shift, and outputting the in-phase component as an unmodulated output signal representative of the capacitance.

## Claims

### Claim 1

A method of measuring a capacitive sensor output of a capacitive sensor having a capacitor, the method comprising:
detecting, by a detector, a modulated signal indicative of a capacitance of the capacitor with the detector to generate a detected modulated signal that has a phase shift relative to an excitation signal applied to the capacitor in order to generate the modulated signal;
demodulating, by a demodulator, the detected modulated signal into an in-phase component and a quadrature component using a reference signal;
nullifying, by a controller, the quadrature component by setting a phase of the reference signal relative to the excitation signal to compensate for the phase shift; and
outputting, by an output, the in-phase component as an unmodulated output signal representative of a capacitance of the capacitor.

### Claim 2 (depends on 1)

The method of claim 1, wherein the detected modulated signal is a digital signal and wherein demodulating the detected modulated signal comprises demodulating the detected modulated signal in a digital domain.

### Claim 3 (depends on 1)

The method of claim 1, wherein the detected modulated signal is an analog signal and wherein demodulating the detected modulated signal comprises demodulating the detected modulated signal in an analog domain.

### Claim 4 (depends on 1)

The method of claim 1, wherein the phase shift is unknown, and setting the phase of the reference signal comprises setting the phase of the reference signal relative to the excitation signal during production or manufacturing of an apparatus for conducting the method in order to nullify the quadrature component.

### Claim 5 (depends on 1)

The method of claim 1, wherein the phase shift is unknown, and setting the phase of the reference signal comprises setting the phase of the reference signal relative to the excitation signal once per power cycle of an apparatus for conducting the method in order to nullify the quadrature component.

### Claim 6 (depends on 1)

The method of claim 1, wherein the phase shift is unknown, and setting the phase of the reference signal comprises continuously varying the phase of the reference signal relative to the excitation signal responsive to variance of the phase shift in order to nullify the quadrature component.

### Claim 7 (depends on 1)

The method of claim 1, wherein the variance in the capacitance of the capacitor is representative of a displacement of a transducer.

### Claim 8 (depends on 7)

The method of claim 7, wherein the transducer comprises one of a speaker, a linear resonant actuator, and a haptic transducer.

### Claim 9

An apparatus for measuring a capacitive sensor output of a capacitive sensor having a capacitor, comprising:
a detector configured to detect a modulated signal indicative of a capacitance of the capacitor and generate a detected modulated signal that has a phase shift relative to an excitation signal applied to the capacitor in order to generate the modulated signal;
a demodulator configured to demodulate the detected modulated signal into an in-phase component and a quadrature component using a reference signal;
a controller configured to nullify the quadrature component by setting a phase of the reference signal relative to the excitation signal to compensate for the phase shift; and
an output configured to output the in-phase component as an unmodulated output signal representative of the capacitance of the capacitor.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the detected modulated signal is a digital signal and wherein the demodulator is further configured to demodulate the detected modulated signal in a digital domain.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the detected modulated signal is an analog signal and wherein the demodulator is further configured to demodulate the detected modulated signal in an analog domain.

### Claim 12 (depends on 9)

The apparatus of claim 9, wherein the phase shift is unknown, and the controller is further configured to set the phase of the reference signal relative to the excitation signal during production or manufacturing of the apparatus in order to nullify the quadrature component.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the phase shift is unknown, and the controller is further configured to set the phase of the reference signal relative to the excitation signal once per power cycle of the apparatus in order to nullify the quadrature component.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein the phase shift is unknown, and the controller is further configured to set the phase of the reference signal by continuously varying the phase of the reference signal relative to the excitation signal responsive to variance of the phase shift in order to nullify the quadrature component.

### Claim 15 (depends on 9)

The apparatus of claim 9, wherein the variance in the capacitance of the capacitor is representative of a displacement of a transducer.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the transducer comprises one of a speaker, a linear resonant actuator, and a haptic transducer.
