智能电表数据传输通讯多重保护机制设计
2020-03-25张海峰
张海峰



摘要:对远程控制的单相智能电表的通讯系统进行了可靠性设计。首先对其要完成的功能进行了描述,然后对其通讯的硬件外围电路了设计,最后用485总线与上位机进行通讯,完成了远程控制所需要的三个关键寄存器的参数设置,对通讯系统进行了可靠性设计,包括上下位机单片机时钟频率的选择和参数的设置使得波特率一致,通过数据通讯的偶校验、数据加密、数据和校验、数据的多次发送来使得通讯可靠性大大提高。
Abstract: The reliability design of the remotely controlled single-phase smart meter communication system is carried out. This article first describes the functions to be completed, and then designs the hardware peripheral circuits for communication. Finally, it uses the 485 bus to communicate with the upper computer, and completes the parameter settings of the three key registers required for remote control. The system has been designed for reliability, including the selection of the clock frequency of the upper and lower computer and the setting of parameters to make the baud rate consistent. Through the even communication of data communication, data encryption, data and verification, and multiple transmission of data, the reliability of communication is greatly improved.
关键词:单相智能电表;通讯;校验;可靠性
Key words: single-phase smart meter;communication;calibration;reliability
中图分类号:TM933.4 文献标识码:A 文章编号:1006-4311(2020)04-0284-04
0 引言
随着大学对学生的生活环境更加重视,高校宿舍装空调已经越来越普遍,很多高校都要對原有的宿舍线路和电表加以改进来适应新的用电要求。一般来说,高校宿舍的用电负载主要包括插座、照明、空调三种回路,这三种回路由于所用时间一般不同,如插座一般要求24小时有电,照明需要早晚有电,而空调一般夏季才使用,所以,这三路一般是分开走线。而在供电侧进行三路继电器分别控制。但由于学生宿舍经常违禁使用热水壶、电热毯、电吹风、电磁炉等大功率电器,传统的电表不能识别这些用电设备造成宿舍安全隐患。新型基于实时功率检测的智能电表除了具有传统电表能进行数据的采集、计量和传输外,在保证空调正常使用前提下,要能检测恶性负载,既保证用电的安全,又保证宿舍环境舒适[1-2]。具体采取……
