摘要
通过对智能手机距离传感器的驱动工作流程和工厂校准方案的剖析,提出一种在距离传感器的驱动层代码中添加快速校准方案,使距离传感器的性能进一步得到优化,可有效解决智能手机距离传感器在有外部因素影响距离传感数据的情况下检测失效的问题,提高驱动层上报物体状态值的可靠性。通过实验验证上述方案有效,能够解决距离传感器检测失效问题。
Based on the analysis of the the driving work process and the factory calibration method for the distance sensor of smart phone,a kind of fast calibration method is proposed.The fast calibration method is added to the driver layer.It can further optimize the data of the distance sensor to solve the problem of the proximity sensor detection failure under the influence of external factors.It can also improve the reliability of the object’s state value reported by the driving layer.The test results show that the above method is effective,which can solve the problem of the proximity sensor detection failure.
作者
刘新源
Liu Xinyuan(College of Applied Engineering,Henan University of Science and Technology,Sanmenxia 472000,China;Sanmenxia Polytechnic,Sanmenxia 472000,China)
出处
《安徽电子信息职业技术学院学报》
2022年第3期7-10,24,共5页
Journal of Anhui Vocational College of Electronics & Information Technology
基金
2022年河南省高等学校重点科研项目(22B413007)。
关键词
距离传感器
工厂校准
快速校准
检测失效
驱动层
distance sensor
factory calibration
fast calibration
detection failure
driver layer