High-Speed Electrical Analysis
Industry: Energy & Power, Government
INTRODUCTIONNational Renewable Energy Laboratory (NREL) scientists and engineers research renewable energy and energy-efficient technologies, often partnering with private industry to deliver these ideas to the general public. NREL designed the Energy Systems Integration Facility (ESIF) to facilitate ground-breaking research in areas such as solar and wind, grid planning and operations, energy storage, building technologies, fuel cells, and advanced vehicles. Each lab at the state-of-the-art 182,500 sq ft facility is designed and instrumented to foster research on all aspects of energy systems integration. Some of the unique capabilities of these labs include the ability to perform hardware-in-the-loop (HIL) simulations at megawatt-scale power, petascale computing at the High Performance Computing Data Center, and the unique Research Electrical Distribution Bus (REDB). Monitored with CompactRIO, REDB is the ultimate power integration circuit. It consists of two AC and two DC ring buses that interconnect multiple sources of energy across the facility, enabling NREL to work with industry to provide plug-and-play testing at grid-scale levels.
Since the ESIF is intended for researching various forms of energy integration, NREL researchers needed a system for monitoring power usage and controlling safety systems for each experiment or laboratory on a facility-wide scale. Monitoring AC and DC power loads can provide researchers with power usage information for their individual experiments and allow facility managers to view the total energy usage on a facility-wide or laboratory-by-laboratory basis. An additional benefit is the safety monitoring for laboratories in the event of dangerous electrical conditions caused by experiments, ultimately protecting the researchers and facility equipment.
Researchers needed a power monitor they could configure on an individual experiment basis for multi-phase AC and DC measurements. They also needed a configurable power monitor they could use to mimic multiple types of circuit breakers while analyzing power characteristics such as real power, reactive power, and energy. To enable live analysis of complex energy experiments, researchers required high-speed and high-resolution data (16-bit, 50 kS/s). Finally, the power monitor needed to communicate to various third-party human machine interfaces (HMIs) and programmable logic controller (PLC) devices from Wonderware and Siemens. A power monitor capable of providing all of these features did not exist in the market. As a result, Optimation was hired as a subcontractor to NREL to develop such a device for the ESIF.
SOLUTIONOptimation provided software images for the more than 70 CompactRIO units installed within electrical panels throughout the ESIF. Optimation's solution is responsible for monitoring electrical conditioning components between the ESIF's power sources (120 V, 240 V, 480 V, 600 VAC, and 1,000 VDC on 250 A and 1,600 A busses) and the laboratory power connections. As a result, any powered device under test or equipment used for testing in the lab is actively monitored by CompactRIO. Voltage transformers bring voltage levels into a range compatible with the NI C Series devices in use and protect equipment from excess voltage.
The team considered using traditional PLCs during preliminary phases of the project; however, it quickly became apparent that the system performance requirements, including the high sample rate and near real-time processing, would be too much for this traditional form of hardware.
nstead, Optimation selected the NI system design platform, including CompactRIO hardware and LabVIEW software, because of the flexibility and deterministic timing capabilities of CompactRIO and the diverse offering of high-performance I/O modules.
Optimation used systems based on the NI cRIO-9024 embedded real-time controller with the NI cRIO-9118 backplane and the NI cRIO-9082 controller for this project. To monitor, analyze, alarm, and communicate, the CompactRIO devices were programmed using the LabVIEW Real-Time and LabVIEW FPGA modules. This allowed the system to deterministically perform each of these functions in parallel threads. With data being acquired at more than 50 kS/s, Optimation implemented the CompactRIO Waveform Reference Library to efficiently transfer high-speed data from the FPGA to the real-time application.
Several components of this NI-based solution were critical to the project's success. First, the LabVIEW FPGA Module made it possible to implement a system responsible for indentifying unsafe electrical conditions and reporting these conditions back to the control systems. Second, simultaneously sampling data across input channels using the NI 9215 analog input module, combined with the accuracy of the NI 9467 GPS module, made timing synchronization between CompactRIO devices accurate within 100 ns. This was especially beneficial when correlating data from multiple laboratories, where testing areas are separated and monitored by different CompactRIO devices within the large test facility. Finally, with the processing power of the CompactRIO real-time controllers (800 MHz and 1.33 GHz), the systems acquired and processed 28 channels at 51,200 Hz while managing other functions, such as alarm monitoring and TCP/IP and Modbus communications.
Optimation developed and compiled more than seven custom FPGA bitfiles for this project. The individual compile time for each FPGA application averaged 1.5 hours. Furthermore, prior to releasing final versions of the FGPA applications, several preliminary compilations were necessary to account for project scope changes and shifting requirements. To counter this, Optimation used the LabVIEW FPGA Compile Cloud Service to compile the FPGA applications, which saved valuable developer time on the project. With the LabVIEW FPGA Compile Cloud Service, developers could push multiple FPGA builds to an external server managed by NI, compile code in parallel, free up developer machines for other tasks, and drastically shorten compile times (2.6 to 5.3 times shorter). Additionally, support from NI field sales engineering staff was extremely helpful in the development of this application.
RESULTSOverall, the Optimation solution delivers the following benefits:High-speed data acquisition, which provides a more accurate representation of the effects individual experiments may have on the gridCorrelated data from synchronized systems distributed throughout the ESIF, enabling researchers to better understand multi lab experiments and characterize the building's electrical profileEasily reconfigurable virtual power meters and CompactRIO systems that can be configured as AC or DC devices without recompiling or reimaging the controllersA transparent and flexible architecture for future expansion, including features to send data to third-party systems through standard communication protocols such as TCP/IP and ModbusSafe emergency-stop monitoring, implemented in dedicated FPGA codeDynamically configurable analysis algorithms (virtual metering objects), enabled by the deterministic real-time processing capability of CompactRIOCompactRIO hardware for analyzing electrical characteristics for safety violations and in simulating complex circuit breaker logicTo learn more about NREL, visit www.nrel.gov
Click to View Gallery
Click Arrows to View All Categories Applicable to This Project
Energy & Power
Electrical Codes (NEC) / Electrical Safety