MTOF: A Novel FPGA-Based EMT Toolbox in MATLAB

Citation Author(s):
Xin
Ma
University of Birmingham
Xiao-Ping
Zhang
University of Birmingham
Submitted by:
Xiao-Ping Zhang
Last updated:
Thu, 12/12/2024 - 19:01
DOI:
10.21227/y1ya-vt15
Data Format:
License:
0
0 ratings - Please login to submit your rating.

Abstract 

Field programmable gate array (FPGA) is becoming an attractive solution for real-time electromagnetic transient (EMT) simulations. FPGA-based EMT simulation uses thousands of lines of code and sophisticated architecture to satisfy executable requirements ranging from the low-level analog signal to the advanced EMT mathematics. The coding would place a tremendous burden on beginners to take at least 6 months. To provide more straightforward solutions, this paper develops the MATLAB-to-FPGA EMT toolbox (MTOF) in the computational engine frame of MATLAB. Based on Input Data, MTOF under a user-friendly MATLAB environment can generate transparent FPGA-based code while complex programming under FPGA can be avoided. This brings a dramatic coding simplification and results in significant savings of programming time. MTOF includes automatic calculation sequence, resource utilization, and initialization.  For high accuracy, MTOF performs the Floating-Point arithmetic of EMT models with more readable data formats (e.g. memory unit) on FPGA. To improve computational efficiency, ready-to-run architecture is presented to automate code generation quickly. MTOF can generate FPGA code files within 50 s and 300 s for the 4-machine 11-bus and 10-machine 39-bus systems, respectively. To verify the effectiveness of the generated FPGA code generated by MTOF, simulations are demonstrated on the two systems using a single FPGA board with high accuracy.

Instructions: 

1. The Instructions can be found in the  "Manual for MTOF: A Novel FPGA-Based EMT Toolbox in MATLAB", which can also be found in the zip file: 5GUIDE.ZIP

2. "A Video Guide of MTOF" can be found in the zip file: 5GUIDE.ZIP