# US 2022/0035470 A1 · Capacitance detection circuit, sensor, chip and electronic device

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

- Number: US 2022/0035470 A1
- Document ID: US20220035470A1
- Status: Published application
- Kind: A1
- Application number: 17/488,280
- Filed: 2021-09-28
- Published: 2022-02-03
- Earliest claimed: 2020-03-03
- Assignees: Shenzhen Goodix Technology Co., Ltd.
- Applicants: Shenzhen Goodix Technology Co., Ltd.
- Inventors: Hong JIANG
- Web page: https://patentgrep.com/patent/US20220035470A1

## CPC

- G06F 3/044: by capacitive means
- H03K 17/962: {Capacitive touch switches}
- H03K 2217/960725: Charge-transfer
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)

## Abstract

A capacitance detection circuit is provided, which includes a capacitance control module, a charge conversion module and a filter module connected with each other. The capacitance control module controls a capacitor to be charged/discharged for multiple times and generates a digital voltage signal according to an amount of received charges. The capacitor releases all stored charges after being charged to a preset voltage during each charge/discharge. In response to the digital voltage signal being at a high level, the charge conversion module outputs negative charges with a preset charge amount to the capacitance control module. The preset charge amount is greater than or equal to an amount of the stored charges when the capacitor is charged to the preset voltage. The filter module obtains a value representing a capacitance of the capacitor according to the digital voltage signal.

## Claims

### Claim 1

A capacitance detection circuit, comprising: a capacitance control module, a charge conversion module and a filter module, which are connected with each other;
wherein the capacitance control module is configured to control a capacitor to be detected to be charged and discharged for multiple times, and generate a digital voltage signal according to an amount of received charges; wherein the capacitor to be detected releases all stored charges after being charged to a preset voltage during each charge and discharge;
in response to the digital voltage signal being at a high level, the charge conversion module is configured to output negative charges with a preset charge amount to the capacitance control module, wherein the preset charge amount is greater than or equal to an amount of the stored charges when the capacitor to be detected is charged to the preset voltage; and
the filter module is configured to obtain a value representing a capacitance of the capacitor to be detected according to the digital voltage signal generated after the capacitor to be detected is charged and discharged for the multiple times.

### Claim 2 (depends on 1)

The capacitance detection circuit according to claim 1, wherein the capacitance control module comprises a charge transfer module, a voltage conversion module and a comparison module which are connected in sequence; wherein the comparison module is connected to the filter module, and the charge conversion module is connected to the voltage conversion module;
wherein the charge transfer module is configured to control the capacitor to be detected to be charged and discharged for the multiple times, wherein the capacitor to be detected releases all the stored charges to the voltage conversion module after being charged to the preset voltage during each charge and discharge;
the voltage conversion module is configured to convert all the stored charges that are received into an analog voltage signal;
the comparison module is configured to output the digital voltage signal according to a preset voltage threshold and the analog voltage signal; and
in response to the digital voltage signal being at the high level, the charge conversion module is configured to output the negative charges with the preset charge amount to the voltage conversion module.

### Claim 3 (depends on 2)

The capacitance detection circuit according to claim 2, wherein the charge transfer module comprises a first switch, a second switch and a first power supply;
wherein the first power supply is connected to a first terminal of the first switch, a second terminal of the first switch is connected to a first terminal of the second switch, a second terminal of the second switch is grounded, a connection between the first switch and the second switch is connected to a first terminal of the capacitor to be detected, a second terminal of the capacitor to be detected is connected to the voltage conversion module, and a control terminal of the first switch and a control terminal of the second switch are respectively configured to receive a driving signal;
in response to the driving signal, the first switch is configured to be closed when the capacitor to be detected is charged and be opened when the capacitor to be detected is discharged; and
in response to the driving signal, the second switch is configured to be opened when the capacitor to be detected is charged and be closed when the capacitor to be detected is discharged.

### Claim 4 (depends on 2)

The capacitance detection circuit according to claim 2, wherein the charge transfer module comprises a third switch, a fourth switch and a second power supply;
wherein the second power supply is connected to a first terminal of the third switch, a second terminal of the third switch is connected to a first terminal of the fourth switch, a second terminal of the fourth switch is connected to the voltage conversion module, a connection between the third switch and the fourth switch is connected to a first terminal of the capacitor to be detected, a second terminal of the capacitor to be detected is grounded, and a control terminal of the third switch and a control terminal of the fourth switch are respectively configured to receive a driving signal;
in response to the driving signal, the third switch is configured to be opened when the capacitor to be detected is discharged and be closed when the capacitor to be detected is charged; and
in response to the driving signal, the fourth switch is configured to be closed when the capacitor to be detected is discharged and be opened when the capacitor to be detected is charged.

### Claim 5 (depends on 2)

The capacitance detection circuit according to claim 2, wherein the voltage conversion module comprises an operational amplifier, a first reference capacitor and a fifth switch;
wherein the charge transfer module and the charge conversion module are respectively connected to an inverting input of the operational amplifier, a non-inverting input of the operational amplifier is grounded, two terminals of the first reference capacitor are respectively connected to the inverting input of the operational amplifier and an output of the operational amplifier, two terminals of the fifth switch are respectively connected to the two terminals of the first reference capacitor, and a control terminal of the fifth switch is configured to receive a reset signal; and
in response to the reset signal, the fifth switch is configured to keep closed within a preset duration before the charge transfer module controls the capacitor to be detected to be charged and discharged for the multiple times.

### Claim 6 (depends on 2)

The capacitance detection circuit according to claim 2, wherein the comparison module comprises a voltage comparator and a first trigger;
wherein a non-inverting input of the voltage comparator is connected to the voltage conversion module, an inverting input of the voltage comparator is grounded, an output of the voltage comparator is connected to a first input of the first trigger, a second input of the first trigger is configured to receive an output control signal, a third input of the first trigger is configured to receive a driving signal, and an output of the first trigger is connected to the filter module;
in response to a voltage value of the analog voltage signal being larger than the voltage threshold, the voltage comparator is configured to output a high level, and in response to the voltage value of the analog voltage signal being smaller than the voltage threshold, the voltage comparator is configured to output a low level; and
in response to the driving signal being at a rising edge, the first trigger is configured to output a current level of the voltage comparator as a level of the digital voltage signal, and in response to the driving signal being at a falling edge, the first trigger is configured to keep the level of the digital voltage signal unchanged.

### Claim 7 (depends on 1)

The capacitance detection circuit according to claim 1, wherein the filter module comprises a counter and a second trigger, the comparison module is connected to an input of the counter, an output of the counter is connected to a first input of the second trigger, and a second input of the second trigger is configured to receive an output control signal;
wherein a driving terminal of the counter is configured to receive a driving signal, and in response to the driving signal being at a rising edge and the digital voltage signal being at a high level, the counter is configured to add 1 to a current count value; and
in response to the output control signal being at the rising edge, the second trigger is configured to output a count value of the counter as the value representing the capacitance of the capacitor to be detected.

### Claim 8 (depends on 2)

The capacitance detection circuit according to claim 2, wherein the charge transfer module comprises a logic controller and a charge output submodule, a first terminal of the logic controller is connected to the comparison module, and a second terminal of the logic controller is connected to the voltage conversion module through the charge output submodule;
wherein in response to the digital voltage signal being at the high level, the logic controller is configured to control the charge output submodule to output the negative charges with the preset charge amount to the voltage conversion module.

### Claim 9 (depends on 8)

The capacitance detection circuit according to claim 8, wherein the charge output submodule comprises a sixth switch, a seventh switch, an eighth switch, a ninth switch, a third power supply and a second reference capacitor;
wherein a first terminal of the sixth switch is connected to the voltage conversion module, a second terminal of the sixth switch is connected to a first terminal of the eighth switch, a second terminal of the eighth switch is grounded, a connection between the sixth switch and the eighth switch is connected to a first terminal of the second reference capacitor, a first terminal of the seventh switch is connected to the third power supply, a second terminal of the seventh switch is connected to a first terminal of the ninth switch, a second terminal of the ninth switch is grounded, and a connection between the seventh switch and the ninth switch is connected to a second terminal of the second reference capacitor;
a control terminal of the sixth switch, a control terminal of the seventh switch, a control terminal of the eighth switch and a control terminal of the ninth switch are respectively connected to the logic controller;
in response to the digital voltage signal being at a low level, the logic controller is configured to control the sixth switch and the ninth switch to be closed and control the seventh switch and the eighth switch to be opened; and
in response to the digital voltage signal being at the high level, the logic controller is configured to control the sixth switch and the ninth switch to be opened and control the seventh switch and the eighth switch to be closed.

### Claim 10 (depends on 1)

The capacitance detection circuit according to claim 1, wherein the capacitance detection circuit further comprises an extraction module; the capacitance control module is connected to the filter module through the extraction module;
wherein the extraction module is configured to output the digital voltage signal within a preset time period to the filter module.

### Claim 11 (depends on 10)

The capacitance detection circuit according to claim 10, wherein the extraction module is an AND circuit; a first input of the AND circuit is connected to the capacitance control module, and an output of the AND circuit is connected to the filter module;
wherein a second input terminal of the AND circuit is configured to receive an output control signal, and the preset time period is a duration of the output control signal at a high level in one cycle.

### Claim 12 (depends on 1)

A sensor, comprising the capacitance detection circuit according to claim 1.

### Claim 13

A chip, comprising a capacitance detection circuit, wherein the capacitance detection circuit comprises:
a capacitance control module, a charge conversion module and a filter module which are connected with each other;
wherein the capacitance control module is configured to control a capacitor to be detected to be charged and discharged for multiple times, and generate a digital voltage signal according to an amount of received charges; wherein the capacitor to be detected releases all stored charges after being charged to a preset voltage during each charge and discharge;
in response to the digital voltage signal being at a high level, the charge conversion module is configured to output negative charges with a preset charge amount to the capacitance control module, wherein the preset charge amount is greater than or equal to an amount of the stored charges when the capacitor to be detected is charged to the preset voltage; and
the filter module is configured to obtain a value representing a capacitance of the capacitor to be detected according to the digital voltage signal generated after the capacitor to be detected is charged and discharged for the multiple times.

### Claim 14 (depends on 13)

The chip according to claim 13, wherein the capacitance control module comprises a charge transfer module, a voltage conversion module and a comparison module which are connected in sequence; wherein the comparison module is connected to the filter module, and the charge conversion module is connected to the voltage conversion module;
wherein the charge transfer module is configured to control the capacitor to be detected to be charged and discharged for the multiple times, wherein the capacitor to be detected releases all the stored charges to the voltage conversion module after being charged to the preset voltage during each charge and discharge;
the voltage conversion module is configured to convert all the stored charges that are received into an analog voltage signal;
the comparison module is configured to output the digital voltage signal according to a preset voltage threshold and the analog voltage signal; and
in response to the digital voltage signal being at the high level, the charge conversion module is configured to output the negative charges with the preset charge amount to the voltage conversion module.

### Claim 15 (depends on 14)

The chip according to claim 14, wherein the charge transfer module comprises a first switch, a second switch and a first power supply;
wherein the first power supply is connected to a first terminal of the first switch, a second terminal of the first switch is connected to a first terminal of the second switch, a second terminal of the second switch is grounded, a connection between the first switch and the second switch is connected to a first terminal of the capacitor to be detected, a second terminal of the capacitor to be detected is connected to the voltage conversion module, and a control terminal of the first switch and a control terminal of the second switch are respectively configured to receive a driving signal;
in response to the driving signal, the first switch is configured to be closed when the capacitor to be detected is charged and be opened when the capacitor to be detected is discharged; and
in response to the driving signal, the second switch is configured to be opened when the capacitor to be detected is charged and be closed when the capacitor to be detected is discharged.

### Claim 16 (depends on 14)

The chip according to claim 14, wherein the charge transfer module comprises a third switch, a fourth switch and a second power supply;
wherein the second power supply is connected to a first terminal of the third switch, a second terminal of the third switch is connected to a first terminal of the fourth switch, a second terminal of the fourth switch is connected to the voltage conversion module, a connection between the third switch and the fourth switch is connected to a first terminal of the capacitor to be detected, a second terminal of the capacitor to be detected is grounded, and a control terminal of the third switch and a control terminal of the fourth switch are respectively configured to receive a driving signal;
in response to the driving signal, the third switch is configured to be opened when the capacitor to be detected is discharged and be closed when the capacitor to be detected is charged; and
in response to the driving signal, the fourth switch is configured to be closed when the capacitor to be detected is discharged and be opened when the capacitor to be detected is charged.

### Claim 17 (depends on 14)

The chip according to claim 14, wherein the voltage conversion module comprises an operational amplifier, a first reference capacitor and a fifth switch;
wherein the charge transfer module and the charge conversion module are respectively connected to an inverting input of the operational amplifier, a non-inverting input of the operational amplifier is grounded, two terminals of the first reference capacitor are respectively connected to the inverting input of the operational amplifier and an output of the operational amplifier, two terminals of the fifth switch are respectively connected to the two terminals of the first reference capacitor, and a control terminal of the fifth switch is configured to receive a reset signal; and
in response to the reset signal, the fifth switch is configured to keep closed within a preset duration before the charge transfer module controls the capacitor to be detected to be charged and discharged for the multiple times.

### Claim 18 (depends on 14)

The chip according to claim 14, wherein the comparison module comprises a voltage comparator and a first trigger;
wherein a non-inverting input of the voltage comparator is connected to the voltage conversion module, an inverting input of the voltage comparator is grounded, an output of the voltage comparator is connected to a first input of the first trigger, a second input of the first trigger is configured to receive an output control signal, a third input of the first trigger is configured to receive a driving signal, and an output of the first trigger is connected to the filter module;
in response to a voltage value of the analog voltage signal being larger than the voltage threshold, the voltage comparator is configured to output a high level, and in response to the voltage value of the analog voltage signal being smaller than the voltage threshold, the voltage comparator is configured to output a low level; and
in response to the driving signal being at a rising edge, the first trigger is configured to output a current level of the voltage comparator as a level of the digital voltage signal, and in response to the driving signal being at a falling edge, the first trigger is configured to keep the level of the digital voltage signal unchanged.

### Claim 19

An electronic device, comprising a capacitance detection circuit, wherein the capacitance detection circuit comprises:
a capacitance control module, a charge conversion module and a filter module which are connected with each other;
wherein the capacitance control module is configured to control a capacitor to be detected to be charged and discharged for multiple times, and generate a digital voltage signal according to an amount of received charges; wherein the capacitor to be detected releases all stored charges after being charged to a preset voltage during each charge and discharge;
in response to the digital voltage signal being at a high level, the charge conversion module is configured to output negative charges with a preset charge amount to the capacitance control module, wherein the preset charge amount is greater than or equal to an amount of the stored charges when the capacitor to be detected is charged to the preset voltage; and
the filter module is configured to obtain a value representing a capacitance of the capacitor to be detected according to the digital voltage signal generated after the capacitor to be detected is charged and discharged for the multiple times.

### Claim 20 (depends on 19)

The electronic device according to claim 19, wherein the electronic device further comprises a processor;
wherein the processor is configured to obtain the capacitance of the capacitor to be detected according to the value representing the capacitance of the capacitor to be detected output by the capacitance detection circuit.
