MATLAB Examples

# Single-Phase, 240 Vrms, 3500 W Transformerless Grid-Connected PV Array

This example shows the operation of a typical transformerless photovoltaic (PV) residential system connected to the electrical utility grid.

## PV Array

The SPS PV array model implements a PV array built of series- and parallel-connected PV modules. It allows modeling a variety of preset PV modules available from NREL System Advisor Model (Jan. 2014) as well as a user-defined PV module. The PV array block has two inputs that allow you to supply varying sun irradiance (input Ir in W/m^2) and temperature (input T in deg. C) data.

In our example, the PV array consists of one string of 14 Trina Solar TSM-250 modules connected in series. At 25 deg. C and with a solar irradiance of 1000 W/m2, the string can produce 3500 W.

Two small capacitors, connected on the + and - terminals of the PV array, are used to model the parasitic capacitance between the PV modules and the ground.

## One-phase DC/AC Converter

The inverter is modeled using a PWM-controlled single-phase full-bridge IGBT module ( H-bridge). The topology of the grid-side filter is the classical LCL configuration with the inductors split equally between the line and the neutral branches.

## Inverter Control

The control system contains five major Simulink®-based subsystems:

• MPPT Controller: The Maximum Power Point Tracking (MPPT) controller is based on the 'Perturb and Observe' technique. This MPPT system automatically varies the VDC reference signal of the inverter VDC regulator in order to obtain a DC voltage which will extract maximum power from the PV string.
• VDC Regulator: Determine the required Id (active current) reference for the current regulator.
• Current Regulator: Based on the current references Id and Iq (reactive current), the regulator determines the required reference voltages for the inverter. In our example, the Iq reference is set to zero.
• PLL & Measurements: Required for synchronization and voltage/current measurements.
• PWM Generator: Use the PWM bipolar modulation method to generate firing signals to the IGBTs. In our example, the PWM carrier frequency is set to 3780 Hz (63*60).