# US 2022/0039025 A1 · Method and apparatus for detecting state of proximity sensor, terminal and non-transitory computer-readable storage medium

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

- Number: US 2022/0039025 A1
- Document ID: US20220039025A1
- Status: Published application
- Kind: A1
- Application number: 17/211,790
- Filed: 2021-03-24
- Published: 2022-02-03
- Earliest claimed: 2020-07-29
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Hua ZHANG; Cong PENG; Yaqi LIU; Liping WANG; Xin LIU
- Web page: https://patentgrep.com/patent/US20220039025A1

## CPC

- H03K 17/955: using a capacitive detector
- H04W 52/18: TPC being performed according to specific parameters
- G08B 21/18: Status alarms (G08B21/02 takes precedence)
- H04B 1/3838: {Arrangements for reducing RF exposure to the user, e.g. by changing the shape of the transceiver while in use}
- H04B 17/10: of transmitters
- H04W 52/283: {Power depending on the position of the mobile}
- H03K 2217/960705: Safety of capacitive touch and proximity switches, e.g. increasing reliability, fail-safe
- 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)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G08B: SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- H04B: TRANSMISSION

## Abstract

A method for detecting the state of the proximity sensor, applied to a terminal including the proximity sensor and an antenna, includes: sending a predetermined instruction to the proximity sensor; determining whether the proximity sensor is abnormal based on a feedback result of the proximity sensor to the predetermined instruction; and maintaining the antenna transmitting power at a low power if the proximity sensor is abnormal. Through the feedback of the proximity sensor to the request to obtain the capacitance value, it is determined whether the proximity sensor can work normally, and in a case that the proximity sensor cannot work normally, the antenna transmitting power is reduced to avoid the continuous high antenna transmitting power due to the inability of the proximity sensor to work normally, which reduces the radiation to the human body.

## Claims

### Claim 1

A method for detecting a state of a proximity sensor, applied to a terminal comprising the proximity sensor and an antenna, the method comprising:
sending a predetermined instruction to the proximity sensor;
determining whether the proximity sensor is abnormal based on a feedback result of the proximity sensor to the predetermined instruction; and
maintaining transmitting power of the antenna at a reduced power when the proximity sensor is abnormal.

### Claim 2 (depends on 1)

The method for detecting the state of the proximity sensor according to claim 1, wherein
the predetermined instruction comprises a capacitance value detection instruction for enabling the proximity sensor to detect a background capacitance value of a background circuit, wherein the background circuit at least includes the proximity sensor; and
the determining whether the proximity sensor is abnormal based on the feedback result of the proximity sensor to the predetermined instruction comprises: when the background capacitance value sent by the proximity sensor in response to the capacitance value detection instruction is received, determining whether an absolute value of difference between the background capacitance value and a standard value is greater than or equal to a deviation threshold; and when the absolute value of the difference between the background capacitance value and the standard value is greater than or equal to the deviation threshold, determining that the proximity sensor is abnormal.

### Claim 3 (depends on 2)

The method for detecting the state of the proximity sensor according to claim 2, wherein the determining whether the proximity sensor is abnormal based on the feedback result of the proximity sensor to the predetermined instruction comprises:
when the absolute value of the difference between the background capacitance value and the standard value is less than the deviation threshold, enabling the antenna to adjust the transmitting power in real time based on a sensing signal of the proximity sensor.

### Claim 4 (depends on 3)

The method for detecting the state of the proximity sensor according to claim 3, wherein the enabling the antenna to adjust the transmitting power in real time based on the signal of the proximity sensor comprises:
sending a first instruction to a modem, such that the modem receives the sensing signal of the proximity sensor, and controls the antenna transmitting power in real time based on the sensing signal.

### Claim 5 (depends on 1)

The method for detecting the state of the proximity sensor according to claim 1, wherein the determining whether the proximity sensor is abnormal based on the feedback result of the proximity sensor comprises:
when a response of the proximity sensor is not received, determining that the proximity sensor is abnormal.

### Claim 6 (depends on 5)

The method for detecting the state of the proximity sensor according to claim 5, wherein the predetermined instruction comprises a communication state detection instruction; and
the sending the predetermined instruction to the proximity sensor comprises: sending the communication state detection instruction to the proximity sensor periodically when the terminal is turned on and/or after the terminal is turned on.

### Claim 7 (depends on 1)

The method for detecting the state of the proximity sensor according to claim 1, wherein the maintaining the antenna transmitting power at the reduced power comprises:
sending a second instruction to the modem, such that the modem controls the antenna transmitting power to maintain a low power, wherein the low power is an antenna transmitting power corresponding to a shortest distance between a human body and the terminal.

### Claim 8 (depends on 1)

The method for detecting the state of the proximity sensor according to claim 1, wherein in a case that the proximity sensor is abnormal, the method further comprises:
sending alarm information through the terminal.

### Claim 9 (depends on 2)

The method for detecting the state of the proximity sensor according to claim 2, wherein the background circuit is a circuit on a circuit board on which the proximity sensor is mounted.

### Claim 10

An apparatus for detecting a state of a proximity sensor, applied to a terminal comprising the proximity sensor and an antenna, the apparatus comprising:
a predetermined instruction sending circuit, configured to send a predetermined instruction to the proximity sensor; and
a processing circuit, configured to determine whether the proximity sensor is abnormal based on a feedback result of the proximity sensor to the predetermined instruction; and maintain the antenna transmitting power at a reduced power when the proximity sensor is abnormal.

### Claim 11 (depends on 10)

The apparatus for detecting the state of the proximity sensor according to claim 10, wherein the predetermined instruction comprises a capacitance value detection instruction for enabling the proximity sensor to detect a background capacitance value of a background circuit, wherein the background circuit at least includes the proximity sensor;
the apparatus for detecting the state of the proximity sensor further comprises: a receiver configured to receive the background capacitance value sent by the proximity sensor in response to the capacitance value detection instruction; and
the processing circuit is further configured to determine that the proximity sensor is abnormal when an absolute value of difference between the background capacitance value and a standard value is greater than or equal to a deviation threshold.

### Claim 12 (depends on 11)

The apparatus for detecting the state of the proximity sensor according to claim 11, wherein the processing circuit is further configured to: when the absolute value of the difference between the background capacitance value and the standard value is less than the deviation threshold, enable the antenna to adjust the transmitting power in real time based on a sensing signal of the proximity sensor.

### Claim 13 (depends on 12)

The apparatus for detecting the state of the proximity sensor according to claim 12, wherein the apparatus further comprises a first sending circuit, and the processing circuit is configured to send a first instruction to a modem through the first sending circuit, such that the modem receives the sensing signal of the proximity sensor, and controls the antenna transmitting power in real time based on the sensing signal.

### Claim 14 (depends on 10)

The apparatus for detecting the state of the proximity sensor according to claim 10, wherein the processing circuit is further configured to:
when a response of the proximity sensor is not received, determine that the proximity sensor is abnormal.

### Claim 15 (depends on 14)

The apparatus for detecting the state of the proximity sensor according to claim 14, wherein the predetermined instruction comprises a communication state detection instruction; and
the predetermined instruction sending circuit is further configured to: send the communication state detection instruction to the proximity sensor periodically when the terminal is turned on and/or after the terminal is turned on.

### Claim 16 (depends on 10)

The apparatus for detecting the state of the proximity sensor according to claim 10, wherein the apparatus further comprises a second sending circuit, and the processing circuit is configured to send a second instruction to the modem through the second sending circuit, such that the modem controls the antenna transmitting power to maintain a low power, wherein the low power is an antenna transmitting power corresponding to the shortest distance between a human body and the terminal.

### Claim 17 (depends on 10)

The apparatus for detecting the state of the proximity sensor according to claim 10, wherein the apparatus further comprises:
an alarm circuit, configured to send alarm information through the terminal when the proximity sensor is abnormal.

### Claim 18 (depends on 11)

The apparatus for detecting the state of the proximity sensor according to claim 11, wherein the background circuit is a circuit on a circuit board on which the proximity sensor is mounted.

### Claim 19 (depends on 1)

A terminal implementing the method of claim 1, comprising:
a processor; and
memory for storing processor-executable instructions,
wherein the processor is configured to execute steps of the method.

### Claim 20 (depends on 19)

The terminal according to claim 19, wherein the terminal is configured to:
determine, based on the feedback result of the proximity sensor to a request to obtain a capacitance value, whether the proximity sensor is capable of functioning normally; and
in response to that the proximity sensor is not capable of functioning normally, reduce the antenna transmitting power to avoid a continuous high antenna transmitting power resulting from the proximity sensor not capable of functioning normally, thereby reducing radiation to a user.
