上海交通大学学报 ›› 2025, Vol. 59 ›› Issue (11): 1684-1693.doi: 10.16183/j.cnki.jsjtu.2023.540
收稿日期:2023-10-26
修回日期:2024-01-12
接受日期:2024-01-24
出版日期:2025-11-28
发布日期:2025-12-02
通讯作者:
蔡泽祥
E-mail:epzxcai@scut.edu.cn
作者简介:胡凯强(1993—),博士生,从事电力物联网、边缘计算、电力系统保护与控制的研究.
基金资助:
HU Kaiqiang1, CAI Zexiang1(
), CAI Yu2, QU Jing1, LIU Yuanyuan1
Received:2023-10-26
Revised:2024-01-12
Accepted:2024-01-24
Online:2025-11-28
Published:2025-12-02
Contact:
CAI Zexiang
E-mail:epzxcai@scut.edu.cn
摘要:
当前基于微服务及容器架构的配网终端研究忽略了虚拟化时延的影响,限制了其在保护控制等高实时性要求场景下的应用.为此,提出一种面向微服务及容器架构配网保护控制终端的微服务调度框架与策略.分析配网保护与控制终端业务的时延需求与容器虚拟化时延影响,并提出保护控制微服务调度框架;建立微服务调度模型,包括业务的微服务模型、时延模型以及评价模型,提出基于队列状态转换的微服务调度策略;通过算例仿真验证所提调度策略的有效性,并进一步优化.研究结果表明,所提调度策略能够有效避免虚拟化时延的影响,且采用先到先服务算法可以取得更好的整体性能表现.
中图分类号:
胡凯强, 蔡泽祥, 蔡煜, 屈径, 刘媛媛. 考虑虚拟化时延的配电网保护控制微服务调度模型与优化[J]. 上海交通大学学报, 2025, 59(11): 1684-1693.
HU Kaiqiang, CAI Zexiang, CAI Yu, QU Jing, LIU Yuanyuan. Micro-Service Scheduling Model and Optimization for Protection and Control of Distribution Network Considering Virtualization Delay[J]. Journal of Shanghai Jiao Tong University, 2025, 59(11): 1684-1693.
表1
微服务属性
| 业务名称 | 微服务组成 | 编号 | tE/ms | 截止时间/s | 请求方式 | 业务类型 |
|---|---|---|---|---|---|---|
| 保护业务(s1) | 电流数据采集 | 0.01 | 0.001 | 周期(1 ms) | I类 | |
| 重采样 | 0.02 | |||||
| 起动判断 | 0.05 | |||||
| 傅里叶计算 | 0.1 | |||||
| 保护逻辑判断 | 0.1 | |||||
| 平台业务(s2) | 三遥服务 | 0.2 | 1 | 周期(1 s) | I类 | |
| 录波 | 0.5 | |||||
| 事件顺序记录 | 0.5 | |||||
| 定值服务 | 0.2 | |||||
| 拓扑解析 | 5.0 | |||||
| IEC104服务 | 0.2 | |||||
| 电压控制(s3) | 电压数据采集 | 0.01 | 下次业务到达时间 | 随机触发 | II类 | |
| 无功电压报文解析 | 0.1 | |||||
| 标幺值计算 | 0.1 | |||||
| 状态转移矩阵计算 | 2.0 | |||||
| 本地吸收无功计算 | 0.8 | |||||
| 逆变器安装容量计算 | 0.8 | |||||
| 一致性变量计算 | 2.0 | |||||
| 无功电压报文发送 | 0.5 | |||||
| 逆变器控制 | 0.2 | |||||
| 负荷控制(s4) | 负荷报文解析 | 0.1 | 下次业务到达时间 | 随机触发 | II类 | |
| 实时电价解析 | 0.1 | |||||
| 峰谷电价分析 | 0.5 | |||||
| 负荷预测 | 4.0 | |||||
| 电价弹性矩阵 | 0.8 | |||||
| 负荷响应量计算 | 0.8 | |||||
| 负荷控制 | 0.2 |
| [1] | 董旭柱, 华祝虎, 尚磊, 等. 新型配电系统形态特征与技术展望[J]. 高电压技术, 2021, 47(9): 3021-3035. |
| DONG Xuzhu, HUA Zhuhu, SHANG Lei, et al. Morphological characteristics and technology prospect of new distribution system[J]. High Voltage Engineering, 2021, 47(9): 3021-3035. | |
| [2] |
杨博, 王俊婷, 俞磊, 等. 基于孔雀优化算法的配电网储能系统双层多目标优化配置[J]. 上海交通大学学报, 2022, 56(10): 1294-1307.
doi: 10.16183/j.cnki.jsjtu.2021.371 |
| YANG Bo, WANG Junting, YU Lei, et al. Peafowl optimization algorithm based bi-level multi-objective optimal allocation of energy storage systems in distribution network[J]. Journal of Shanghai Jiao Tong University, 2022, 56(10): 1294-1307. | |
| [3] | 吕军, 栾文鹏, 刘日亮, 等. 基于全面感知和软件定义的配电物联网体系架构[J]. 电网技术, 2018, 42(10): 3108-3115. |
| LÜ Jun, LUAN Wenpeng, LIU Riliang, et al. Architecture of distribution Internet of Things based on widespread sensing & software defined technology[J]. Power System Technology, 2018, 42(10): 3108-3115. | |
| [4] |
王精, 邢海军, 王华昕, 等. 考虑电动汽车及负荷聚合商参与的综合能源系统优化调度[J]. 上海交通大学学报, 2023, 57(7): 814-823.
doi: 10.16183/j.cnki.jsjtu.2022.029 |
| WANG Jing, XING Haijun, WANG Huaxin, et al. Optimal scheduling of integrated energy system considering integration of electric vehicles and load aggregators[J]. Journal of Shanghai Jiao Tong University, 2023, 57(7): 814-823. | |
| [5] | 刘广一, 史迪, 朱文东, 等. 云雾协同优化控制和软件定义应用技术[J]. 电力信息与通信技术, 2016, 14(3): 89-95. |
| LIU Guangyi, SHI Di, ZHU Wendong, et al. Cloud-fog coordination optimization and control and software defined application technology[J]. Electric Power Information and Communication Technology, 2016, 14(3): 89-95. | |
| [6] | 孙宇嫣, 蔡泽祥, 马国龙, 等. 电力物联网云主站计算负荷模型与资源优化配置[J]. 电力自动化设备, 2021, 41(4): 177-183. |
| SUN Yuyan, CAI Zexiang, MA Guolong, et al. Workload model and optimal resource allocation of cloud master station in Power Internet of Things[J]. Electric Power Automation Equipment, 2021, 41(4): 177-183. | |
| [7] |
PAU M, MIRZ M, DINKELBACH J, et al. A service oriented architecture for the digitalization and automation of distribution grids[J]. IEEE Access, 2022, 10: 37050-37063.
doi: 10.1109/ACCESS.2022.3164393 URL |
| [8] | 林志超, 钟红梅, 韦园清, 等. 基于容器的配网保护微服务建模与计算资源调度方法[J]. 电力科学与技术学报, 2022, 37(5): 174-180. |
| LIN Zhichao, ZHONG Hongmei, WEI Yuanqing, et al. Container-based microservice modeling and computing resource scheduling method for distribution network protection[J]. Journal of Electric Power Science and Technology, 2022, 37(5): 174-180. | |
| [9] | 邵苏杰, 吴磊, 钟成, 等. 面向多工作流的基于容器的边缘微服务选择机制[J]. 电子与信息学报, 2022, 44(11): 3748-3756. |
| SHAO Sujie, WU Lei, ZHONG Cheng, et al. Container based microservice selection for multi-workflow in edge computing paradigm[J]. Journal of Electronics & Information Technology, 2022, 44(11): 3748-3756. | |
| [10] | 张冀川, 陈蕾, 张明宇, 等. 配电物联网智能终端的概念及应用[J]. 高电压技术, 2019, 45(6): 1729-1736. |
| ZHANG Jichuan, CHEN Lei, ZHANG Mingyu, et al. Conception and application of smart terminal for distribution Internet of Things[J]. High Voltage Engineering, 2019, 45(6): 1729-1736. | |
| [11] | 聂峥, 章坚民, 傅华渭. 配变终端边缘节点化及容器化的关键技术和应用场景设计[J]. 电力系统自动化, 2020, 44(3): 154-161. |
| NIE Zheng, ZHANG Jianmin, FU Huawei. Key technologies and application scenario design for making distribution transformer terminal unit being a containerized edge node[J]. Automation of Electric Power Systems, 2020, 44(3): 154-161. | |
| [12] | 岑伯维, 胡春潮, 蔡泽祥, 等. 配电物联网台区边缘计算终端微服务的文件锁数据同步机制[J]. 电力系统自动化, 2022, 46(13): 195-203. |
| CEN Bowei, HU Chunchao, CAI Zexiang, et al. File lock based data synchronization mechanism for microservice of edge computing terminal in power distribution Internet of Things Station Area[J]. Automation of Electric Power Systems, 2022, 46(13): 195-203. | |
| [13] | 程钎, 陈羽, 孙伶雁, 等. 微服务架构下配电台区任务云边协同在线调度策略[J]. 电力系统保护与控制, 2022, 50(23): 142-150. |
| CHENG Qian, CHEN Yu, SUN Lingyan, et al. Cloud-edge collaborative online scheduling strategy for distribution station area tasks with a microservice architecture[J]. Power System Protection and Control, 2022, 50(23): 142-150. | |
| [14] | 岑伯维, 蔡泽祥, 武志刚, 等. 电力物联网边缘计算终端的微服务建模与计算资源配置方法[J]. 电力系统自动化, 2022, 46(5): 78-86. |
| CEN Bowei, CAI Zexiang, WU Zhigang, et al. Microservice modeling and computing resource configuration method for edge computing terminal in electric Internet of Things[J]. Automation of Electric Power Systems, 2022, 46(5): 78-86. | |
| [15] | 陈元榉, 蔡泽祥, 岑伯维, 等. 考虑任务耦合的配电网边缘计算终端部署与任务分配方法[J]. 电力系统自动化, 2022, 46(22): 32-40. |
| CHEN Yuanju, CAI Zexiang, CEN Bowei, et al. Deployment and task allocation method of edge computing terminals in distribution network considering task coupling[J]. Automation of Electric Power Systems, 2022, 46(22): 32-40. | |
| [16] | STRUHÁR V, BEHNAM M, ASHJAEI M, et al. Real-time containers: A survey[C]// 2nd Workshop on Fog Computing and the IoT. Wadern, Germany: Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2020: 1-9. |
| [17] |
SOLLFRANK M, LOCH F, DENTENEER S, et al. Evaluating docker for lightweight virtualization of distributed and time-sensitive applications in industrial automation[J]. IEEE Transactions on Industrial Informatics, 2021, 17(5): 3566-3576.
doi: 10.1109/TII.9424 URL |
| [18] | MOGA A, SIVANTHI T, FRANKE C. OS-level virtualization for industrial automation systems: Are we there yet?[C]// Proceedings of the 31st Annual ACM Symposium on Applied Computing. Pisa, Italy: ACM, 2016: 1838-1843. |
| [19] | 孙毅, 陈恺, 陆旭. 面向需求响应的多边缘网关协同信息缓存与分发策略[J]. 中国电机工程学报, 2022, 42(14): 5045-5056. |
| SUN Yi, CHEN Kai, LU Xu. An information caching and distribution strategy of demand response service considering cooperation of edge gateways[J]. Proceedings of the CSEE, 2022, 42(14): 5045-5056. | |
| [20] | 杨维永, 刘苇, 崔恒志, 等. SG-Edge: 电力物联网可信边缘计算框架关键技术[J]. 软件学报, 2022, 33(2): 641-663. |
| YANG Weiyong, LIU Wei, CUI Hengzhi, et al. SG-Edge: Key technology of power Internet of Things trusted edge computing framework[J]. Journal of Software, 2022, 33(2): 641-663. | |
| [21] |
MORABITO R. Virtualization on Internet of Things edge devices with container technologies: A performance evaluation[J]. IEEE Access, 2017, 5: 8835-8850.
doi: 10.1109/ACCESS.2017.2704444 URL |
| [1] | 杜宇石, 琚长江, 杨根科. 基于非线性观测器的超级电容器荷电状态在线估计[J]. 上海交通大学学报, 2022, 56(12): 1630-1637. |
| [2] | 吴靖, 谭海云, 史宇超, 侯伟宏, 汤明. 基于石墨烯和氮化硼的高性能电容器[J]. 上海交通大学学报, 2022, 56(10): 1325-1333. |
| [3] | 史国宝, 郑明光, 张琨, 匡波, 刘鹏飞. CAP1400压力容器外壁面临界热通量试验[J]. 上海交通大学学报, 2022, 56(1): 14-20. |
| [4] | 孟令通, 蒋祖华, 陶宁蓉, 刘建峰, 郑虹. 考虑工艺顺序和组合分段的多堆场调度方法[J]. 上海交通大学学报, 2020, 54(4): 331-343. |
| [5] | 张田,潘尔顺. 基于时间序列分析的电容器退化模型[J]. 上海交通大学学报, 2019, 53(11): 1316-1325. |
| [6] | 郭锐, 刘晓晶, 程旭. 压力容器下封头外壁临界热流密度模型[J]. 上海交通大学学报, 2015, 49(12): 1792-1796. |
| [7] | 沈明学, 谢林君, 赵丽娜, 励行根, 王燕, 彭旭东. 反应堆压力容器用Inconel 718合金O形环密封性能[J]. 上海交通大学学报, 2015, 49(12): 1785-1791. |
| [8] | 李永春, 周卫华, 杨燕华, 匡波, 程旭. REPEC非加热实验的RELAP程序模拟[J]. 上海交通大学学报(自然版), 2011, 45(03): 408-412. |
| 阅读次数 | ||||||
|
全文 |
|
|||||
|
摘要 |
|
|||||