MTOF: A Novel FPGA-Based EMT Toolbox in MATLAB
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.
Authors
- Xiaoping Zhang (ORCID: https://orcid.org/0000-0003-0995-4989)
- Xin Ma (ORCID: https://orcid.org/0000-0001-7958-3103)
Institutions
- University of Birmingham (GB)
Publication Details
- Journal
- IEEE Transactions on Power Systems
- Published
- 2025-01-29
- DOI
- https://doi.org/10.1109/tpwrs.2025.3535841
- Primary Topic
- Embedded Systems Design Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00