Research on Transient Real-Time Simulation of New Energy Low-Voltage DC Distribution System Based on Field Programmable Gate Array
Wang Shouxiang1,2, Zhang Chunyu1,2, Zhao Qianyu1,2
1. Key Laboratory of Smart Grid of Ministry of Education Tianjin University Tianjin 300072 China; 2. Tianjin Key Laboratory of Power System Simulation and Control Tianjin 300072 China
Abstract:New energy low-voltage direct current (DC) distribution system is closely connected with the power consumers and has advantages of low construction cost, high operation efficiency and high compatibility of power electronic devices. However, the new energy generation systems that have fluctuating and intermittent characteristics directly affect the stability and reliability of the low-voltage DC distribution system operation. A real-time simulation device of the low-voltage DC distribution system can reproduce its dynamic characteristics in real time to help each device in the system complete hardware-in-loop test so as to improve the stability and reliability of the entire system. As an application-specific integrated circuit, field programmable gate array (FPGA), which integrates various functional circuits, has the advantages of small size, low cost and outstanding parallel computing capabilities. But one factor that must be considered is that FPGA only has limited hardware resources, which determines the operation of the simulator. As a result, in the development of FPGA-based simulator, both the real-time performance of simulation calculation and the operating efficiency of internal hardware resources should be taken into account. After considering these issues, this paper develops an FPGA-based real-time simulator of low-voltage DC distribution system containing a variety of distributed new energy sources. Firstly, the characteristics of different types of distributed power supply are analyzed and the corresponding simulation method based on FPGA is designed. The simulation method of the switching components of power electronics is obtained by using the associated discrete circuit method. Secondly, an FPGA-based simulation architecture of the new energy low-voltage DC distribution system is presented. In this architecture, the electrical system and the control system operate in parallel to improve the computational efficiency and are further decomposed into smaller functional blocks. The internal floating-point operations are factorized by introducing the methodology of "algorithm architecture adequation (AAA)" to reduce the occupancy of hardware resources inside FPGA. Then, under the framework of nodal analysis method, a parallel solution method for the electrical system nodal conductance matrix combining matrix LDU decomposition and directed acyclic graph (DAG) is established. In this method, after obtaining the triangular matrices L and U, the data dependencies in solving the corresponding equations are expressed in the form of DAG. The DAG is further decomposed and reorganized to multiple new computational areas with relatively balanced computational load so as to improve the computational efficiency of the hardware processing elements (PEs), which are operated in parallel online. Finally, an FPGA-based real-time simulator of new energy low-voltage DC distribution system is developed. The experiment results under different transient scenarios are obtained and compared with the calculation results of PSCAD/EMTDC to verify the effectiveness and accuracy of the developed real-time simulator. The experiments lead to these conclusions: (1) The comparative experimental results show that the relative error of the real-time simulator constructed in this paper is within the allowable range. (2) The proposed series-parallel hybrid computing architecture established by introducing AAA methodology effectively reduces the occupancy of FPGA internal hardware resources. (3) The proposed real-time solution method of electrical system node conductance matrix combining matrix LDU decomposition and DAG improves the dynamic calculation efficiency of FPGA and the ability to solve high-dimensional linear equations.
王守相, 张春雨, 赵倩宇. 基于FPGA的新能源低压直流配电系统暂态实时仿真研究[J]. 电工技术学报, 2024, 39(17): 5365-5378.
Wang Shouxiang, Zhang Chunyu, Zhao Qianyu. Research on Transient Real-Time Simulation of New Energy Low-Voltage DC Distribution System Based on Field Programmable Gate Array. Transactions of China Electrotechnical Society, 2024, 39(17): 5365-5378.
[1] 江道灼, 郑欢. 直流配电网研究现状与展望[J]. 电力系统自动化, 2012, 36(8): 98-104. Jiang Daozhuo, Zheng Huan.Research status and developing prospect of DC distribution network[J]. Automation of Electric Power Systems, 2012, 36(8): 98-104. [2] 庄莹, 裴玮, 刘子奇, 等. 提升低压直流配电稳定性的时滞模型预测附加控制[J]. 电工技术学报, 2023, 38(12): 3248-3263. Zhuang Ying, Pei Wei, Liu Ziqi, et al.Time-delay model predictive additional control strategy to improve the stability of low-voltage DC distribution system[J]. Transactions of China Electrotechnical Society, 2023, 38(12): 3248-3263. [3] 李博通, 刘涛, 杨昕陆, 等. 故障自清除型直流配电网新型双极短路故障元件识别方法[J]. 电工技术学报, 2022, 37(17): 4423-4434. Li Botong, Liu Tao, Yang Xinlu, et al.New fault element identification method of bipolar short-circuit fault in DC distribution network with fault self-clearing[J]. Transactions of China Electrotechnical Society, 2022, 37(17): 4423-4434. [4] 郭慧, 汪飞, 顾永文, 等. 基于电压分层控制的直流微电网及其储能扩容单元功率协调控制策略[J]. 电工技术学报, 2022, 37(12): 3117-3131. Guo Hui, Wang Fei, Gu Yongwen, et al.Coordinated power control strategy for DC microgrid and storage expansion unit based on voltage hierarchical control[J]. Transactions of China Electrotechnical Society, 2022, 37(12): 3117-3131. [5] 林莉, 范米, 林雨露, 等. 基于不确定与扰动估计器的直流配电网电压鲁棒控制[J]. 电工技术学报, 2023, 38(17): 4657-4671. Lin Li, Fan Mi, Lin Yulu, et al.Uncertainty and disturbance estimator-based control for voltage robust controller in DC distribution network[J]. Transactions of China Electrotechnical Society, 2023, 38(17): 4657-4671. [6] 杨立敏, 朱艺颖, 郭强, 等. 基于HYPERSIM的柔性直流输电系统数模混合仿真建模及试验[J]. 电网技术, 2020, 44(11): 4055-4062. Yang Limin, Zhu Yiying, Guo Qiang, et al.Modelling and validation of digital-analog hybrid simulation for VSC-HVDC system based on HYPERSIM[J]. Power System Technology, 2020, 44(11): 4055-4062. [7] 杨玲. 基于RTDS的大规模交直流电力系统仿真建模研究[D]. 保定: 华北电力大学, 2010. Yang Ling.Research on simulation and modeling of large scale AC/DC power systems based on RTDS[D]. Baoding: North China Electric Power University, 2010. [8] 张建伟, 张然, 龚栋梁, 等. 基于RTDS的配电网单相接地选线方法验证[J]. 电气技术, 2018, 19(10): 40-43, 49. Zhang Jianwei, Zhang Ran, Gong Dongliang, et al.The verification based on RTDS of fault line selection method for distribution power system[J]. Electrical Engineering, 2018, 19(10): 40-43, 49. [9] 胡涛, 朱艺颖, 张星, 等. 全数字实时仿真装置与物理仿真装置的功率连接技术[J]. 电网技术, 2010, 34(1): 51-55. Hu Tao, Zhu Yiying, Zhang Xing, et al.Power connection technology for full-digital real-time simulator and analogue simulator[J]. Power System Technology, 2010, 34(1): 51-55. [10] Khazaei J, Miao Zhixin, Piyasinghe L, et al.Real-time digital simulation-based modeling of a single-phase single-stage PV system[J]. Electric Power Systems Research, 2015, 123: 85-91. [11] Srinivasan A, Moirangthem J, Panda S K, et al.Hardware-in-loop control of a standalone microgrid[C]//2019 IEEE International Conference on Sustainable Energy Technologies and Systems (ICSETS), Bhubaneswar, India, 2019: 365-370. [12] 付浩, 李鹏, 富晓鹏, 等. 面向多FPGA实时仿真器的资源优化配置方法[J]. 电力系统自动化, 2023, 47(11): 88-100. Fu Hao, Li Peng, Fu Xiaopeng, et al.Optimal resource allocation method for real-time simulator based on multiple field programmable gate arrays[J]. Automation of Electric Power Systems, 2023, 47(11): 88-100. [13] 李子润, 徐晋, 汪可友, 等. 电力电子换流器离散小步合成实时仿真模型[J]. 电工技术学报, 2022, 37(20): 5267-5277. Li Zirun, Xu Jin, Wang Keyou, et al.A discrete small-step synthesis real-time simulation model for power converters[J]. Transactions of China Electrotechnical Society, 2022, 37(20): 5267-5277. [14] Dagbagi M, Hemdani A, Idkhajine L, et al.ADC-based embedded real-time simulator of a power converter implemented in a low-cost FPGA: application to a fault-tolerant control of a grid-connected voltage-source rectifier[J]. IEEE Transactions on Industrial Electronics, 2016, 63(2): 1179-1190. [15] Vanderbauwhede W, Benkrid K.High-Performance Computing Using FPGAs[M]. New York, NY: Springer, 2013. [16] Lee J S, Choi G.Modeling and hardware-in-the-loop system realization of electric machine drives—a review[J]. CES Transactions on Electrical Machines and Systems, 2021, 5(3): 194-201. [17] Lin Ning, Dinavahi V.Dynamic electro-magnetic-thermal modeling of MMC-based DC-DC converter for real-time simulation of MTDC grid[J]. IEEE Transactions on Power Delivery, 2018, 33(3): 1337-1347. [18] 朱建鑫, 胡海兵, 陆道荣, 等. 应用于级联STATCOM的高精度低成本全FPGA实时仿真模型研究[J]. 电工技术学报, 2019, 34(4): 777-785. Zhu Jianxin, Hu Haibing, Lu Daorong, et al.The research on fully FPGA-based real-time simulation with high fidelity and low cost for the cascaded STATCOM[J]. Transactions of China Electrotechnical Society, 2019, 34(4): 777-785. [19] 郝琦, 葛兴来, 宋文胜, 等. 电力牵引传动系统微秒级硬件在环实时仿真[J]. 电工技术学报, 2016, 31(8): 189-198. Hao Qi, Ge Xinglai, Song Wensheng, et al.Microsecond hardware-in-the-loop real-time simulation of electrical traction drive system[J]. Transactions of China Electrotechnical Society, 2016, 31(8): 189-198. [20] 肖帅, 孙建波, 耿华, 等. 基于FPGA实现的可变模全数字锁相环[J]. 电工技术学报, 2012, 27(4): 153-158. Xiao Shuai, Sun Jianbo, Geng Hua, et al.FPGA based ratio changeable all digital phase-locked-loop[J]. Transactions of China Electrotechnical Society, 2012, 27(4): 153-158. [21] 王成山, 丁承第, 李鹏, 等. 基于FPGA的配电网暂态实时仿真研究(一): 功能模块实现[J]. 中国电机工程学报, 2014, 34(1): 161-167. Wang Chengshan, Ding Chengdi, Li Peng, et al.Real-time transient simulation for distribution systems based on FPGA, part I: module realization[J]. Proceedings of the CSEE, 2014, 34(1): 161-167. [22] 王成山, 丁承第, 李鹏, 等. 基于FPGA的配电网暂态实时仿真研究(二): 系统架构与算例验证[J]. 中国电机工程学报, 2014, 34(4): 628-634. Wang Chengshan, Ding Chengdi, Li Peng, et al.Real-time transient simulation for distribution systems based on FPGA, part Ⅱ: system architecture and algorithm verification[J]. Proceedings of the CSEE, 2014, 34(4): 628-634. [23] Cardenas A, Guzman C, Agbossou K.Development of a FPGA based real-time power analysis and control for distributed generation interface[J]. IEEE Transactions on Power Systems, 2012, 27(3): 1343-1353. [24] Duan Tong, Cheng Tianshi, Dinavahi V.Heterogeneous real-time co-emulation for communication-enabled global control of AC/DC grid integrated with renewable energy[J]. IEEE Open Journal of the Industrial Electronics Society, 2020, 1: 261-270. [25] Nasiri M, Milimonfared J, Fathi S H.Modeling, analysis and comparison of TSR and OTC methods for MPPT and power smoothing in permanent magnet synchronous generator-based wind turbines[J]. Energy Conversion and Management, 2014, 86: 892-900. [26] 尹明, 李庚银, 张建成, 等. 直驱式永磁同步风力发电机组建模及其控制策略[J]. 电网技术, 2007, 31(15): 61-65. Yin Ming, Li Gengyin, Zhang Jiancheng, et al.Modeling and control strategies of directly driven wind turbine with permanent magnet synchronous generator[J]. Power System Technology, 2007, 31(15): 61-65. [27] Pejovic P, Maksimovic D.A method for fast time-domain simulation of networks with switches[J]. IEEE Transactions on Power Electronics, 1994, 9(4): 449-456. [28] 宋丽翠. 大规模稀疏线性系统的并行求解方法研究[D]. 北京: 华北电力大学, 2019. Song Licui.Research on parallel solving of large scale sparse linear systems[D]. Beijing: North China Electric Power University, 2019