湖北农业科学
湖北農業科學
호북농업과학
2014年
7期
1667-1670,1674
,共5页
袁福营%史智兴%靖立伟%张宜君
袁福營%史智興%靖立偉%張宜君
원복영%사지흥%정립위%장의군
现代农业%嵌入式服务器%农田信息采集%Modbus
現代農業%嵌入式服務器%農田信息採集%Modbus
현대농업%감입식복무기%농전신식채집%Modbus
modern agriculture%embedded server%farmland information acquisition%Modbus
将Modbus协议应用到农业信息化领域,设计了一种基于Modbus协议的嵌入式农田信息采集服务器。分析了Modbus协议,设计了系统各模块之间的数据通信接口,ARM服务器与应用层采用Modbus/TCP通信完成用户的查询,ARM服务器与数据采集层采用Modbus串口通信进行数据的存储,提出了Modbus/TCP帧与串行链路RTU帧的转换方法,实现了应用层与数据采集层的实时通信,提高了系统的有效性和可靠性。
將Modbus協議應用到農業信息化領域,設計瞭一種基于Modbus協議的嵌入式農田信息採集服務器。分析瞭Modbus協議,設計瞭繫統各模塊之間的數據通信接口,ARM服務器與應用層採用Modbus/TCP通信完成用戶的查詢,ARM服務器與數據採集層採用Modbus串口通信進行數據的存儲,提齣瞭Modbus/TCP幀與串行鏈路RTU幀的轉換方法,實現瞭應用層與數據採集層的實時通信,提高瞭繫統的有效性和可靠性。
장Modbus협의응용도농업신식화영역,설계료일충기우Modbus협의적감입식농전신식채집복무기。분석료Modbus협의,설계료계통각모괴지간적수거통신접구,ARM복무기여응용층채용Modbus/TCP통신완성용호적사순,ARM복무기여수거채집층채용Modbus천구통신진행수거적존저,제출료Modbus/TCP정여천행련로RTU정적전환방법,실현료응용층여수거채집층적실시통신,제고료계통적유효성화가고성。
Modbus protocol was applied in the farmland information collection system and a preliminary design of an embed-ded farmland information collection server based on Modbus protocol was presented. ARM server using Modbus/TCP to com-municate with the application layer for completing the user’s query, and ARM server using seriallink to communicate with data acquisition layer for data storage were analyzed. The conversion of Modbus/TCP frame with serial link RTU frame was pro-posed to realize the communication for the application layer and the data acquisition layer. The design improved the effective-ness and reliability of the system.