摘要
随着现代电子技术的迅猛发展和嵌入式系统技术的广泛应用,人类文明的载体——书籍,已经从纸向磁盘、光盘等数字形式转变。为了满足人们移动阅读书籍的需求,集硬件与软件一体、采用嵌入式设计方案构建的移动电子阅读器进入了人们的日常生活。它改变了人们的阅读习惯,预示着阅读无纸化时代的到来。研究和开发一个功能齐全、系统稳定、价格低廉的电子阅读器,已成为嵌入式产品应用研究的热门课题。
论文首先分析了嵌入式移动电子阅读器的特点及发展趋势,介绍了国防科大计算机学院自主研制的高性能定点数字信号处理器“银河飞腾”—D4B,阐述了以“银河飞腾”-DSP为核心设计的嵌入式电子阅读器的总体软硬件结构。
通过对USB协议的研究,提出嵌入式系统下的USB主机系统的实现方案,详细设计了采用“Philips ISP1761”高速USB主控制芯片的USB主机系统,包括USB硬件接口电路,以及由USB主机协议系统、Mass Storage类协议软件和FAT文件系统软件三部分组成的系统软件。
接着深入研究BMP、JPG、TXT、PDF等文件的文档格式,提出在嵌入式系统下电子阅读器的软件设计方案,自主完成了软件结构设计,实现对这些格式的电子书的解析。
最后根据嵌入式移动电子阅读器的功能需要,设计实现了嵌入式移动电子阅读器的显示系统,包括液晶屏LCD显示模块,以及可以通过AV接口连接电视机的标准视频输出系统。
With the rapid development of modem electronic technology and the widely application of the embedded system, the carrier of the world's culture-books, has changed from paper to magnetic disk or compact disk. To fulfill the needs of the mobile reading, Mobile Electronic Reader, the combination of hardware and software based on the embedded technology, is now entering our normal life. It has changed people's reading habits, meanwhile, it indicates the beginning of the era that people can read without paper. The research on Electronic Reader with completed function, stable system and cheap price has become the hot topic in the application of the embedded system.
Firstly, the paper gives a brief description of the development of Mobile Electronic Book and introduces the high performance DSP, YHFT-D4B, developed independently by the Computer college of NUDT. The structure of the system, in which the YHFT-D4B is chosen as the kernel DSP, is brought forward.
Secondly, the scheme of the embedded USB host system is presented after analyzing the USB Specification. The embedded USB host system selects the Philips ISP1761 to act as the USB Host interface chip. It contains the USB interface circuitry and the USB host software. And the so,ware is divided into three parts: USB host specification system, the USB Mass Storage Class system and the FAT file system.
Thirdly, by deeply study on the document format of the BMP, JPEG, TXT and PDF file, the software design scheme of the Electronic Reader is proposed and completed.
Finally, accoding to the requirement of the embedded Mobile Electronic Reader, a display system is designed in it. The display system includes the LCD module and the standard video output system which can connect televisions thought the AV port.
引文
[1] 陈书明,刘祥远,李振涛等.银河飞腾高性能数字信号处理器最新研究进展.计算机研究与发展.2005
[2] 国防科技大学计算机学院YHFT DSP开发组.YHFT-D4详细设计文档.长沙.2004
[3] ISP1761 Hi-Speed Universal Serial Bus On-The-Go controller Product data sheet., http://www.semiconductors.philips.com
[4] 周立功等.USB2.0与OTG规范及开发指南.北京.航空航天大学出版社.2004
[5] 李方慧,王飞,何佩琨.TMS320C6000系列DSPs原理与应用.北京.电子工业出版社.2002
[6] Universal Serial Bus Specification. http://www.usb.org
[7] 杜占坤.USB设备IP核设计SoC嵌入.复旦大学硕士学位论文.2004.4
[8] 马伟.嵌入式USB主机系统的研究与设计.北京.计算机测量与控制.2003(5)
[9] 刘兵,徐家恺,刘阳.DSP的嵌入式USB主机接口设计.南京.微型机与应用.2004(8)
[10] 周立功.ISPl 161x嵌入式编程指南.http://www.zlgmcu.com
[11] Craig Peacock.USB in a Nutshell.http://www.Beyondlogic.org
[12] Frank.USB项目技术报告.2002.12
[13] 马伟.基于MC68HC912D60A的嵌入式USB Host.2005
[14] 刘传波,莫易敏.嵌入式USB主机大容量实时存储系统的研制.武汉.现代制造工程.2006(8)
[15] 孙俊,王晓蔚.嵌入式系统上的USB-HOST设计.南京.现代电子技术.2004(24)
[16] 洪毅峰.基于ARM的嵌入式USB主机系统设计.浙江大学硕士学位论文.2005
[17] 杨伟,刘强,顾新.Linux下USB设备驱动研究与开发.西安.计算机工程.2006(19)
[18] Universal Serial Bus. Mass Storage Class UFI Command Specification. http://www.usb.org
[19] 姜楠,王建.常用多媒体文件格式与压缩标准解析.北京.电子工业出版社.2005
[20] 郭玉红.静态图像压缩技术的研究与应用.南开大学硕士学位论文.2001.5
[21] Darren Meyer. Graphics File Formats. WPI CD Department. http://www.cd.wpi.edu/~mat/courses/cd563/talks/gformats.html
[22] http://dev.csdn.net/article/82/82228.shtm
[23] 周俊敏.用 VB 语言编程实现 JPEG 数据压缩.http://www.phenixsun.com/jgis/filel/htm
[24] Gregory K.Wallace. The JPEG Still Picture Compression Standard. In COMMUNICATION OF THE ACM. Vol.34. No.4
[25] 罗凤武.基于MCF5272的JPEG解码算法的设计与实现.电子科技大学硕士学位论文.2003
[26] International Standards Committee International Standard ISO/IEC DIS 10918-1. Digital Compressin and Coding of Continous-tone Stillimages. American National Standard Institute. New York. 1992
[27] M.Vetterli. Simple FFT and DCT Algorithms with Reduced Number of Operations. Signal Processing Vol.6 No.4
[28] 葛一兵.基于XML的文档信息提取技术研究.中国科学院计算技术研究所硕士学位论文.2003
[29] Character set encoding basics Understanding character set encodings and legacy encodings, http://scripts.sil.org/cms/scripts/page.php?site id=nrsi&item id=IWS-Chapter03
[30] American Standard Code for Information Interchange. Coded character set -7bit. 1986
[31] Understanding Unicode A general introduction to the Unicode Standard. http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item id=lWS-Chapter04a
[32] Asfman. 字符集编码 ANSI 和 UNICODE. http://www.enitblog.eom/asfman/
[33] http://www.pc51.net/c read15250.html
[34] 在PHP中用描点法“绘制”中文.http://www2.xydw.com/lanmu.php?lid=7
[35] Adobe Systems Incorporated. Portable Document Format Reference Manual, Version 1.3. 1999
[36] Adobe Acrobat 7.0 SDK Adobe Portable Document Format Version 1.6. http://www.adobe.com
[37] 杨道良.面向对象的中文PDF阅读器的设计与实现.计算机应用.1999(19)
[38] 宋艳绢,张文德.基于XML的pdf文档信息抽取系统的研究.现代图书情报技术.2005.9
[39] http://blog.csdn.net/pdfMaker/archive/2006/01/09/573990.aspx
[40] www.lib.tsinghua.edu.cn/chinese/INTERNET/HTML/Normal/html design.html
[41] http://edu.itsun.eom/html/2005/475.htm
[42] http://www.w3.org/Consortium/technology
[43] http://www.mierosoft.eom/china/office/word/prodinfo/default.mspx
[44] 林雪明,陈华辉.点阵式液晶显示系统图文界面的设计.微机发展.2000(1)
[45] T6963C液晶控制器的应用.北京德彼克创新科技有限公司.
[46] 杨岸.一种电子词典的设计与实现.华中科技大学硕士学位论文.2004
[47] 李维是,郭强.液晶显示器件应用技术.北京.北京邮电学院出版社.1999
[48] 谷会涛,陈书明.基于“银河飞腾”—D4B和FPGA的显示系统设计.第十届全国计算机工程与工艺学术年会.2006
[49] RECOMMENDATION ITU-R BT.656-4, Interfaces for digital component video signals in 525-1ine and 625-1ine television systems operating at the 4:2:2 level.of Recommendation ITU-R BT.601 (Part A). ITU. 1998