| With the rise of distributed power generation,there are more and more power electronic equipment in the power system.In order to build a more accurate model and restore a more accurate grid model,a simulator is usually needed to accelerate device development and functional verification.At present,domestic commercial emulator platforms are monopolized by foreign companies,lacking core competitiveness,foreign products are expensive and have poor scalability,and cannot meet the needs of large-scale simulation.Therefore,this paper studies the hardware-in-the-loop emulator platform for power systems.First of all,this article explains the principle of the simulator system,introduces the current research status of the simulator and some commercial mature platforms abroad.Due to the low cost performance of the commercial platforms,the limited simulation capacity and poor compatibility,this article uses FPGA to build a prototype of the simulator hardware platform.Secondly,this article discussed the hardware interface algorithm,analyzed the stability and accuracy of the ideal transformer method,pointed out its shortcomings,improved the ideal transformer method and verified its feasibility by simulation.This article uses multi-rate simulation to establish a multi-FPGA-based simulator platform,introduces the theory of component discretization and model segmentation,studies the stability of the multi-rate method,derives stable conditions,and uses Matlab software for simulation verification,Use the interpolation method to make the large and small step size subsystem complete the interaction,and design the multi-rate hardware implementation method.After that,this article introduces hardware parallel and functional modules,the hardware function realization method of electromagnetic transient algorithm,designs AD/DA interface and communication bus module,respectively introduces the master-slave mode of SPI bus structure and the communication mode of PCIE interface,and finally selects SPI is used as the communication method between the acquisition card and FPGA,and the PCIE interface is used as the communication method for multi-FPGA parallel operation,and it is verified on the board.Finally,build a platform based on the AX7325 FPGA core board,and establish an IEEE14-node power system model containing distributed power to compare with the simulation waveform of RT-LAB to verify the feasibility of the platform. |