基于STM32的抗強光多點紅外觸摸屏的設(shè)計與實現(xiàn)
發(fā)布時間:2018-03-24 02:08
本文選題:多點觸摸 切入點:抗強光干擾 出處:《電子科技大學(xué)》2013年碩士論文
【摘要】:單點觸摸技術(shù)已經(jīng)不能滿足人們對工作、學(xué)習(xí)以及娛樂的要求,因此發(fā)展多點觸摸技術(shù)變得勢在必行。目前已經(jīng)有多種觸摸屏能夠?qū)崿F(xiàn)多點觸摸功能,且根據(jù)各自的技術(shù)特點而被應(yīng)用于不同的領(lǐng)域。紅外觸摸屏的發(fā)展已經(jīng)有幾十年歷史了,由于紅外屏沒有漂移現(xiàn)象,不受電流、電壓和靜電干擾,透光率好等優(yōu)點,已經(jīng)越來越受到人們的青睞,但是其存在的一些缺陷卻一直未被解決,例如抵抗環(huán)境光干擾的問題,因此也使紅外屏的應(yīng)用領(lǐng)域一直局限在環(huán)境光干擾較小的場合。本課題通過研究各種觸摸屏的工作原理和適用領(lǐng)域,特別是研究了紅外屏的工作原理和存在的一些缺陷,最終設(shè)計并開發(fā)了基于STM32芯片的抗強光多點紅外觸摸屏,并對設(shè)計方案進行了驗證。 本系統(tǒng)的硬件設(shè)計以STM32芯片為主控制器,通過控制邏輯芯片來實現(xiàn)紅外觸摸屏的矩陣掃描。信號采集部分通過電容與模擬開關(guān)構(gòu)成的高通濾波器來提高紅外屏抵抗環(huán)境光干擾的能力。選用高性能的運放芯片與數(shù)字電位器構(gòu)成程控增益放大器,一方面提高了紅外屏的使用壽命,另一方面也提高了紅外屏抵抗環(huán)境光干擾的能力。整個系統(tǒng)采用USB通信和供電,設(shè)備即插即用,支持XP和WIN7系統(tǒng),在WIN7系統(tǒng)下能直接實現(xiàn)多點觸摸功能。 系統(tǒng)在軟件設(shè)計上更是采用了多種方法來提高紅外屏的性能:采用一發(fā)兩收的思想和移動平均濾波器的方法來提高紅外屏的觸摸精度。提出了冗余設(shè)計思想來提高紅外屏的使用壽命。在實現(xiàn)真多點觸摸過程中,首先分析了不同觸摸點數(shù)時存在的偽點的情況,然后提出了采用斜掃描的方法來剔除偽點,最后從算法的角度闡述了怎樣剔除偽點,實現(xiàn)真正的多點觸摸。 本課題設(shè)計的紅外觸摸能實現(xiàn)真兩點觸摸,具有很高的抗光干擾能力,能抵抗50,000勒克斯(Lx)以上的太陽光干擾,完全適用于戶外環(huán)境。分辨率達到了4096*4096,而且觸摸精度小于5mm,,同時還具有較快的響應(yīng)時間,較長的使用壽命以及較低的成本,因此具有很高的工程意義和商業(yè)價值。
[Abstract]:Single-touch technology can no longer meet people's requirements for work, study and entertainment, so it is imperative to develop multi-touch technology. The infrared touch screen has been developed for several decades. Because the infrared screen has no drift phenomenon, it is not affected by current, voltage and electrostatic interference, and has good transmittance. Has become more and more popular, but some of its shortcomings have not been resolved, such as the problem of resisting environmental light interference. Therefore, the application field of infrared screen has been confined to the situation where the environmental light interference is small. This subject has studied the working principle and applicable field of various touch screens, especially the working principle and some defects of infrared screen. Finally, the multi-point infrared touch screen based on STM32 chip is designed and developed, and the design scheme is verified. The hardware of this system is designed with STM32 chip as the main controller. The matrix scan of infrared touch screen is realized by controlling logic chip. The signal acquisition part improves the ability of infrared screen to resist environmental light interference by high pass filter composed of capacitor and analog switch. Select high performance operational amplifier. The chip and the digital potentiometer constitute the programmable gain amplifier. On the one hand, it improves the service life of infrared screen, on the other hand, it also improves the ability of infrared screen to resist environmental light interference. The whole system adopts USB communication and power supply, equipment plug and play, support XP and WIN7 system, The function of multi-touch can be realized directly in WIN7 system. In software design, the system adopts many methods to improve the performance of infrared screen: the idea of "one send and two receiving" and the method of moving average filter are used to improve the touch accuracy of infrared screen. The idea of redundant design is put forward. Improve the service life of infrared screen. In the process of realizing true multi-touch, In this paper, the situation of pseudo points in different touch points is analyzed, then an oblique scanning method is proposed to eliminate pseudo points. Finally, from the point of view of algorithm, how to eliminate pseudo points and realize real multi point touch is expounded. The infrared touch designed in this paper can realize true two point touch, and has high ability of resisting light interference, and can resist the interference of sunlight above 50000 lux. It is fully suitable for outdoor environment. The resolution is 4096C 4096, and the touch precision is less than 5mm, and it also has fast response time, long service life and low cost, so it has high engineering significance and commercial value.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2013
【分類號】:TP334.3;TN219
【參考文獻】
相關(guān)期刊論文 前10條
1 王光明 ,張s
本文編號:1656213
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1656213.html
最近更新
教材專著