互電容觸控坐標(biāo)精確處理和上報(bào)算法
發(fā)布時(shí)間:2018-04-28 21:01
本文選題:互電容 + 觸控坐標(biāo) ; 參考:《電視技術(shù)》2016年10期
【摘要】:在觸控屏上用手指或觸控筆劃動(dòng)時(shí),由于手抖、噪聲及不穩(wěn)定的感應(yīng)信號(hào),觸控軌跡會(huì)產(chǎn)生不期望的震蕩,呈現(xiàn)出鋸齒波和曲線斷點(diǎn),導(dǎo)致用戶體驗(yàn)很差。針對(duì)此問(wèn)題,提出了一種基于互電容的觸控坐標(biāo)精確上報(bào)的處理算法。通過(guò)微控制器對(duì)觸控坐標(biāo)原始數(shù)據(jù)的處理,找到觸發(fā)時(shí)電容信號(hào)的相對(duì)變化峰值及高于閾值門限的等高線輪廓,再通過(guò)輪廓插值得到不規(guī)則多邊形,利用其頂點(diǎn)的凹凸性區(qū)分兩個(gè)或多個(gè)觸控點(diǎn),并計(jì)算多邊形的質(zhì)心,確定劃線標(biāo)識(shí),再通過(guò)線性二次指數(shù)平滑濾波后,實(shí)現(xiàn)了坐標(biāo)數(shù)據(jù)的精確上報(bào)。濾波后的坐標(biāo)軌跡視覺(jué)上更加平滑,結(jié)果表明該算法能消除曲線邊緣的鋸齒波及曲線斷點(diǎn),成功地處理觸控信息。
[Abstract]:When touching with fingers or touch strokes on the touch screen, due to the shaking of the hand, noise and unstable induction signal, the touch track will produce unwanted vibration, showing sawtooth waves and curve breakpoints, resulting in poor user experience. In order to solve this problem, an algorithm for accurate reporting of touch coordinates based on mutual capacitance is proposed. Through the processing of the original data of touch coordinates by the microcontroller, the peak value of the relative change of the capacitance signal and the contour contour above the threshold value of the trigger are found, and the irregular polygon is obtained by interpolation of the contours. By using the concavity and convexity of its vertices, two or more touch points are distinguished, the centroid of polygon is calculated, the marking is determined, and the coordinate data is accurately reported through linear quadratic exponential smoothing filtering. The results show that the proposed algorithm can eliminate the sawtooth and curve breakpoints at the edge of the curve and process the touch information successfully.
【作者單位】: 中國(guó)科學(xué)院上海高等研究院;中國(guó)科學(xué)院大學(xué);上海磐啟微電子有限公司;
【分類號(hào)】:TN873;TP301.6
,
本文編號(hào):1816846
本文鏈接:http://sikaile.net/kejilunwen/xinxigongchenglunwen/1816846.html
最近更新
教材專著