摘要
针对电能质量监测系统中的数据传输问题,对GB/T18657远动设备与系统传输规约进行分析。根据规约的分层结构特点,定义并实现物理接口层构件、链路层构件、网络层构件。在具体的实现过程中,为构件定义状态和控制数据结构,使用基于消息的连接子实现构件的组合。通过在基于STM32的嵌入式设备上的实现,验证了构件的结构和组合方式,满足嵌入式系统的要求,使得程序结构清晰,易于测试维护,提高系统的稳定性。
To solve the problem of data transmission in power quality monitoring system, GB/ T18657 Transmission protocols, the fifth part of Telecontrol Equipment and Systems, are analyzed. According to the statute of the layered structure, three components are designed and implemented. There are physical interface layer component, link layer component and network layer component. In the process of implementation, state - data structure and control - data structure are defined in the components, and message - based contactor is used to realize the composition of components. Key issues in the implementation on the embedded device with a STM32 Microcontroller are illustrated. Through this practical application, component construction and binding mechanism are formed and verified, making the program structure clear, easy to maintenance and test, and enhancing the stability of the system.
出处
《无线通信技术》
2013年第4期27-30,34,共5页
Wireless Communication Technology