基于FPGA的TFT触摸屏显示与控制系统的设计
发布时间:2019-01-02 07:20
【摘要】:随着技术的不断进步,在计算机及相关设备中,触摸屏开始逐渐取代鼠标-键盘等传统输入设备成为主流的人机交互方式。自苹果公司发布iPhone和iPad系列产品之后,触摸屏技术开始日益成熟。触摸屏以其快捷的操作方式、灵敏的反应速度、简洁的设计风格等众多优点开始在工业和生活中迅速普及。本文是基于FPGA技术实现的TFT触摸屏的显示和控制系统。选用Altera公司提供的DE0做为开发平台,硬件主控FPGA芯片为平台上飓风III EP3C16F484C6,通过DE0上GPIO口外接四线电阻式触摸屏,然后采用SOPC进行软硬件协同设计。在硬件方面对基本的硬件资源、ILI9325、ADS7843和SD卡各个端口的功能、特点和工作模式做了分析,并在SOPC Builder中对各个端口的详细配置做了说明。在软件驱动方面,使用C语言着手编写了ILI9325、ADS7843和SD卡的驱动控制程序,并做了简单控制界面开发。在软件驱动设计中重点对触摸屏书写偏差,抖动以及散点的问题进行了深入研究。针对这些问题分别采用校正,,延时和滤波方法加以解决。同时对滤波算法进行改进,在采样点数较少的情况下,仍能保证触摸屏书写的稳定性和准确性。 在SOPC软硬件协同设计下,实现了从SD卡中读取图片数据并在触摸屏上显示以及在触摸屏上书写的功能。同时,设计的软件界面能够控制图片切换。从设计结果可以看出图片显示清晰,图像切换迅速。在经过延时和滤波处理后,可以看到散点基本消除、书写平滑流畅。
[Abstract]:With the development of technology, touch screen has gradually replaced the traditional input devices such as mouse keyboard to become the mainstream of human-computer interaction in computer and related devices. Touch-screen technology has matured since Apple released its iPhone and iPad family of products. Touch screen with its quick operation, sensitive response speed, simple design style and many other advantages began to rapidly spread in industry and life. This paper is a TFT touch screen display and control system based on FPGA technology. The DE0 provided by Altera company is chosen as the development platform, the hardware master FPGA chip is used as the platform, and the hurricane III EP3C16F484C6, is connected to the four-wire resistive touch screen through the GPIO port on the DE0, and then the hardware and software co-design is carried out by using SOPC. In the aspect of hardware, the basic hardware resource, the function, characteristic and working mode of each port of ILI9325,ADS7843 and SD card are analyzed, and the detailed configuration of each port is explained in SOPC Builder. In the aspect of software drive, the driver control program of ILI9325,ADS7843 and SD card is written with C language, and the simple control interface is developed. In the design of software drive, the problems of writing deviation, jitter and divergence of touch screen are studied in detail. To solve these problems, correction, delay and filtering methods are adopted respectively. At the same time, the filtering algorithm is improved to ensure the stability and accuracy of touch screen writing. Under the co-design of SOPC software and hardware, the function of reading picture data from SD card and displaying it on touch screen and writing on touch screen is realized. At the same time, the software interface designed can control the picture switching. From the design results can be seen that the picture is clear, image switching quickly. After delay and filtering, you can see that the scattered point is basically eliminated and the writing is smooth and smooth.
【学位授予单位】:河北大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP334.3
本文编号:2398179
[Abstract]:With the development of technology, touch screen has gradually replaced the traditional input devices such as mouse keyboard to become the mainstream of human-computer interaction in computer and related devices. Touch-screen technology has matured since Apple released its iPhone and iPad family of products. Touch screen with its quick operation, sensitive response speed, simple design style and many other advantages began to rapidly spread in industry and life. This paper is a TFT touch screen display and control system based on FPGA technology. The DE0 provided by Altera company is chosen as the development platform, the hardware master FPGA chip is used as the platform, and the hurricane III EP3C16F484C6, is connected to the four-wire resistive touch screen through the GPIO port on the DE0, and then the hardware and software co-design is carried out by using SOPC. In the aspect of hardware, the basic hardware resource, the function, characteristic and working mode of each port of ILI9325,ADS7843 and SD card are analyzed, and the detailed configuration of each port is explained in SOPC Builder. In the aspect of software drive, the driver control program of ILI9325,ADS7843 and SD card is written with C language, and the simple control interface is developed. In the design of software drive, the problems of writing deviation, jitter and divergence of touch screen are studied in detail. To solve these problems, correction, delay and filtering methods are adopted respectively. At the same time, the filtering algorithm is improved to ensure the stability and accuracy of touch screen writing. Under the co-design of SOPC software and hardware, the function of reading picture data from SD card and displaying it on touch screen and writing on touch screen is realized. At the same time, the software interface designed can control the picture switching. From the design results can be seen that the picture is clear, image switching quickly. After delay and filtering, you can see that the scattered point is basically eliminated and the writing is smooth and smooth.
【学位授予单位】:河北大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP334.3
【参考文献】
相关期刊论文 前10条
1 魏瑾;郁云;;触摸屏数据采样和滤波算法实现[J];电脑知识与技术;2008年34期
2 张华;吴欣;王大星;;基于ARM7的SD卡读写控制在数据采集系统中的应用[J];电子技术应用;2009年07期
3 何伟;余征华;张玲;刘平净;;基于SoPC的SD卡控制器IP核的设计[J];电子技术应用;2011年03期
4 王春锋;;电阻触摸屏线性不良分析及处理[J];电子质量;2011年09期
5 应朝龙;王诚成;周亮;王岩;;触摸屏控制器设计[J];国外电子测量技术;2009年09期
6 周跃;沈捷;花魁;;基于SD卡的数据存储系统设计[J];化工自动化及仪表;2012年01期
7 吕明;吕延;;触摸屏的技术现状、发展趋势及市场前景[J];机床电器;2012年03期
8 靳宝安,牟强,马颖;薄膜晶体管及其在有源矩阵液晶显示中的应用[J];微电子学;2004年05期
9 李雪伟;张立勋;唐小景;;STM32驱动ILI9325显示字符串的方法[J];煤矿机械;2011年10期
10 张子敬;;触摸屏技术应用现状和未来发展趋势[J];科技视界;2012年12期
本文编号:2398179
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2398179.html