1、 1 NO: 毕业论文毕业论文 题目:题目:SD 卡存储采集数据电路设计卡存储采集数据电路设计 专业:专业:电子信息工程技术电子信息工程技术 2013 年年 06 月月 10 日日 i 摘摘 要要 随着微电子技术的迅猛发展,集成电路组成的电子系统集成度越来越高,使得芯片 的复杂性不断上升,单片的成本却不断降低。FPGA 产品的逻辑单元越来越多,性能越来 越高,单位成本和功耗向越来越低的方向发展,使得可编程片上系统 SOPC(System On Programmable Chip)设计成为必然趋势。SD 存储卡因具备体积小、储容量高、可擦写、 价格低以及非易失性等特点被广泛应用于手机、数码相机、
2、MP3 播放器等领域。 针对传统方法中 单片机(MCU )读写 SD 卡数据时需要执行复杂的文件分区表数据操作 的缺点, 以 LED 护栏管显示屏技术要求为例, 提出了一种单片机主从系统中快速、简 单的 SD 卡存储器的访问方法, 并给出了一种实用的 SD 卡与单片机连接的接口电路。采 用该方法读取 SD 卡控制数据与存储文件的分区表格式无关, 因此支持 FAT32、NTFS、 exFAT 等文件格式下从 16MB 32 GB 的 SD 卡。该方法对需从 SD 卡中连续读取控制数据 的主、从控制系统均适用, 有很强的实用性。该方法在 LED 护栏管显示屏控制器产品中 得到应用, 应用结果表明该
3、系统读取数据稳定, 控制效果良好。 论文介绍了 SD 卡存储采集数据电路设计原理、 电路以及程序, 阐述了基于 STC12C5A60S2 芯片主控的DY_mini80E开发板实现数据的采集和数据的SD存储的设计电路过程和实现 方法以及运行得到的结果分析。该系统能同时采集四路周期信号波形,并将四路模拟电 压(0-5V)进行 A/D 转换,每秒钟转换一次,结果转换为 ASCII 码形式,且四路结果分 别存储到 SD 卡预先建立好的 CH1.txt、CH2.txt、CH3.txt、CH4.txt 文档中。设计在 STC12C5A60S2 主控芯片的 DY_mini80E 开发板上,利用开发板上 A/
4、D 转换模块 PCF8591, 外接 SD 接口模块,完成了调试实现。 关键词:关键词: 数据采集;STC12C5A60S2; SD 卡; ii Abstract Electronic systems integration is increasing of Integrated circuit components with the Bureau of the rapid development of microelectronic technology,The rapid development of microelectronic technology and the high inte
5、gration IC,makes the chip more complexity with lower cost ever than beforWhile FPGA is being developed in the direction which contents more and more logic elements,with high performance,low cost and low powerSo,SOPC technology becomes all inevitable trendThe Card SD with small size high storage capa
6、cityrewritable,low prices,as well as non-volatile and other characteristics have been widely used in mobile phones,digital cameras,MP3 players and other fields In order to reduce the difficulty of secure digital memory card operation in microcontroller unit (MCU) system, a simple SD card driven method and interface circuitw as introduced. This method is independent of partition tab le, so it susta insall kinds of SD card and partition formats, including FAT32, NTFS, ex