摘要

本文主要研究的课题是——远程无线传感网络的设计,该系统主要以远程温度采集为例。系统具备低功耗、抗干扰能力强、大容量、实时采集、数据传输安全可靠等特点。文中提出设计思路:主机通过无线传输模块将多达255台分机(前端数据采集装置)和其连接起来,主机发送标准的MODBUS(RTU)访问命令控制各个分机(前端数据采集装置)工作。并对采集的数据进行分析、计算;分机(前端数据采集装置)主要完成响应主机命令,完成相应的功能,如:数据采集、回传采样数据等。采用射频无线的方式来实现主机与分机之间的信息交换,基于ModBus(RTU)通讯协议对数据进行无线传输。采用的工作方式为半双工,频率对应在ISM频段,不需要申请。系统中每台分机可采集4路数据,并可实时监控分机的电源电压。本文主要应用ARM7芯片(LPC2132)、运放LM358、差分放大器IN1117、无线收发模块NRF905等芯片设计制作了无线数据采集电路。使用ARM/C语言完成了整个系统的软件设计及调试。最后还描述了本系统的控制方法及一般控制流程,系统的调试过程和结果。

关键词:无线传输  数据采集  ModBus   射频

 

 

Abstract

This article mainly discusses wireless data acquisition analysis system , it mainly uses to the aspect of exterminating motorcycle. This system has the characteristic such as low power loss, the strong antijamming ability, large capacity, real-time gathering, the data transmission safe is reliable. In the article, it proposes the design mentality. The main engine will reach 255 extension telephones through the wireless transmission module (front end data acquisition installment) and their connect, transmission standard MODBUS (RTU) visits the order to control each extension telephone (front end data acquisition installment) to work. And it carries on operation and on analysis, computation to the gathering data, draws up each gathering history diagram of curves. The extension telephone (front end data acquisition installment) mainly completes the response main engine order, completes the corresponding function, for example: data acquisition, feedback sampling data and so on. The main engine and the extension telephone exchange of information by the radio frequency wireless way realization, the data wireless transmission follows ModBus (RTU) the communication agreement. Using the half-duplex the work way, the frequency work in the ISM frequency band, does not need to apply. In the system each extension telephone may gather 4 ways according to, and may the real-time monitoring extension telephone supply voltage. This article mainly using the ARM7 chip (LPC2132), transported puts LM358, differential amplifier IN1117, chip design and so on wireless receiving and dispatching module NRF905 has manufactured the wireless data acquisition electric circuit. With ARM/The C language has completed the overall system software design and the debugging. Finally it also describes this system control method and the general control flow, the system debugging process and the result.

Keywords: Wireless Transmission   Data Collection  ModBus   RF 

目录

摘要…. 3

Abstract.. 4

第一章  绪论…. 6

1.1     课题背景…. 6

1.2     国内外发展的现状…. 7

1.2.1  国内发展的现状…. 7

1.2.2 国外应用现状…. 10

1.3对设计任务的分析… 11

1.4 预 期 结 果… 12

1.5 论文的结构安排… 12

第二章    总体方案设计…. 13

2.1无线传感器网络系统的特点…. 13

2.2系统总体方案设计与论证…. 14

2.3 设计任务…. 16

2.4 系统组成及工作原理…. 16

2.4.1系统组成…. 16

2.4.2工作原理…. 17

2.5  主要器件选择与介绍…. 18

2.5.1 ARM处理器LPC2132.. 18

2.5.2 结构概述…. 19

2.5.3 ARM7处理器…. 20

2.5.4 程序存储器-片内 FLASH.. 20

2.5.5 功能框图…. 21

2.6 NRF芯片NRF905.. 22

2.6.1 特点…. 23

2.7 温度采集模块… 31

2.7.1 DS18B20的管脚配置和内部结构…. 32

2.7.2 单总线介绍…. 33

2.7.3  DS18B20的工作原理… 34

2.8、串口电平转换芯片…. 36

第三章  硬件电路设计…. 37

3.1无线模块电源电路…. 37

3.1.1无线收发部分:采用成品无线收发模块NRF905。…. 37

3.1.2 2.4G射频双向功放电路设计…. 38

3.1.2.3、低噪声放大(LNA)电路的设计… 40

3.1.2.4、功率检测的电路设计… 41

3.1.2.6 天线选择… 42

3.3、结论…. 44

3.4、 ARM主机控制电路…. 44

第四章 软件设计…. 46

4.1 通讯协议的设计…. 46

4.2 采样控制…. 49

4.3 ARM与NRF905的接口及软件设计…. 50

4.4 主程序流程图…. 56

4.5     主机界面设计说明…. 57

4.5.1 数据读取界面设计…. 58

4.5.2 液晶显示界面设计…. 59

4.6 温度检测… 59

4.7 无线发射模块的软件设计…. 61

4.8 无线接收模块软件设计…. 62

4.9软件的总体设计… 62

4.9.1 发送部分…. 62

4.9.2接收部分…. 63

4.10 本章小结… 64

第五章 系统调试…. 65

5.1     主机与分机的通讯调试…. 65

第六章    总结与展望…. 66

6.1总结…. 66

6.2 展望… 66

致谢…. 68

参考文献…. 69

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源