天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于STM32和FPGA的光學(xué)多點(diǎn)觸摸屏的設(shè)計(jì)與實(shí)現(xiàn)

發(fā)布時(shí)間:2019-04-23 11:56
【摘要】:隨著社會(huì)的發(fā)展和科學(xué)技術(shù)的創(chuàng)新,人們對(duì)于人機(jī)交互的要求越來(lái)越高,傳統(tǒng)的鼠標(biāo),鍵盤(pán)等交互方式甚至于單點(diǎn)觸摸已經(jīng)不能滿(mǎn)足用戶(hù),在這樣的情況下,多點(diǎn)觸摸技術(shù)應(yīng)運(yùn)而生。多點(diǎn)觸摸技術(shù)是在單點(diǎn)觸摸的基礎(chǔ)上發(fā)展而來(lái)的,該技術(shù)可以使用戶(hù)可同時(shí)控制的操作點(diǎn)擴(kuò)展到多個(gè),甚至多個(gè)用戶(hù)同時(shí)使用。它使得操作更靈活,給用戶(hù)帶來(lái)一種前所未有的體驗(yàn)。 本文研究了一種基于STM32單片機(jī)多點(diǎn)觸摸的設(shè)計(jì)方法,對(duì)實(shí)現(xiàn)多點(diǎn)觸摸的坐標(biāo)運(yùn)算,HID設(shè)備通信等關(guān)鍵內(nèi)容進(jìn)行了研究,并在FPGA上實(shí)現(xiàn)CORDIC算法,為坐標(biāo)運(yùn)算打下了基礎(chǔ)。主要研究?jī)?nèi)容有以下幾個(gè)方面: (1)采用成本比較低的數(shù)字圖像傳感器CMOS作為圖像采集器件,利用攝像頭交匯定位原理推導(dǎo)出坐標(biāo)運(yùn)算的公式,從而進(jìn)行坐標(biāo)運(yùn)算的算法設(shè)計(jì),對(duì)觸摸點(diǎn)進(jìn)行準(zhǔn)確的定位,并在STM32單片機(jī)上實(shí)現(xiàn)。 (2)深入研究了CORDIC算法的原理,并對(duì)傳統(tǒng)的CORDIC算法進(jìn)行了改進(jìn),在此基礎(chǔ)上利用FPGA實(shí)現(xiàn)了正弦函數(shù)與反正切函數(shù)的計(jì)算,此后對(duì)改進(jìn)的算法進(jìn)行仿真和結(jié)果的誤差分析,協(xié)助STM32單片機(jī)進(jìn)行觸摸坐標(biāo)的運(yùn)算。 (3)利用STM32芯片進(jìn)行USB接口電路的設(shè)計(jì),研究了HID類(lèi)設(shè)備的USB協(xié)議,包括USB設(shè)備的描述符、枚舉過(guò)程等,同時(shí)研究關(guān)于多點(diǎn)觸摸的微軟白皮書(shū)。在STM32單片機(jī)上實(shí)現(xiàn)USB的編碼測(cè)試,并進(jìn)行實(shí)驗(yàn)驗(yàn)證。將STM32單片機(jī)模擬成HID多點(diǎn)觸摸設(shè)備,搭載Windows系統(tǒng)的上位機(jī)進(jìn)行通信,將觸摸點(diǎn)信息傳給Windows操作系統(tǒng),以便Windows系統(tǒng)執(zhí)行下一步操作。 本文所設(shè)計(jì)的觸摸屏系統(tǒng)硬件成本低,,在尺寸需求增大的情況下成本增幅不大,因此在大尺寸觸摸屏上體現(xiàn)出來(lái)的性?xún)r(jià)比就比較高,并且在Window系統(tǒng)中能夠?qū)崿F(xiàn)即插即用,非常方便,具有一定的實(shí)用價(jià)值。
[Abstract]:With the development of society and the innovation of science and technology, people have higher and higher requirements for human-computer interaction. Traditional interactive methods such as mouse, keyboard and even single-point touch can not satisfy the user, under such circumstances, Multi-touch technology emerges as the times require. Multi-touch technology is developed on the basis of single point of touch. This technology can extend the operation points that users can control at the same time to multiple or even multiple users at the same time. It makes operations more flexible and gives users an unprecedented experience. In this paper, a design method of multi-touch based on STM32 single-chip microcomputer is studied. The key contents such as coordinate operation of multi-touch and communication of HID equipment are studied, and CORDIC algorithm is realized on FPGA, which lays a foundation for coordinate operation. The main research contents are as follows: (1) the digital image sensor CMOS, which has low cost, is used as the image acquisition device, and the formula of coordinate operation is deduced by using the principle of camera intersection and positioning. As a result, the algorithm of coordinate operation is designed, the touch point is located accurately, and it is realized on STM32 single chip microcomputer. (2) the principle of CORDIC algorithm is deeply studied, and the traditional CORDIC algorithm is improved. On this basis, the calculation of sine function and anti-tangent function is realized by FPGA. After that, the improved algorithm is simulated and the error analysis of the results is made. Assist STM32 single-chip microcomputer in the operation of touch coordinates. (3) the USB interface circuit is designed by using STM32 chip. The USB protocol of HID device is studied, including the descriptor of USB device, enumerating process and so on. At the same time, the Microsoft white paper about multi-touch is studied. The coding test of USB is realized on STM32 single chip computer, and the experiment is carried out. The STM32 single chip microcomputer is simulated as a HID multi-touch device, the upper computer with Windows system is used to communicate, and the touch point information is transmitted to the Windows operating system, so that the Windows system can perform the next operation. The hardware cost of the touch screen system designed in this paper is low, and the cost increase is not big when the size demand increases. Therefore, the ratio of price to performance on the large size touch screen is relatively high, and the plug and play can be realized in the Window system. It is very convenient and has certain practical value.
【學(xué)位授予單位】:華南理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類(lèi)號(hào)】:TP334.3

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 詹克團(tuán),侯國(guó)志,呂鐵良,袁國(guó)順;USB HID類(lèi)設(shè)備的開(kāi)發(fā)[J];電測(cè)與儀表;2004年05期

2 梁芳;;反正切函數(shù)的VHDL實(shí)現(xiàn)[J];電腦知識(shí)與技術(shù);2010年29期

3 鄭贊;;觸摸屏多點(diǎn)觸摸技術(shù)揭秘[J];電子產(chǎn)品世界;2008年11期

4 李滔,韓月秋;基于流水線CORDIC算法的三角函數(shù)發(fā)生器[J];電子技術(shù)應(yīng)用;1999年06期

5 李全;;浮點(diǎn)反正切函數(shù)的FPGA實(shí)現(xiàn)[J];電子技術(shù)應(yīng)用;2010年08期

6 王德鑫;張茂軍;;四路攝像頭分組重建的多觸點(diǎn)定位方法[J];電子與信息學(xué)報(bào);2010年02期

7 扶文樹(shù);何軍;陸信如;;USB HID數(shù)據(jù)通信接口的設(shè)計(jì)與實(shí)現(xiàn)[J];工業(yè)控制計(jì)算機(jī);2009年02期

8 李鈞;谷靈康;;基于MCU的紅外多點(diǎn)觸摸屏設(shè)計(jì)[J];電腦知識(shí)與技術(shù);2012年19期

9 夏樹(shù)茂;溫浩;;對(duì)四攝像頭觸摸屏光學(xué)和定位上的改進(jìn)[J];工業(yè)控制計(jì)算機(jī);2012年06期

10 周亦鵬;;雙目視覺(jué)技術(shù)在計(jì)算機(jī)輔助檢測(cè)中的應(yīng)用研究[J];計(jì)算機(jī)測(cè)量與控制;2008年05期



本文編號(hào):2463443

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2463443.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶(hù)e0203***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com