摘要
本文主要研究的课题是——远程无线传感器网络的设计与研究,该系统主要以远程温度采集为例。系统具备低功耗、抗干扰能力强、大容量、实时采集、数据传输安全可靠等特点。文中提出设计思路:主机通过无线传输模块将多达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