# US 12,026,318 B2 · Method and apparatus for determining pressure reference value, and 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 12,026,318 B2
- Document ID: US12026318B2
- Status: Granted
- Kind: B2
- Application number: 17/495,501
- Filed: 2021-10-06
- Published: 2022-08-11
- Granted: 2024-07-02
- Earliest claimed: 2021-02-05
- Assignees: Shenzhen Goodix Technology Co., Ltd.
- Applicants: Shenzhen Goodix Technology Co., Ltd.
- Inventors: Haijun Wei
- Web page: https://patentgrep.com/patent/US12026318B2

## CPC

- G01L 19/04: Means for compensating for effects of changes of temperature {, i.e. other than electric compensation}
- G06F 3/017: {Gesture based interaction, e.g. based on a set of recognized hand gestures (interaction based on gestures traced on a digitiser G06F3/04883)}
- A61B 5/00: Measuring for diagnostic purposes (radiation diagnosis A61B6/00; diagnosis by ultrasonic, sonic or infrasonic waves A61B8/00); Identification of persons
- G01L 5/00: Apparatus for, or methods of, measuring force, work, mechanical power, or torque, specially adapted for specific purposes
- G06F 3/03547: {Touch pads, in which fingers can move on a surface}
- G06F 3/038: Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- H03K 17/967: having a plurality of control members, e.g. keyboard (H03K17/969, H03K17/972, H03K17/98 take precedence)
- H03K 2217/9651: the moving element acting on a force, e.g. pressure sensitive element
- H03K 2217/9658: Safety, e.g. fail-safe switching requiring a sequence of movements
- G01L: MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE (weighing G01G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- A61B: DIAGNOSIS; SURGERY; IDENTIFICATION (usefulness limited to only animals A61D)
- 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

Embodiments of the present disclosure provide a method and apparatus for determining a pressure reference value, and a chip and an electronic device. The method includes: consecutively acquiring N pressure signals by a pressure sensor; acquiring consecutive N pressure values on the basis of the N pressure signals; and determining a latest pressure reference value on the basis of the consecutive N pressure values and time characteristics of the consecutively acquired N pressure signals; wherein each of the pressure values is a difference between a sampling value corresponding to a pressure signal and the pressure reference value, and the consecutively acquired N pressure signals are acquired within a duration where a pressure is applied to the pressure sensor once, N being a positive integer greater than 0.

## Claims

### Claim 1

A method for determining a pressure reference value, comprising:
consecutively acquiring N pressure signals by a pressure sensor;
acquiring consecutive N pressure values on the basis of the N pressure signals; and
determining a latest pressure reference value on the basis of the consecutive N pressure values and time characteristics of the consecutively acquired N pressure signals for replacing a current pressure reference value;
wherein each of the pressure values is a difference between a sampling value corresponding to a pressure signal and the current pressure reference value, and the consecutively acquired N pressure signals are acquired within a duration in which a pressure is applied to the pressure sensor once, N being a positive integer greater than 0,
wherein determining the latest pressure reference value on the basis of the consecutive N pressure values and the time characteristics of the consecutively acquired N pressure signals for replacing the current pressure reference value comprises:
identifying a magnitude relationship between an i-th pressure value and a first pressure threshold and/or a second pressure threshold, wherein the first pressure threshold is used to indicate whether the pressure sensor is subjected to a positive pressure from outside to inside, and the second pressure threshold is used to indicate whether the pressure sensor is subjected to a negative pressure from inside to outside; and
updating a positive pressure time T1i according to T1i=T1i−1+predetermined time length in response to the i-th pressure value being greater than the first pressure threshold, wherein the positive pressure time T1i is used to indicate a duration in which the pressure signal is at a positive pressure; and determining a sampling value corresponding to the i-th pressure value as the latest pressure reference value in response to the positive pressure time T1i being greater than a first time threshold for replacing the current pressure reference value, or
updating a negative pressure time T2i according to T2i=T2i−1+predetermined time length in response to the i-th pressure value being less than the second pressure threshold, wherein the negative pressure time T2i is used to indicate a duration in which the pressure signal is at a negative pressure; and determining a sampling value corresponding to the i-th pressure value as the latest pressure reference value in response to the negative pressure time T2i being greater than a second time threshold for replacing the current pressure reference value;
wherein i is a positive integer greater than 0 and less than or equal to N.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
determining the current pressure reference value as the latest pressure reference value in response to the positive pressure time T1i being less than or equal to the first time threshold; or
determining the current pressure reference value as the latest pressure reference value in response to the negative pressure time T2i being less than or equal to the second time threshold.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
updating a no-pressure time T3i according to T3i=T3i−1+predetermined time length in response to the i-th pressure value being greater than or equal to the second pressure threshold and less than or equal to the first pressure threshold, wherein the no-pressure time T3i is used to indicate a duration in which the pressure sensor is subjected to no pressure; and
determining the latest pressure reference value according to a filter function in response to the no-pressure time T3i being greater than a third time threshold for replacing the current pressure reference value, or
determining the current pressure reference value as the latest pressure reference value in response to the no-pressure time T3i being less than or equal to the third time threshold.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the filter function is Bi+1=K*R+(1−K)*Bi, wherein Bi+1 represents the latest pressure reference value, Bi represents the pressure reference value, K represents a filter coefficient in an infinite impulse response IIR filter algorithm, and R represents the i-th pressure value.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the predetermined time length is a sampling cycle for the pressure sensor.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the first time threshold is in a range of 5 s to 10 s, and the second time threshold is less than or equal to the first time threshold.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the first time threshold is in a range of 8 s to 10 s, and/or the second time threshold is 3 s.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the first pressure threshold is a pressure value corresponding to a weight of 150 g, and the second pressure threshold is a pressure value corresponding to a weight of −150 g.

### Claim 9 (depends on 1)

A chip, comprising a processor configured to call and execute a computer program from a memory to perform the method according to claim 1.

### Claim 10

An apparatus for determining a pressure reference value, applicable to an electronic device equipped with a pressure sensor, comprising:
a processor and a memory, wherein the memory is configured to store a computer program, and the processor is configured to, when calling and running the computer program stored in the memory, perform operations of:
consecutively acquiring N pressure signals by the pressure sensor, and acquiring consecutive N pressure values on the basis of the N pressure signals; and
determining a latest pressure reference value on the basis of the consecutive N pressure values and time characteristics of the consecutively acquired N pressure signals for replacing a current pressure reference value;
wherein each of the pressure values is a difference between a sampling value corresponding to a pressure signal and the current pressure reference value, and the consecutively acquired N pressure signals are acquired within a duration in which a pressure is applied to the pressure sensor once, N being a positive integer greater than 0
wherein determining the latest pressure reference value on the basis of the consecutive N pressure values and the time characteristics of the consecutively acquired N pressure signals for replacing the current pressure reference value comprises:
identifying a magnitude relationship between an i-th pressure value and a first pressure threshold and/or a second pressure threshold, wherein the first pressure threshold is used to indicate whether the pressure sensor is subjected to a positive pressure from outside to inside, and the second pressure threshold is used to indicate whether the pressure sensor is subjected to a negative pressure from inside to outside; and
updating a positive pressure time T1i according to T1i=Ti−1+predetermined time length in response to the i-th pressure value being greater than the first pressure threshold, wherein the positive pressure time T1i is used to indicate a duration in which the pressure signal is at a positive pressure; and determining a sampling value corresponding to the i-th pressure value as the latest pressure reference value in response to the positive pressure time T1i being greater than a first time threshold for replacing the current pressure reference value, or
updating a negative pressure time T2i according to T2i=T2i−1+predetermined time length in response to the i-th pressure value being less than the second pressure threshold, wherein the negative pressure time T2i is used to indicate a duration in which the pressure signal is at a negative pressure; and determining a sampling value corresponding to the i-th pressure value as the latest pressure reference value in response to the negative pressure time T2i being greater than a second time threshold for replacing the current pressure reference value;
wherein i is a positive integer greater than 0 and less than or equal to N.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to, when calling and running the computer program stored in the memory, perform operations of:
determining the current pressure reference value as the latest pressure reference value in response to the positive pressure time T1i being less than or equal to the first time threshold; or
determining the current pressure reference value as the latest pressure reference value in response to the negative pressure time T2i being less than or equal to the second time threshold.

### Claim 12 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to, when calling and running the computer program stored in the memory, perform operations of:
updating a no-pressure time T3i according to T3i=T3i−1+predetermined time length in response to the i-th pressure value being greater than or equal to the second pressure threshold and less than or equal to the first pressure threshold, wherein the no-pressure time T3i is used to indicate a duration in which the pressure sensor is subjected to no pressure; and
determining the latest pressure reference value according to a filter function in response to the no-pressure time T3i being greater than a third time threshold for replacing the current pressure reference value, or
determining the current pressure reference value as the latest pressure reference value in response to the no-pressure time T3i being less than or equal to the third time threshold.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the filter function is Bi+1=K*R+(1−K)*Bi, wherein Bin represents the latest pressure reference value, Bi represents the pressure reference value corresponding to the i-th pressure value, K represents a filter coefficient in an infinite impulse response IIR filter algorithm, and R represents the i-th pressure value.

### Claim 14 (depends on 10)

The apparatus according to claim 10, wherein the predetermined time length is a sampling cycle for the pressure sensor.

### Claim 15 (depends on 10)

The apparatus according to claim 10, wherein the first time threshold is in a range of 5 s to 10 s, and/or the second time threshold is less than or equal to the first time threshold.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the first time threshold is in a range of 8 s to 10 s, and/or the second time threshold is 3 s.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein the first pressure threshold is a pressure value corresponding to a weight of 150 g, and the second pressure threshold is a pressure value corresponding to a weight of −150 g.

### Claim 18

An electronic device, comprising a pressure sensor and an apparatus, wherein the electronic device provides a human-computer interaction gesture interface for a user, and the electronic device is configured to identify, based on a pressure signal, a gesture operation of the user on the interface, the apparatus comprises: a processor configured to call and run a program unit from a memory; to perform operations of:
consecutively acquiring N pressure signals by a pressure sensor, and acquiring consecutive N pressure values on the basis of the N pressure signals; and
determining a latest pressure reference value on the basis of the consecutive N pressure values and time characteristics of the consecutively acquired N pressure signals for replacing a current pressure reference value;
wherein each of the pressure values is a difference between a sampling value corresponding to a pressure signal and the current pressure reference value, and the consecutively acquired N pressure signals are acquired within a duration in which a pressure is applied to the pressure sensor once, N being a positive integer greater than 0,
wherein determining the latest pressure reference value on the basis of the consecutive N pressure values and the time characteristics of the consecutively acquired N pressure signals for replacing the current pressure reference value comprises:
identifying a magnitude relationship between an i-th pressure value and a first pressure threshold and/or a second pressure threshold, wherein the first pressure threshold is used to indicate whether the pressure sensor is subjected to a positive pressure from outside to inside, and the second pressure threshold is used to indicate whether the pressure sensor is subjected to a negative pressure from inside to outside; and
updating a positive pressure time T1i according to T1i=T1i−1+predetermined time length in response to the i-th pressure value being greater than the first pressure threshold, wherein the positive pressure time T1i is used to indicate a duration in which the pressure signal is at a positive pressure; and determining a sampling value corresponding to the i-th pressure value as the latest pressure reference value in response to the positive pressure time T1i being greater than a first time threshold for replacing the current pressure reference value, or
updating a negative pressure time T2i according to T2i=T2i−1+predetermined time length in response to the i-th pressure value being less than the second pressure threshold, wherein the negative pressure time T2i is used to indicate a duration in which the pressure signal is at a negative pressure; and determining a sampling value corresponding to the i-th pressure value as the latest pressure reference value in response to the negative pressure time T2i being greater than a second time threshold for replacing the current pressure reference value;
wherein i is a positive integer greater than 0 and less than or equal to N.
