Infrared proximity sensing method, device and equipment based on self-calibration and storage medium
The embodiment of the invention discloses an infrared proximity sensing method and device based on self-calibration, equipment and a storage medium. The method comprises the following steps: performing proximity detection based on an infrared proximity sensor according to a preset time interval to o...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
08.04.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The embodiment of the invention discloses an infrared proximity sensing method and device based on self-calibration, equipment and a storage medium. The method comprises the following steps: performing proximity detection based on an infrared proximity sensor according to a preset time interval to obtain a plurality of proximity sensing values; accumulating the proximity induction values according to a preset period to obtain an accumulated value, and calculating according to the accumulated value to obtain an average induction value; taking the average induction value as a reference threshold value of each approaching detection in the next period; and determining an infrared proximity sensing result based on the current proximity sensing value and a reference threshold value corresponding to the current period. According to the scheme, self-calibration of the infrared proximity induction threshold value can be realized, and the detection induction accuracy is improved.
本发明实施例公开了一种基于自校准的红外接近感应方法、装置、设备和存储介质。该方 |
---|---|
Bibliography: | Application Number: CN202111552480 |