基于智能电表的红外通信协议的分析与验证林正红 周晓彤 杨沙 李茂姝 蒋璐(西南科技大学信息工程学院,四川绵阳)摘要:随着多功能智能仪表技术的逐步完善和单片机技术的进展,红外通信技术已经为电力系统自动抄表提供了一种可行的解决途径.本文在介绍红外线通信的基本原理的基础上,根据电力行业标准《DL/T546—2025 多功能电能表通信协议》的要求,具体分析和验证了在智能电表应用中的红外通信协议。同时,设计合理的模块分别模拟真实电表和读表模块,采纳软硬件相结合的方法验证智能电表红外通信协议的正确性.关键字:智能电表;红外通信;协议Abstract: With multi-functional smart meter technology gradually improved and the development of microcontroller technology, infrared communication technology has provided a viable solution for the automatic meter reading of power system。 This paper describes the basic principles of infrared communication, concretely analyses and verifies the infrared communication protocol of the smart meters’ application which is based on the power industry standard "DL/T546—2025 multifunctional energy meter communication protocol". The modules are also designed to simulate the real meter and meter reading module, using the method of combining software and hardware to verify smart meter infrared communication protocol is correct.Keywords: smart meters, infrared communication, protocol1、红外通信原理红外通信是利用950nm近红外波段的红外线作为传递信息的媒体,即通信信道.发送端将基带二进制信号调制为一系列的脉冲串信号,通过红外发射管发射红外信号。接收端将接收到的光脉转换成电信号,再经过放大、滤波等处理后送给解调电路进行解调,还原为二进制数字信号后输出。红外通信是基于调制的载波通信,其载波信号是按一定频率进行幅值调制的红外光.调制频率有36kHz、38kHz、40kHz,其中38kHz应用最广泛。红外通信的载波信号由红外发射二极管产生。当传输数据“1”时,只需使发射管截止而不发射红外光即可.当传输数据“0”时,就必须根据调制频率f(对应的周期为1/ t)的要求,控制发射管导通t/2时间然后截止t/2时间,并循环变化...