Power Electronics Development Center

cancel
Showing results for 
Search instead for 
Did you mean: 

Solar PV Power Converter and I-V Characterization Examples

Please find attached several solar photovoltaic (PV) power converter and I-V characterization examples.

1. PV Panel Simulation and I-V Chararacterization (PV_Simulation_and_IV_Characterization.vi)

This includes solar cell I-V characterization code, which originated with NREL in their outdoor solar test facility and was edited/updated by NI systems engineers, and a classic PV model equation solved in LabVIEW using the Newton Raphson method. As you mouse over various items on the front panel, educational information is displayed. You can change the series and shunt resistance of the solar cell as well as the illumination level, and observe the effect on the I-V curve and P-V curve for the solar cell. (Learn more.)

PV I-V Characterization.png

2. Solar Array I-V Characterization using Resistive Load

In this example, a PV array is modeled in Multisim with the resistance controlled by LabVIEW. The LabVIEW co-simulation application sweeps the panel from short circuit to open circuit conditions while recording an array of voltage and current data. Then the I-V curve data is passed to the solar cell characterization algorithms and the solar array is characterized, including short circuit current, open circuit voltage, fill factor, series and shunt resistance, maximum power, maximum voltage, maximum current and efficiency. The P-V and I-V curves for the solar array are also traced.

PV array with resistive load - Multisim.png

Solar Array I-V Characterization.png

The PV array model in this Multisim example is based on J.A. Gow M and C.D. Manning. "Development of a photovoltaic array model for use in power-electronics simulation studies" IEEE Proceedings of Electric Power Applications, Vol. 146, No. 2, March 1999.

Note that a number of alternative solar photovoltaic (PV) models are available for Multisim, as described in this application note:

https://decibel.ni.com/content/groups/circuit/blog/2014/03/25/new-models-for-photovoltaic-cells-in-m...

3. Solar PV Boost Converter with Maximum Power Point Tracking (Solar PV Boost Converter with MPPT.vi)

In this example a solar PV boost converter circuit is modeled in Multisim and the sime "Analog RCC Method" is used for maximum power point tracking. Note that the fixed point version of the algorithm needs work. I'd recommend implementing the FPGA control system using the FPGA Graphical Floating Point Toolkit.

Solar MPPT.pngPV boost converter.png

Note: The FPGA code should be simulated using the LabVIEW FPGA Desktop Execution Node.

4. Solar PV Single Phase Grid Tied Inverter Controller

In this example, a solar PV array is connected to a full bridge power converter controlled by LabVIEW FPGA.

Solar Array with Full Bridge Inverter.png

PV Array with Single-Phase Full Bridge Inverter.png

Note: The FPGA code should be simulated using the LabVIEW FPGA Desktop Execution Node.

Message 1 of 5
(15,015 Views)

I would like , if possible, a version LabView 13 for this program.

Thank you.

My e-mail: luclemos@gmail.com

Message 2 of 5
(11,885 Views)

A LabVIEW 2013 version of the solar PV applications is attached.

If you want to upgrade to LabVIEW 2014, there a lot of usability improvements for LabVIEW FPGA co-simulation using the Desktop Execution Node.

Follow this link to web downloaders for the entire toolchain (including the new Multisim 2014): 'What tools do I need to get started developing a power converter product?'

If you are interested in complete power electronics control example code for a PV array with boost converter stage, maximum power point tracking (MPPT) and unity power factor 3-phase inverter interface to the grid, I highly recommend StarSim by ModelingTech. StarSim for Windows is a desktop co-simulation tool for control design and power electronics & power system simulation. StarSim also has a real-time HIL simulation version for validation and verification testing of your control system.

Once you install StarSim for Windows, you'll find the example code here: C:\Program Files (x86)\ModelingTech\StarSim\1.5\Examples\Solar Power

Here is a screenshot of a simulation run with maximum power point tracking enabled. As you can see, the control system is successfully tracking the maximum power point and is providing only active power to the grid (unity power factor).

StarSim PV Array Converter Control - FP2.png

StarSim PV Array Converter Control.png'

Here is the LabVIEW control code, which includes synchronous reference frame (dq axis) 3-phase 2-level inverter control for the grid interface, maximum power point tracking boost converter control, and single-triangle pulse width modulation, and a solar PV array model.

StarSim PV Array Converter Control - BD.png

The StarSim circuit model includes the IGBT boost converter, 2-level IGBT 3-phase inverter, line reactor filter, local three phase reactive load, 100 meter 3-phase transmission lines, and 380 Vrms, 50 Hz 3-phase grid.

StarSim PV Array Converter Control - StarSim Model.png

If you want to convert the control code to an FPGA version that will run on the NI General Purpose Inverter Controller (GPIC) or NI CompactRIO, use the LabVIEW FPGA graphical floating point tool to convert the math operators to single-precision, non-reentrant subVIs. You will first need to unlock the password protected control IP cores by purchasing StarSim for Windows by ModelingTech, then email info@modeling-tech.com with proof of purchase to obtain the password. For more information about StarSim, visit: http://www.modeling-tech.com/English/index.aspx

For an example of a StarSim control application that's already been ported to run on the NI GPIC, download this new three-phase grid-tied inverter bidirectional active front end (AFE) example with real and reacti.... You must unzip to a short path (not desktop). This Zip also contains the latest version of the FPGA graphical floating point toolkit (with updates to the sine and cosine functions).

Here is a screenshot of the 3-phase bidirectional AFE inverter control application running on the GPIC in DC bus voltage regulation mode and reactive power setpoint of 0. This is the actual waveforms from the physical inverter running-- not a simulation. Below is the front panel of the LabVIEW Real-Time application.

StarSim bidirectional AFE grid-tied inverter - RT FP.png

There is an energy storage half-bridge buck boost battery storage converter connected to the DC link, so but running the active front end in DC link voltage regulation mode the power is automatically transferred to the grid in the case that we are discharging the battery, and automatically pulled from the grid in the case that we are charging the battery.

Here is the front panel of the FPGA application. All of the control algorithms, sine-triangle PWM and protection logic is running in dedicated FPGA hardware using floating point math functions. The main control loop is running at 33.3 kHz (1200 ticks), and the sine-triangle PWM loop is running at  1.33 MHz (30 ticks).

StarSim bidirectional AFE grid-tied inverter - FPGA FP.png

Here is the block diagram of the LabVIEW FPGA control application. It's wonderful that when you program in floating point, the control code looks like how you would draw it on a chalk board. Yet, it is running in high speed in dedicated FPGA hardware where each loop can execute truly in a hardware parallel way.

StarSim bidirectional AFE grid-tied inverter - FPGA BD1.png

Bottom loop (fault handling):

StarSim bidirectional AFE grid-tied inverter - FPGA BD2.png

Message 3 of 5
(11,885 Views)

Hi, In this example i got only normal LabView files of each step but I need main file to execute this project, can you help me to give instructions to execute each file and how can create case structure for this project. If you have main labView file for execution please provide. 

0 Kudos
Message 4 of 5
(1,914 Views)

Hi, can you help me to how to download this link for me its not accessing the link, can you provide this link again. the NI GPIC, download this new three-phase grid-tied inverter bidirectional active front end (AFE) example with real and reacti

0 Kudos
Message 5 of 5
(1,862 Views)