This guide provides and overview of the Dual PMSM VDQ Local Control Example included in the OPAL-RT Power Electronics Add-On for NI VeriStand.  We will discuss deploying, running, and monitoring the simulation in real-time. 

The eHS circuit model used in this example was created using the  Simscape Electrical Specialized Power Systems Simulink Blockset (see below). It represents a grid-tied, three-phase diode rectifier for charging the DC Link, as well as a two-Level, three-phase universal bridge.  The bridge is electrically connected to the PMSM machine model through the project configuration. We generate three sine waves using the built-in FPGA signal generators to simulate the U01 Va, U02 Vb, and U03 Vc AC sources in the electrical circuit. The universal bridge gates SW01_06 INVERTER are controlled using signals from the on-board SPWM generators. The PMSM calculated currents are fed back to the universal bridge through the current sources U04 IaPMSM and U05 IbPMSM.

The tutorial has been split into the following sections: