A Communication Queue Scheduling Strategy for Intelligent Substations Based on Asynchronous Shaping Mechanism
Jia Huibin1, Wu Wenrui1, Wu Kun1, Liu Yu2, Chang Naichao2
1. Department of Electronic and Communication Engineering North China Electric Power University Baoding 071003 China; 2. State Grid Dispatching and Control Center Beijing 100031 China
Abstract:The current industrial Ethernet switches in intelligent substations employ a strict priority scheduling strategy to prioritize traffic based on the level of priority. This strategy ensures the real-time performance of high-priority traffic in the substation communication network (SCN). However, when a failure happens in SCN or the network load increases, there may be a situation where low-priority traffic is "starved" due to a significant increase in abnormally high-priority traffic (SV flow). In recent years, time-sensitive networking (TSN) has emerged to provide low-latency and low-jitter transmission for critical commuinication services in intelligent substations. This has been achieved by incorporating key technologies such as clock synchronization, traffic shaping and scheduling, and network configuration. To address the problem of the existing queue scheduling strategy in SCN, which cannot theoretically guarantee the real-time and reliability of critical communication services, a communication queue scheduling strategy based on TSN's asynchronous traffic shaper (ATS) mechanism has been proposed. Firstly, a priority division and shaping queue allocation scheme was proposed for business flows, taking into account the quality of service requirements and transmission characteristics. This scheme aimed to prevent head blocking between traffic in the same shaping queue and minimize interference among different traffic flows. The configuration problem of traffic shaper parameters was then abstracted as minimizing end-to-end delay for business flows, taking into account multiple constraints. An optimization model for the parameter of an intelligent substation traffic shaper was proposed, and the optimal model was solved using the interior point optimization algorithm based on Matlab software. The calculated optimal traffic shaper parameters ware then configured into the shapers of the TSN switches in the SCN. This shaper shaped the traffic that enters the shaping queue. The shaper adopted a traffic shaping method based on the token bucket algorithm to allocate the eligible time for frame transmission. Finally, the post-processed business flow entered the corresponding scheduling queue based on the priority division and was scheduled using a strict priority algorithm. The data frames in the scheduling queue were arranged in ascending order based on the eligible time. That is to say, the data frames were scheduled for transmission based on the eligible time and priority parameters. If the eligible time of the data frame at the front of the scheduling queue was earlier than the current time, the data frame could be transmitted. Otherwise, if the current queue data frame couldnot be sent, the data frame from the next priority queue was transmitted. The communication queue scheduling strategy proposed in this paper was implemented based on the INET4.4 framework of the OMNet++ network simulation platform. Additionally, a simplified model of the intelligent substation communication network was constructed for simulation experiments. The experimental results demonstrate that the proposed method can ensure deterministic low-latency transmission of critical communication services and enhance the service quality of business flows, even when high-priority traffic bursts and causes network congestion. This improvement was in comparison to traditional SPQ scheduling strategies. Furthermore, in cases where the time synchronization of the substation communication network failed, the proposed strategy can still guarantee the real-time transmission of business flows.
[1] 吴宇奇, 李正天, 林湘宁, 等. 基于变电站高频滤波边界特性的配电网线模行波选线方法[J]. 电工技术学报, 2024, 39(7): 2072-2088. Wu Yuqi, Li Zhengtian, Lin Xiangning, et al.The faulty line selection method using line mode traveling wave based on high-frequency filtering characteristics of the substation line boundary in the distribution network[J]. Transactions of China Electrotechnical Society, 2024, 39(7): 2072-2088. [2] 周元刚, 刘绚, 张波. 基于多阶段传输的智能变电站安全通信策略[J]. 电力系统自动化, 2021, 45(22): 105-114. Zhou Yuangang, Liu Xuan, Zhang Bo.Security communication strategy for smart substation based on multi-stage transmission[J]. Automation of Electric Power Systems, 2021, 45(22): 105-114. [3] 麻秀范, 冯晓瑜. 考虑5G网络用电需求及可靠性的变电站双Q规划法[J]. 电工技术学报, 2023, 38(11): 2962-2976. Ma Xiufan, Feng Xiaoyu.Double Q planning method for substation considering power demand of 5G network and reliability[J]. Transactions of China Electrotechnical Society, 2023, 38(11): 2962-2976. [4] 肖燕. 新一代智能变电站信息流架构设计[J]. 中国电机工程学报, 2016, 36(5): 1245-1251. Xiao Yan.Design of information flow scheme for new smart substation[J]. Proceedings of the CSEE, 2016, 36(5): 1245-1251. [5] 龚石林, 王晨, 冯彦钊, 等. 基于改进加权公平队列的变电站局域网通信队列调度策略[J]. 电力系统自动化, 2015, 39(4): 76-81. Gong Shilin, Wang Chen, Feng Yanzhao, et al.A smart substation LAN communication queue scheduling strategy based on improved WFQ algorithm[J]. Automation of Electric Power Systems, 2015, 39(4): 76-81. [6] 莫峻, 蔡义明. 计及瞬时通信故障的变压器保护可靠性评估[J]. 电工技术学报, 2019, 34(4): 807-816. Mo Jun, Cai Yiming.Reliability evaluation of transformer protection considering transient communication fault[J]. Transactions of China Electrotechnical Society, 2019, 34(4): 807-816. [7] 李宝伟, 石欣, 王志伟, 等. 基于罗氏线圈电流互感器的等传变距离保护[J]. 电工技术学报, 2023, 38(5): 1353-1362. Li Baowei, Shi Xin, Wang Zhiwei, et al.Distance relay based on rogowski coil current transformer by using instantaneous value after equal transfer processes[J]. Transactions of China Electrotechnical Society, 2023, 38(5): 1353-1362. [8] Patti G, Bello L L, Leonardi L.Deadline-aware online scheduling of TSN flows for automotive applications[J]. IEEE Transactions on Industrial Informatics, 2023, 19(4): 5774-5784. [9] 梁晨, 贺德强, 任子阳, 等. 基于时间敏感网络的列车通信网络实时流量调度优化[J]. 铁道科学与工程学报, 2024, 21(1): 58-69. Liang Chen, He Deqiang, Ren Ziyang, et al.Real-time traffic scheduling optimization of train communication network based on time-sensitive network[J]. Journal of Railway Science and Engineering, 2024, 21(1): 58-69. [10] Zhou Xuan, He Feng, Zhao Luxi, et al.Hybrid scheduling of tasks and messages for TSN-based avionics systems[J]. IEEE Transactions on Industrial Informatics, 2024, 20(2): 1081-1092. [11] 周飞飞, 何迎利, 赵华, 等. 基于时间敏感网络的流量调度机制在智能变电站中的研究与实现[J]. 电力系统保护与控制, 2021, 49(19): 107-114. Zhou Feifei, He Yingli, Zhao Hua, et al.Research and realization of a traffic scheduling mechanism based on a time-sensitive network in a smart substation[J]. Power System Protection and Control, 2021, 49(19): 107-114. [12] Docquier T, Song Yeqiong, Chevrier V, et al.IEC 61850 over TSN: traffic mapping and delay analysis of GOOSE traffic[C]//2020 25th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), Vienna, Austria, 2020: 246-253. [13] 贾惠彬, 胡子函, 吴堃, 等. 基于时间敏感网络的变电站通信网络最大时延计算方法[J]. 电力系统自动化, 2023, 47(1): 192-199. Jia Huibin, Hu Zihan, Wu Kun, et al.Calculation method for maximum time delay of substation communication network based on time-sensitive networking[J]. Automation of Electric Power Systems, 2023, 47(1): 192-199. [14] Sanchez-Garrido J, Jurado A, Medina L, et al.Digital electrical substation communications based on deterministic time-sensitive networking over Ethernet[J]. IEEE Access, 2020, 8: 93621-93634. [15] Liu Xiaoqun, Xie Yong, Zhang Jiguang, et al.Research on TSN test for smart substation[C]//2022 IEEE 5th International Conference on Electronics Technology (ICET), Chengdu, China, 2022: 437-442. [16] 尹震宇, 刘浩林, 张飞青, 等. 一种基于时间感知整形器的TAS-WRR调度算法研究与实现[J]. 小型微型计算机系统, 2021, 42(5): 1077-1081. Yin Zhenyu, Liu Haolin, Zhang Feiqing, et al.Research and implementation of TAS-WRR scheduling algorithm based on time awareness shaper[J]. Journal of Chinese Computer Systems, 2021, 42(5): 1077-1081. [17] 何锋, 李二帅, 周璇, 等. 机载时间敏感组网分析综述[J]. 航空学报, 2023, 44(17): 028165. He Feng, Li Ershuai, Zhou Xuan, et al.A review of airborne time sensitive networking[J]. Acta Aeronautica et Astronautica Sinica, 2023, 44(17): 028165. [18] IEEE Computer Society.IEEE standard for local and metropolitan area networks-bridges and bridged networks-amendment 34: enhancements for scheduled traffic: IEEE Std 802.1Qcr-2020[S]. IEEE, 2020. [19] 张秀丽, 许静静, 刘新红. 基于量化指标的变电站抗震韧性评估方法[J]. 高压电器, 2022, 58(8): 213-221. Zhang Xiuli, Xu Jingjing, Liu Xinhong.Seismic resilience assessment method of substation based on quantitative index[J]. High Voltage Apparatus, 2022, 58(8): 213-221. [20] 佟为明, 高吉星, 金显吉, 等. 智能变电站过程层网络报文传输时间计算及抖动抑制方法[J]. 电力自动化设备, 2018, 38(6): 131-137. Tong Weiming, Gao Jixing, Jin Xianji, et al.Calculation and jitter suppression of process level network message transmission time for smart substation[J]. Electric Power Automation Equipment, 2018, 38(6): 131-137. [21] 吴春华, 陈修淋, 李智华, 等. 全移相双有源全桥直流变换器的瞬态电流偏置抑制策略[J]. 电工技术学报, 2024, 39(4): 1116-1131. Wu Chunhua, Chen Xiulin, Li Zhihua, et al.Transient current bias suppression strategy of full phase shifting dual active full bridge DC converter[J]. Transactions of China Electrotechnical Society, 2024, 39(4): 1116-1131. [22] 吕航, 杨贵, 胡绍谦. 智能变电站网络传输可靠性评价方法[J]. 电气技术, 2023, 24(2): 59-63, 70. Lü Hang, Yang Gui, Hu Shaoqian.Evaluation method of network transmission reliability in smart substation[J]. Electrical Engineering, 2023, 24(2): 59-63, 70. [23] 孟广雨, 于洁潇, 杨挺. 基于随机网络演算的分布式能源调控系统时延上界计算[J]. 电工技术学报, 2020, 35(11): 2360-2371. Meng Guangyu, Yu Jiexiao, Yang Ting.Upper bound calculation of delay of distributed energy resource coordinated-control system based on stochastic network calculus[J]. Transactions of China Electrotechnical Society, 2020, 35(11): 2360-2371. [24] 陈亚鹏, 杨阳, 舒乙凌, 等. 基于业务性能偏差感知的电力通信网路由优化策略[J]. 电工技术学报, 2024, 39(11): 3411-3421. Chen Yapeng, Yang Yang, Shu Yiling, et al.Service performance deviation awareness-based power communication network routing optimization strategy[J]. Transactions of China Electrotechnical Society, 2024, 39(11): 3411-3421. [25] 王文龙, 刘明慧. 智能变电站中SMV网和GOOSE网共网可能性探讨[J]. 中国电机工程学报, 2011, 31(增刊1): 55-59. Wang Wenlong, Liu Minghui.Research on the shared-network of SMV and GOOSE in smart substation[J]. Proceedings of the CSEE, 2011, 31(S1): 55-59. [26] 李昌超, 康忠健, 于洪国, 等. 考虑电力业务重要性的电力通信网关键节点识别[J]. 电工技术学报, 2019, 34(11): 2384-2394. Li Changchao, Kang Zhongjian, Yu Hongguo, et al.Identification of key nodes in power communication network considering the importance of power businesses[J]. Transactions of China Electrotechnical Society, 2019, 34(11): 2384-2394. [27] 董雪源, 王晓茹. 用于电力系统信息综合传输的改进加权公平队列调度算法[J]. 中国电机工程学报, 2012, 32(22): 6, 149-156. Dong Xueyuan, Wang Xiaoru. Improved weighted fair queueing scheduling algorithm for integrated information transmission in power systems[J]. Proceedings of the CSEE, 2012, 32(22): 6, 149-156. [28] Specht J, Samii S.Synthesis of queue and priority assignment for asynchronous traffic shaping in switched Ethernet[C]//2017 IEEE Real-Time Systems Symposium (RTSS), Paris, France, 2017: 178-187. [29] Steinbach T, Kenfack H D, Korf F, et al.An extension of the OMNeT++ INET framework for simulating real-time Ethernet with high accuracy[C]// Proceedings of the 4th International ICST Conference on Simulation Tools and Techniques, Barcelona, Spain, 2011: 375-382. [30] Nasrallah A, Thyagaturu A S, Alharbi Z, et al.Performance comparison of IEEE 802.1 TSN time aware shaper (TAS) and asynchronous traffic shaper (ATS)[J]. IEEE Access, 2019, 7: 44165-44181. [31] 何瑞文, 龙隆, 张宝仁, 等. 电力信息物理系统中信息系统物理化的建模及分析方法[J]. 中国电机工程学报, 2024, 44(1): 72-85. He Ruiwen, Long Long, Zhang Baoren, et al.Cyber system physicalizing modeling and analysis method in cyber-physical power systems[J]. Proceedings of the CSEE, 2024, 44(1): 72-85. [32] 刘玮, 王海柱, 张延旭. 智能变电站过程层网络报文特性分析与通信配置研究[J]. 电力系统保护与控制, 2014, 42(6): 110-115. Liu Wei, Wang Haizhu, Zhang Yanxu.Study on message characteristics and communication configuration of process layer network of intelligent substation[J]. Power System Protection and Control, 2014, 42(6): 110-115. [33] 李俊娥, 陆秋余, 刘剑, 等. 智能变电站通信业务优先级及其队列调度方法[J]. 通信学报, 2021, 42(7): 25-40. Li June, Lu Qiuyu, Liu Jian, et al.Communication service priority in smart substation and its queue scheduling method[J]. Journal on Communications, 2021, 42(7): 25-40.