基于数据采集卡的动态电阻检测系统详解.doc
文本预览下载声明
大连海事大学
毕 业 论 文
二○一三年六月
基于数据采集卡的动态电阻
检测系统
专业班级: 电子信息科学与技术2班
姓 名: 王凯
指导教师: 刘剑桥
信息科学技术学院摘 要
目前国内外PTC元件的应用日益广泛,测试与确定其性能参数意义重大。本文从PTC热敏电阻器测试规范出发,充分利用高速通用串行总线(USB)所具有的传输速度快支持热插拔即插即用易于扩展占用的系统资源少等优点将其与传统的数据采集技术相结合设计实现了一种基于USB的集数据采集显示为一体的数据采集系统论文完成的基于USB总线的数据采集系统为数据的采集提供了一种更有效更经济更方便的数据采集方式
关键词:PTC;数据采集At present, the PTC element is used widely at home and abroad, the testing and performance parameters is significant. this article was started from the PTC thermistor test code. The advantages of USB with high-speed ,hot-swappable, plug and play, easily to extend and less system resources were fully used. Then we combined it with traditional data acquisition technology, designed and achieved a system which was based USB technology with data acquisition, processing and display together.
In this thesis, the overall workflow of the system, each part of the principle, design of software module were mainly discussed. System uses a USB interface for PC machines and apparatus for communication ports, collects analog signal by MPS-010602 signal acquisition card, so the circuit was simplifyed , expense of the system were reduced, and the anti-disturbing ability was enhanced.
C++ was adopted as the programming language and Visual C++ was chosen as the developing platform. According to PTCs testing process, the system provides test-friendly interface, users only need simple settings, then you can start the system test, accurate data in real time, achieve curved display. In data processing, the error sources in the test system were analyzed, software algorithms was also processed properly.
In this thesis,the data acquisition system which based on USB bus, provided a more effective, more economical and more convenient way of data collection for data collection.
Key words: PTC; data collection; programming MFC
目录 1
1.1 背景 1
1.2 意义 2
第2章 原理 3
2.1测试系统原理框架 3
2.2 MPS-010602多功能USB信号采集卡 4
2.3 数据采集与控制的方式 6
2.3.1 动态链接库与API函数 7
2.3.2 调用DLL有两种
显示全部