基于stm32的数据采集存储系统的设计与实现

上传人:小** 文档编号:91129303 上传时间:2019-06-26 格式:PDF 页数:70 大小:2.32MB
返回 下载 相关 举报
基于stm32的数据采集存储系统的设计与实现_第1页
第1页 / 共70页
基于stm32的数据采集存储系统的设计与实现_第2页
第2页 / 共70页
基于stm32的数据采集存储系统的设计与实现_第3页
第3页 / 共70页
基于stm32的数据采集存储系统的设计与实现_第4页
第4页 / 共70页
基于stm32的数据采集存储系统的设计与实现_第5页
第5页 / 共70页
点击查看更多>>
资源描述

《基于stm32的数据采集存储系统的设计与实现》由会员分享,可在线阅读,更多相关《基于stm32的数据采集存储系统的设计与实现(70页珍藏版)》请在金锄头文库上搜索。

1、 分类号:分类号:TN431.2 单位代码:单位代码:10110 学学 号:号:s20110301 中中 北北 大大 学学 硕硕 士士 学学 位位 论论 文文 基于 STM32 的数据采集存储系统 的设计与实现 硕士研究生硕士研究生 赵圣飞赵圣飞 指导教师指导教师 李永红李永红 教授教授 学科专业学科专业 测试计量技术及仪器测试计量技术及仪器 2014 年 5 月 23 日 基 于 基 于 STM32 的 数 据 采 集 存 储 系 统 的 设 计 与 实 现 的 数 据 采 集 存 储 系 统 的 设 计 与 实 现 赵 圣 飞 赵 圣 飞 中 北 大 学 中 北 大 学 图书分类号图书分类

2、号 TN431.2 密级密级 非密 UDC 硕硕 士士 学学 位位 论论 文文 基于 STM32 的数据采集存储系统的设计与实现 赵圣飞 指导教师指导教师(姓名、职称姓名、职称) 李永红教授 申请学位级别申请学位级别 工学硕士 专业名称专业名称 测试计量技术及仪器 论文提交日期论文提交日期 年年 月月 日日 论文答辩日期论文答辩日期 年年 月月 日日 学位授予日期学位授予日期 年年 月月 日日 论文评阅人论文评阅人 答辩委员会主席答辩委员会主席 年年 月月 日日 原原 创创 性性 声声 明明 本人郑重声明:所呈交的学位论文,是本人在指导教师的指导下,独本人郑重声明:所呈交的学位论文,是本人在指

3、导教师的指导下,独 立进行研究所取得的成果。除文中已经注明引用的内容外,本论文不包含立进行研究所取得的成果。除文中已经注明引用的内容外,本论文不包含 其他个人或集体已经发表或撰写过的科研成果。对本文的研究作出重要贡其他个人或集体已经发表或撰写过的科研成果。对本文的研究作出重要贡 献的个人和集体,均已在文中以明确方式标明。本声明的法律责任由本人献的个人和集体,均已在文中以明确方式标明。本声明的法律责任由本人 承担。承担。 论论文作者签名:文作者签名: 日期:日期: 关于学位论文使用权的说明关于学位论文使用权的说明 本人完全了解中北大学有关保管、使用学位论文的规定,其中包括:本人完全了解中北大学有

4、关保管、使用学位论文的规定,其中包括: 学校有权保管、并向有关部门送交学位论文的原件与复印件;学校有权保管、并向有关部门送交学位论文的原件与复印件;学校可学校可 以采用影印、缩印或其它复制手段复制并保存学位论文;以采用影印、缩印或其它复制手段复制并保存学位论文;学校可允许学学校可允许学 位论文被查阅或借阅;位论文被查阅或借阅;学校可以学术交流为目的,复制赠送和交换学位学校可以学术交流为目的,复制赠送和交换学位 论文;论文;学校可以公布学位论文的全部或部分内容学校可以公布学位论文的全部或部分内容(保密学位论文在解密后保密学位论文在解密后 遵守此规定遵守此规定)。 签签 名:名: 日期:日期: 导

5、师签名:导师签名: 日期:日期: 中北大学学位论文 基于 STM32 的数据采集存储系统的设计与实现 摘 要 各类飞行器、武器系统从最初的系统方案论证,到各个阶段的研制过程及最后的定 型试验,需要对飞行试验过程中的振动、过载、转速、各个系统模块的电源参数、状态 参数、控制和位置图像信息等进行采集存储,通过对这些信息进行综合分析来评测系统 采用的制导策略的正确性和系统性能的优劣性,以完成系统方案的不断设计改进。而这 些工作, 往往通过在飞行器和武器系统上安装能够采集存储飞行试验过程多种数据的采 集存储系统来完成的。 本文在数据采集存储理论研究和工程系统设计原则基础上,针对某型号飞行测量系 统的相

6、关设计指标要求,设计了基于 STM32 微处理器平台的数据采集存储系统,其选 用三星 K9F1G08U0C NAND Flash 作为存储单元, 采用 USB 接口方式实现与 PC 上位机 之间的数据传输,实现了 16 路模拟信号采集存储、4 路 RS422 串口信号、1 路 TTL 串 口数据的接收存储及对试验过程中采集存储数据的回读、解包分析和图形化显示等功 能。 本文首先分析讨论了该数据采集存储系统的总体设计方案、关键技术及其解决方 案,详细阐述了硬件部分各组成模块的设计方法,并从模拟通道信号采集、串口数字量 转换接收、电源转换、主控单元、Flash 存储、触发判断和工作模式选择、程序调

7、试与 下载和 USB 接口通信模块等几个方面给出了相应的电路设计和详细说明;其次,对系 统软件部分的设计进行了详细的论述,包括系统的时序控制、多串口和不定长度串口数 据的接收、对有特殊要求的数据编码存储的实现、DMA 方式传输、乒乓缓存接收存储 和 USB 通信程序设计等,对上位机数据读取与分析软件也进行了介绍;最后对该系统 模拟通道信号的标定、功能测试方法和实际飞行试验情况也作了一定的说明。 本文设计的基于 STM32 的数据采集存储系统具有体积小、功耗低、高可靠性、抗 高过载、抗干扰能力强等特点。目前,已经在某型号飞行测量系统中得以应用,通过对 相关靶场试验数据的综合分析,表明该数据采集存

8、储系统基本满足设计的指标和高可靠 性要求。 关键词:STM32,数据采集,数据存储,USB 通信,可靠性 中北大学学位论文 Design and Realization of Data Acquisition and Storage System based on STM32 Abstract From the initial system scheme demonstration to the development of each stage and final qualification test, for various types of aircrafts and weapon sy

9、stems, there is the need for acquiring and storing a lot of data information, which including vibration during flight testing, overload, speed and other parameters, the power parameters of each system module, state parameters, control and the image position. Through a comprehensive analysis of this

10、information, it provides a way to evaluate the correctness of the guidance strategy and the merits of the system performance, thus completing constant improvement of the system scheme. And to obtain such target, the acquisition and storage system that could record data parameters during the flight t

11、est procedure should be mounted on these aircrafts and weapon systems. On the basis of theory research for data acquisition and storage system and design principles for engineering system, and for technical specifications of a certain kind of flight measurement system, this thesis is intended for a

12、data acquisition and storage system based on STM32, which uses Samsung K9F1G08U0C NAND Flash as the medium for storage, USB interface to realize the communication between the hardware and PC. It achieves the acquisition and storage for 16 channel analogy signals, 4 channel RS422 digital signals and

13、1 TTL signal. And it also accomplishes the data-reading, unpacked analysis and graphical display after the flight test. This thesis first analyzes the overall design scheme of the data acquisition and storage system, key technology and its solution. And it elaborates the design method of constituent

14、 modules for hardware in detail and outputs the circuit design and detail description from the aspect of the acquisition of analogy signal channel, digital signal conversion and receiving, power supply conversion, main control, Flash storage, trigger judgment and working mode 中北大学学位论文 selection, pro

15、gram debugging and downloading and USB interface communication module. Then the software design is discussed in detail, which including the timing control of system, receiving of multiple and uncertain-length serial port data, the realization of special requirements for data encoding and storage, DMA transfer, Ping-pang receiving and storage and USB communication procedure. The PC data reading and analysis software is also introduced. Finally, the analog channel signal calibration, functional testing method

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 管理学资料

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号