摘要

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

 

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

 

 

Abstract

This article mainly discusses remote wireless sensor network design and research , 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 (CC2430), transported puts LM358, differential amplifier IN1117, chip design and so on wireless receiving and dispatching module TRF6900A 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 

 

 

目录

摘要… I

Abstract.. II

目录… III

第一章  绪论… 1

1.1课题背景. 1

1.2国内外发展的现状. 2

1.2.1国内发展的现状… 2

1.2.2国外应用现状… 4

1.3对设计任务的分析. 5

1.4预期结果. 6

1.5论文的结构安排. 6

第二章  总体方案设计… 7

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

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

2.3设计任务. 9

2.4 系统组成及工作原理. 9

2.4.1系统组成… 9

2.4.2工作原理… 10

2.5 ARM处理器CC2430 11

2.6 无线射频芯片TRF6900A 13

2.6.1 TRF6900A芯片特点… 14

2.6.2 TRF6900A工作模式… 15

2.6.3 TRF6900A功能配置… 17

2.6.4 TRF6900A电路设计要点… 19

2.7温度采集模块. 20

2.7.1 DS18B20介绍… 21

2.7.2单总线介绍… 22

2.7.3 DS18B20的工作原理… 22

2.8基于指向性天线的节能策略. 24

第三章  硬件设计… 28

3.1无线模块电源电路. 28

3.2 TRF6900A外围电路. 28

3.3射频双向功放电路设计. 29

3.3.1发射功率放大(PA)电路… 30

3.3.2低噪声放大(LNA)电路的设计… 31

3.3.3功率检测的电路设计… 32

3.3.4电平的平移和驱动电路… 32

3.4串口通信接口电路. 33

3.5本章小结. 33

第四章 软件设计… 35

4.1 通讯协议的设计. 35

4.1.1 MODBUS通讯协议简介… 35

4.1.2通讯协议的构建… 36

4.2 采样控制. 37

4.3 ARM与TRF6900A的接口及软件设计. 39

4.3.1 TRF6900A的寄存器配置… 40

4.3.2 TRF6900A的工作模式配置… 42

4.4 主程序流程图. 45

4.5主机界面设计. 45

4.5.1数据读取界面设计… 46

4.5.2 液晶显示界面设计… 47

4.6 温度检测. 47

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

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

4.9软件的总体设计. 50

4.9.1发送部分… 50

4.9.2接收部分… 51

4.10 系统调试. 52

4.11本章小结. 53

第五章 总结和展望… 54

5.1总结. 54

5.2 展望. 54

参考文献… 56

附录A ARM控制板电路原理图… 59

附录B无线收发模块TRF6900A电路原理图… 60

发表回复

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

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

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

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

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

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