The following ZIP file contains example code, papers and other resources for FPGA-based power electronics design, co-simulation and deployment:
Here is a PDF guide to go with the code above:
Below is the recommended and required software for use with the NI Power Electronics Design Guide and NI Single-Board RIO General Purpose Inverter Controller. This is the recommended suite of graphical system design software tools for power electronics developers. The evaluation versions of the tools will work for 7 days, and then require you to register to extend your evaluation to 45 days. Click here to purchase an NI Developer Suite containing the recommended software tools.
Evaluation Download Link
On the evaluation download page, see the links to short videos to watch during the download that show the basics of getting around inside LabVIEW. You may be prompted for the NI Device Drivers (item #2 below) at the end of the LabVIEW Development System 2012 installation. You don't need to restart the computer until you are done installing everything on this list.
Install the NI-RIO Device Drivers, including NI CompactRIO 13.0. Also, if you plan to use the CAN port on the sbRIO-9606, be sure to install NI-Embedded CAN for sbRIO 1.0.1, which is located under Reconfigurable I/O>NI CompactRIO>NI-Embedded CAN for sbRIO 1.0.1. (Later, when you are setting up your sbRIO GPIC system and installing the software on your sbRIO-9606 using the NI Measurement & Automation Explorer (NI MAX), be sure to install support for NI System Configuration 5.3.0 or higher, System State Publisher 3.0.0 or higher, Network Streams 1.2 or higher, Network Variable Engine 12.0.0 or higher, and Variable Client Support for LabVIEW RT 13.0.0 or higher. These are used in the example software for the sbRIO GPIC.)
Required for co-simulation. Install this before installing NI Multisim (NI Circuit Design Suite).
Be sure to select the option under NI Multisim to install the Co-Simulation tools.
Optional: Used in some of the examples in the NI Power Electronics Design Guide. Text based math (for your .m files) than can be executed in desktop or real-time contexts.
For compiling to the NI GPIC Spartan-6 FPGA.
|LabVIEW PID and Fuzzy Logic Toolkit 2013|
Install version 401. Required for the NI sbRIO GPIC example projects.
Includes IEC/UL/EN standard electrical power analysis IP. This is used in the PE Design Guide examples.
|NI ELVIS Digital Electronics FPGA Board Driver 2013||Required for the exercises based on the NI ELVIS Power Electronics Hands-on Experiential Learning, Teaching and Research System. Adds support for downloading FPGA code to the Spartan-3 on the DE FPGA board.|
Optional: Follow the link to download the 30-day evaluation version or purchase. StarSim is a product of ModelingTech Energy Technology Company, but can be purchased through NI. StarSim is ideal for modeling power transmission and distribution systems. It includes simulation examples with executable LabVIEW control algorithms for many Flexible AC Transmission Systems such as STATCOM, Static VAR Compensator, Shunt Active Filter, Rescloser Protection Systems, and more.
|LabVIEW NI SoftMotion Module 2013 f1|
Optional: Required for the exercises based on the NI ELVIS Power Electronics Hands-on Experiential Learning, Teaching and Research System. Adds support for accessing the data acquisition device, scope and DMM on the NI ELVIS II+ system.
Optional: DNP3, IEC 61870-5, IEC 61850 protocols for smart grid communication. Evaluation versions are not available.
|NI VeriStand 2013|
Optional: Provides tools for real real-time HIL simulation validation and verification and physical testing. Includes the LabVIEW Model Interface Toolkit 2013 for co-simulation and/or real-time HIL simulation using SimPower Systems (a trademark of The Mathworks, Inc.).
Optional: Used in the PE Design Guide example that demonstrates integrating C code into co-simulations with Multisim.
December 18, 2013 Updates
June 29, 2012 Updates:
May 23, 2012 Updates:
March 19, 2012 Updates:
March 2, 2012 Updates:
I am having trouble installing "NI Digital Electronics FPGA Board Driver Software". I do have the FPGA module SP1 installed. I tried it on another computer and had the same issue. Check out the attached image.
The issue was that I had LV 2011, and I was looking for the FPGA module for SP1, not realizing that I have to update LV 2011 to LV 2011 SP1 and update the FPGA to SP1 also...
Problem solved... Thanks Brian!
When I open the Design Guide Project project - LabVIEW informs me that it can not find many VIs and they will be removed the project, but when I search my HD they are there. This is only 5 of them - there are lots more...is this an issue with toolkits?
Make sure you unzip to a short directory path such as "C:\power_electronics_design_guide".
If you unzip to your desktop, the filenames and paths may be truncated, preventing LabVIEW from finding the subVIs.
Also make sure you preserve the directory structure when unzipping.
Please let me know if this fixes the problem.
Same issue when unzipped at the top level of d:\PowerDev\ when I open the project it says "The item named Pulse Width Modulation (FPGA, use in SCTL) v02.vi cannot be loaded in the project. The item will be deleted from the project." and so on for a bunch of VIs. Hmmm. but again it is on my HD in the correct location.
There is aslo a conflict issue in IPCores: IP Cores\IP Cores - LabVIEW FPGA\Analysis\Single-Phase PLL with Frequency and Amplitude (float).vi with
IP Cores\IPCores - LabVIEW\Analysis\Testbench\Single-Phase PLL with Frequency and Amplitude (float).vi
Thanks for the heads up. I am investigating and will reply back when an updated design guide ZIP file is ready for you to download.