This paper demonstrates a hardware-in-the-loop (HIL) approach to observing the high speed dynamics of a permanent magnet generator (PMG) coupled with a micro-turbine (MT) during loading and various speed command operations. The HIL implementation is done in the form of model-in-the-loop (MIL) in which a mathematical model of the generation system is performed and interfaced with the actual hardware of the remaining distributed system. Due to the high speed rotor operation, the dynamic equations of a MT and PMG have been implemented on a field programmable gate array (FPGA), the Altera DE2 development board. Fast arithmetic and logic operations in such complicated systems can be achievable on an FPGA using parallel processing capabilities to perform real-time emulation with a very small time step. The MIL emulation interfaces with hardware via serial peripheral interface (SPI) communication to the TMS320F28335 digital signal controller (DSC) of a 3-phase inverter supervisory unit. This supervising unit then directs the inverter output to match FPGA calculated stator voltage while inverter output resistance is virtually emulated in FPGA through measurement in hardware. Additionally, a user input interface using dSPACE on a PC to adjust the speed reference of the generator system is introduced. This experimental setup is a part of the nonlinear dynamic loads (NLDL) testbed developed by the Center for Advanced Power Systems (CAPS) to address a scaled medium voltage direct current (MVDC) distribution system of the all-electric ship. The methodology for HIL implementation is thoroughly explained for the MT-PMG system. The simulations/experimental results are also presented and validated.
展开▼