Developing a custom PMU application based on the Open PMU Project for LabVIEW requires the following software components.
*GEMstudio Pro is used to develop the LCD display firmware. If you do not need to develop the LCD display firmware, GEMstudio Pro is not required.
Ensure that the following software components are installed to the CompactRIO controller through NI MAX.
The Open PMU Project was designed for the following hardware.
The Open PMU Project also provides example code for using the NI 9225 and NI 9227 to measure voltage and current data as well as recommendations for customizing the module set to address custom I/O requirements.
The architecture uses a hub-and-spoke style messaging system to communicate with multiple, asynchronous processing engines. This architecture is designed to aid in code modularity making it easier to reuse and expand the functionality. The LabVIEW code manages all of the power related calculations, time synchronization, general system management, web services, and protocol communication.
Figure 1. The LabVIEW code for the PMU Project is designed for modularity, reuse, and expansion.
The project for the Amulet touch screen display is included as well. An API for LabVIEW is used to make calls to the microprocessor on the display and pass data. A license for GEMstudio is required to edit the display project. This license can be purchased from Amulet Technologies. There is two-way communication between the display and the CompactRIO controller to pass data and commands.
Figure 2. GEMstudio is the development environment for the touchscreen display. The GEMstudio project is included along with the LabVIEW code.
The LabVIEW code running on the CompactRIO controller runs a web service to provide data to a thin client hosted on the controller. Any number of common, popular web tools and languages can be used to develop thin clients compatible with the web services hosted by LabVIEW. The code and materials for the shipping thin client interface is also included with the project.
Figure 3. The thin client web interface design is included with the project.
The code is provided as is to be used as a starting point for the development of unique, customized intelligent electronic devices used on a utility grid. It is free for modification and installation with the dozens of CompactRIO controllers and over 100 unique sensor and signal I/O modules.
The source code guide is provided with the project and highlights the code architecture, best practices for running and building the application, and for customizing the source code.
Components like the open PMU project for LabVIEW add to the NI technology platform and place more capability into the hands of the utility grid domain experts helping them to solve new and unique problems in less time than the traditional approach. These tools are also ideal for energy research as they combine the flexibility of computer based simulation hardware with the ruggedness and sensor compatibility of field deployable hardware.
The Open PMU Project can send data, configuration, and header frames to PDCs, and receive and respond to the command frames that are predefined in IEEE Std C37.118.2-2011. The NI PMU personality software supports up to 10 independent stream channels that can communicate with 10 different PDCs simultaneously. To verify functionality of a customized PMU, there is various open source PDC application software available.