Modular multilevel converters (MMCs), with their inherent features and advantages over other conventional converters, have gained popularity and remain an ongoing topic of research. Many scholars have solved issues related to the operation, control, protection, and reliability of MMCs using simulation software and small hardware prototypes. We propose a novel approach for an MMC controller design with real-time systems. By utilizing a key benefit of LabVIEW Multisim co-simulation, an MMC control algorithm that can be deployed on a field-programmable gate array (FPGA) was developed in LabVIEW. The complete circuit was designed in Multisim, and a co-simulation was performed to drive an MMC model. The benefit of this topology is that control algorithms can be designed in a LabVIEW FPGA and tested with the Multisim co-simulation circuit to obtain simulation results. Once the controller works and provides satisfactory results, the same algorithm can be deployed in any NI (National Instruments) FPGA-based controller, like a compact remote input/output (RIO), to control real-time MMCs designed in an NI PCI eXtensions for Instrumentation (PXI) system. This method saves time and provides flexibility for effectively designing control algorithms and implementing them in an FPGA for real-time model implementation.
Integration of renewable energy resources and conventional grids leads to an increase in power quality issues. These power quality issues require different standards to be followed for accurate measurement and monitoring of various parameters of the power system. Conventional power quality analyzers (PQAs) are programmed to a particular standard and cannot be reconfigured by the end user. Therefore, conventional PQAs cannot meet the challenges of a rapidly changing grid. In this regard, a Compact RIO-based (CRIO-based) PQA was proposed, that can be easily reprogrammed and cope with the challenges faced by conventional PQAs. The salient features of the proposed PQA are a high processing speed, interactive interface, and high-quality data-storage capacity. Moreover, unlike conventional PQAs, the proposed PQA can be monitored remotely via the internet. In this research, a hardware-in-loop (HIL) simulation is used for performing the power-quality assessment in a systematic manner. Power quality indices such as apparent power, power factor, harmonics, frequency disturbance, inrush current, voltage sag and voltage swell are considered for validating the performance of the proposed PQA against the Fluke’s PQA 43-B.