计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (28): 66-70.

• 研发、设计、测试 • 上一篇    下一篇

Android多点触摸屏输入系统的设计与实现

石  坚1,白瑞林1,邹骏宇2,马  涛1   

  1. 1.江南大学 轻工过程先进控制教育部重点实验室,江苏 无锡 214122
    2.无锡信捷电气有限公司,江苏 无锡 214072 
  • 出版日期:2012-10-01 发布日期:2012-09-29

Android multi-touch screen input system design and realization

SHI Jian1, BAI Ruilin1, ZOU Junyu2, MA Tao1   

  1. 1.Key Laboratory of Advanced Process Control for Light Industry(Ministry of Education), Jiangnan University, Wuxi, Jiangsu 214122, China
    2.Xinje Electronic Co., Ltd., Wuxi, Jiangsu 214072, China
  • Online:2012-10-01 Published:2012-09-29

摘要: 为了设计实用新型工业人机界面,提出了一种基于五点触摸校正和中位数均值滤波的Android多点触摸输入系统设计方法。采用五点触摸校正,根据触摸屏上采样的五个点,计算出校正系数,作为触屏校正参数;在mXT224控制器处理基础上,采用中位数均值阀限滤波,滤除触摸系统高斯噪声与尖峰噪声,并结合触摸校正参数校正输入坐标,逐级上传输入坐标信息,最终传递给上层应用程序。测试表明,基于优化的Android多点触摸输入系统在噪声很大环境下能够维持高信噪比(超过80∶1),并支持带手套或触笔触摸输入,反应时间小于10 ms,符合工业人机界面(HMI)设计要求。

关键词: android多点触摸屏, 校正, 信噪比(SNR), 人机界面(HMI)

Abstract: In order to design a new practical industrial human-machine interface, a touch input system design way based on a five-point touch calibration and a median average filter algorithm is proposed. The system uses a five-point touch calibration to calculate the correction factor based on a sampling of five points of the touch screen as a touch-screen calibration parameters; based on mXT224 controller, it utilizes the average median threshold way to filter white Gaussian noise and spike noise, and then effectively corrects calculation of multi-point input, step by step uploads input coordinate information, and ultimately passes information to the upper application. The tests show that the noisy environment based on the optimization of the Android multi-touch input system can maintain a high signal to noise ratio(over 80∶1), and support with gloves or a stylus to touch input with the response time of less than 10 ms, which is accorded with the industrial Human-Machine Interface(HMI) design requirements.

Key words: android multi-touch screen, calibration, Signal to Noise Ratio(SNR), Human-Machine Interface(HMI)