《電子技術(shù)應(yīng)用》
您所在的位置:首頁 > MEMS|傳感技術(shù) > 設(shè)計應(yīng)用 > 面向超低功耗傳感器的Modbus協(xié)議研究與實現(xiàn)
面向超低功耗傳感器的Modbus協(xié)議研究與實現(xiàn)
《信息技術(shù)與網(wǎng)絡(luò)安全》2020年第8期
姜 飛1,童海明1,趙玉薇2,董劉同1,張 瀚3
1.杭州淺??萍加邢挢熑喂?,浙江 杭州310052;2.納晶科技股份有限公司,浙江 杭州300450; 3.航天長征火箭技術(shù)有限公司,北京100076
摘要: 當前眾多傳感器、設(shè)備終端、儀器儀表需要具備超低功耗特性,同時又需要連入Modbus工業(yè)現(xiàn)場總線,而傳統(tǒng)的Modbus通信機制無法適應(yīng)低功耗模式,導(dǎo)致超低功耗特性器件在工業(yè)應(yīng)用中的局限性。為解決此問題,提出了一種可用于Modbus總線協(xié)議的超低功耗信息處理機制。通過對傳統(tǒng)Modbus協(xié)議和常用設(shè)備的低功耗處理機制分析,重新搭建了Modbus協(xié)議信息處理機制,在通信處理過程中對寄存器進行顯式和隱式抽象,將寄存器操作與儀器功能動作緊密聯(lián)系起來,提高任務(wù)執(zhí)行效率和儀器整體的實時性。搭建Modbus主機到低功耗傳感器的測試系統(tǒng),結(jié)果表明,該Modbus協(xié)議處理機制可以在傳感器保持超低功耗特性運行的同時,實現(xiàn)與主機穩(wěn)定可靠的通信。
中圖分類號: TN915
文獻標識碼: A
DOI: 10.19358/j.issn.2096-5133.2020.08.013
引用格式: 姜飛,童海明,趙玉薇,等. 面向超低功耗傳感器的Modbus協(xié)議研究與實現(xiàn)[J].信息技術(shù)與網(wǎng)絡(luò)安全,2020,39(8):67-71.
Research and implementation of Modbus protocol for ultra-low power sensor
Jiang Fei1,Tong Haiming1,Zhao Yuwei2,Dong Liutong1,Zhang Han3
1.Hangzhou Shallow-Sea Technology Co.,Ltd.,Hangzhou 310052,China; 2.Najing Technology Co.,Ltd.,Hangzhou 300450,China; 3.Aerospace Long March Launch Vehicle Technology Co.,Ltd.,Beijing 100076,China
Abstract: Many sensors, terminal equipment and instruments need ultra-low power characteristics and the ability to be connected to the Modbus industrial bus. However, the traditional Modbus communication mechanism is unable to adapt with the low-power mode, resulting in limitation and applicability of ultra-low-power feature devices in industrial field. To solve this problem, a new Modbus protocol processing method was proposed. Through the analysis of the traditional Modbus protocol and the low-power processing mechanism of commonly used device, the information processing mechanism of Modbus protocol was reestablished and modified. Registers were abstracted explicitly and implicitly and were to be linked tightly with the functions and actions of instrument in the communication process, which improved the execution efficiency and the real-time performance of entire device. Test system was built with Modbus host and ultra-low power sensor, and the result shows that the proposed Modbus protocol processing mechanism is able to achieve communication with the host reliably and steadily while maintaining the ultra-low power mode of the sensor.
Key words : Modbus;ultra-low power;sensor;bus communication

        隨著物聯(lián)網(wǎng)技術(shù)的高速發(fā)展,眾多種類的傳感器、儀器設(shè)備在工業(yè)、民用領(lǐng)域被廣泛應(yīng)用。與此同時,為降低傳感器使用過程中的運營、維護成本,特別是應(yīng)對特殊地理條件下能源供應(yīng)匱乏的現(xiàn)狀,具有超低功耗特性的傳感器應(yīng)用需求強烈,超低功耗特性已成為傳感器未來發(fā)展趨勢。

         Modbus協(xié)議由于在通信過程中具有帶寬節(jié)省、安全性和可靠性等方面顯著優(yōu)勢,成為傳感器在工業(yè)控制和自動化應(yīng)用中常被采用的通信協(xié)議。然而,傳統(tǒng)的Modbus協(xié)議信息處理方式不適用于超低功耗應(yīng)用環(huán)境,在一定程度上限制了Modbus協(xié)議的應(yīng)用范圍。最近一段時間,雖然在此方面出現(xiàn)了一些研究成果,不過更多的是針對硬件設(shè)計方面的考慮。本文通過對Modbus協(xié)議和超低功耗設(shè)備設(shè)計理念進行分析和改進,重新規(guī)劃寄存器數(shù)據(jù)實時響應(yīng)機制,建立分層式的Modbus通信模型,可以實現(xiàn)超低功耗特性傳感器與Modbus通信協(xié)議的兼容。




本文詳細內(nèi)容請下載http://ihrv.cn/resource/share/2000003250

作者信息:

姜  飛1,童海明1,趙玉薇2,董劉同1,張  瀚3

(1.杭州淺??萍加邢挢熑喂荆憬?杭州310052;2.納晶科技股份有限公司,浙江 杭州300450;

3.航天長征火箭技術(shù)有限公司,北京100076)

 


此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。