传统的传感器因其功能单一,不能满足多种测试要求而难以扩展。随着Internet 的迅速发展,使传感器现场级实现 TCP/IP 协议,进行实时动态的在线测控和信息共享成为可能。因此网络传感器成为了当前的研究热点。
本文通过深入研究和对比各种实现方法,提出并实现了另外一种用硬件代替软件的设计方案。该方案的核心和特点是用硬件代替软件来实现协议格式的转换。本系统以 MCU 为核心,控制传感器采集外部信号和数据的 AD 转换,及接收远程 PC 机的控制命令和数据并根据接收的命令进行相应操作,同时控制 i2Chip 芯片的运作以及对各种协议的选取和处理,将数据变换成可以在Internet 传输的 TCP/IP 的协议格式,通过网络接口芯片与 Internet 进行连接,从而实现与远程计算机的双向通信。控制方基于 PC 平台,主要负责对接收到的数据进行分析和处理,同时负责发送控制命令、传输数据和显示功能等。
根据上述,搭建了整个实验系统并在局域网内部进行了多次测试,试验表明该系统能进行多路数据的采集和相应数据的网络传输以及执行控制命令,具有可靠的稳定性,达到了预期研究的效果。
【英文摘要】
Because the traditional sensors are limited in their functions, they can not satisfy the various demands of testing and are difficult to extend. With the development of Internet, it is possible to realize the TCP/IP protocols, achieve the simultaneous control according to the actual situation and share the information. For the above reasons, the net-sensor is very hot on stove at present.
Through the further research and comparison of various scheme and in this paper we raise another scheme which...