Proximity sensor calibration method, electronic device, and computer-readable storage medium

A technology of proximity sensor and calibration method, applied in the direction of instruments, geophysical measurement, etc., can solve the problems of inaccurate approach and distance detected by proximity sensor, flickering screen of electronic devices, etc., to eliminate flickering screen, eliminate judgment errors, and improve accuracy. sexual effect

Active Publication Date: 2021-04-06
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF17 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present application provide a proximity sensor calibration method, an electronic device, and a computer-readable storage medium, which can calibrate the proximity sensor by obtaining the proximity sensor value acquired by the proximity sensor when the infrared light is turned off, and solve the problem of proximity and proximity detected by the proximity sensor. Stay away from inaccuracies that cause flickering screens on electronic devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Proximity sensor calibration method, electronic device, and computer-readable storage medium
  • Proximity sensor calibration method, electronic device, and computer-readable storage medium
  • Proximity sensor calibration method, electronic device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0024] see figure 1 , is a schematic flowchart of a method for calibrating a proximity sensor provided by an embodiment of the present application. The method can be applied in an electronic device, and the electronic device can specifically be a mobile terminal provided with a proximity sensor, such as a mobile phone, a tablet computer, or a wearable d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the present application provides a proximity sensor calibration method, an electronic device, and a computer-readable storage medium, which relate to the technical field of mobile terminals, wherein the method includes: when the infrared light of the proximity sensor is turned off, acquiring multiple continuous proximity sensor values, according Calculate the calibration reference value of the proximity sensor for the plurality of continuous proximity sensor values, and if the calibration reference value is greater than the first value, confirm whether the calibration reference value and the plurality of continuous proximity sensor values ​​meet the calibration trigger condition, if If the calibration trigger condition is met, the proximity threshold of the proximity sensor is increased by a second value. The application can improve the accuracy of proximity sensor sensing.

Description

technical field [0001] The present application relates to the technical field of mobile terminals, and in particular to a method for calibrating a proximity sensor, an electronic device, and a computer-readable storage medium. Background technique [0002] The proximity sensor (PS, Proximity sensor) judges the distance by emitting and receiving infrared light, and judges the approach and distance of the obstruction according to the change of the infrared energy reflected back by the obstruction. However, it is easily affected by sunlight and infrared interference from various indoor light sources, causing the value of the proximity sensor to jump, and there is a risk of misjudgment. [0003] In the prior art, the environmental infrared filtering mechanism is generally set on the mobile phone chip, but this filtering mechanism can only filter out the stable infrared interference in the environment. If the infrared light in the environment is changing, the infrared filtering ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G01D18/00G01V13/00
Inventor 郭富豪
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products