Grid-Connected Solar Microinverter Reference Design



Similar documents
Grid-Connected Solar Microinverter Reference Design Using a dspic Digital Signal Controller. R s. R p

AC/DC Power Supply Reference Design. Advanced SMPS Applications using the dspic DSC SMPS Family

Solar Energy Conversion using MIAC. by Tharowat Mohamed Ali, May 2011

A MULTILEVEL INVERTER FOR SYNCHRONIZING THE GRID WITH RENEWABLE ENERGY SOURCES BY IMPLEMENTING BATTERY CUM DC-DC CONERTER

Application Information Improving Efficiency in Smart Grid Applications With Fully Integrated Current Sensing ICs

Transformerless UPS systems and the 9900 By: John Steele, EIT Engineering Manager

Development of High Frequency Link Direct DC to AC Converters for Solid Oxide Fuel Cells (SOFC)

MULTI-LEVEL INVERTER WITH DC LINK SWITCHES FOR RENEWABLE ENERGY SOURCES

White Paper SolarEdge Three Phase Inverter System Design and the National Electrical Code. June 2015 Revision 1.5

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Switch Mode Power Supply Topologies

Design of Solar Power Optimizer And Eliminating Leakage Current In Multi-Level Inverter For PV Systems

Understanding Delta Conversion Online "Power Regulation" - Part 2

7-41 POWER FACTOR CORRECTION

APPLICATION NOTE TESTING PV MICRO INVERTERS USING A FOUR QUADRANT CAPABLE PROGRAMMABLE AC POWER SOURCE FOR GRID SIMULATION. Abstract.

Single Phase Two-Channel Interleaved PFC Operating in CrM

AN ULTRA-CHEAP GRID CONNECTED INVERTER FOR SMALL SCALE GRID CONNECTION

98% Efficient Single-Stage AC/DC Converter Topologies

Fundamentals of Power Electronics. Robert W. Erickson University of Colorado, Boulder

Modeling Grid Connection for Solar and Wind Energy

Introduction to Power Supplies

Single-Stage High Power Factor Flyback for LED Lighting

UNDERSTANDING POWER FACTOR AND INPUT CURRENT HARMONICS IN SWITCHED MODE POWER SUPPLIES

POWER SYSTEM HARMONICS. A Reference Guide to Causes, Effects and Corrective Measures AN ALLEN-BRADLEY SERIES OF ISSUES AND ANSWERS

High Intensify Interleaved Converter for Renewable Energy Resources

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

Line Reactors and AC Drives

Tamura Closed Loop Hall Effect Current Sensors

2.06. Version. Kinglong New Energy Technology Co.Ltd. Sunteams 1500 Sunteams Sunteams 4000 Sunteams 5000

National Semiconductor Power Products - Seminar 3 (LED Lighting)

Analysis of PV cell fed High Voltage Gain Seven and Nine level inverter with Reduced Switches

Renewable Energy Applications: Photovoltaic and Wind Energy Conversion Systems (WECS)

Diode Applications. As we have already seen the diode can act as a switch Forward biased or reverse biased - On or Off.

Hybrid Power System with A Two-Input Power Converter

FREQUENCY CONTROLLED AC MOTOR DRIVE

Power Electronics for Renewable Energy Integration into Hybrid AC/DC Microgrids Kai SUN Aug 27, 2015

The full wave rectifier consists of two diodes and a resister as shown in Figure

Noise Free 90+ for LCD TV AC Adapter Desk Top. 96% x 96% = 92.16% Champion Microelectronic. 96+ Interleaved CRM PFC CM6565 PFC & PFC PWM PWM

Design a Phase Interleaving PFC Buck Boost Converter to Improve the Power Factor

Inverter for the Solar Panel using an MC56F8023. Designer Reference Manual

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

Solar Cybertech: A Competition of Digitally Controlled Vehicles Poweredby Solar Panels

Analog & Digital Electronics Course No: PH-218

Three-port DC-DC Converters to Interface Renewable Energy Sources with Bi-directional Load and Energy Storage Ports

VICOR WHITE PAPER. The Sine Amplitude Converter Topology Provides Superior Efficiency and Power Density in Intermediate Bus Architecture Applications

Chapter 4 AC to AC Converters ( AC Controllers and Frequency Converters )

Photovoltaic Solar Energy Unit EESFB

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

CHAPTER 5 PHOTOVOLTAIC SYSTEM DESIGN

Distribution Generation System

Basic Op Amp Circuits

Rectifier circuits & DC power supplies

8 Ways Power Optimizers are Better by Design

The D.C Power Supply

ABB central inverters PVS to 1000 kw

Power Flow Control Using Bidirectional Dc/Dc Converter for Grid Connected Photovoltaic Power System

How To Control A Single Phase Sinusoidal Pulse Width Modulation (S) Controller Based Inverter For Photovoltaic Power Generation

Principles of Adjustable Frequency Drives

Simple PWM Boost Converter with I/O Disconnect Solves Malfunctions Caused when V OUT <V IN

Anais Volume 1 COBEP99 UFPR UFSM

DC-DC high gain converter applied to renewable energy with new proposed to MPPT search

Low Cost Pure Sine Wave Solar Inverter Circuit

Novel Loaded-Resonant Converter & Application of DC-to-DC Energy Conversions systems

ELECTRONIC POWER SYSTEMS

Introduction to SMPS Control Techniques

How to design SMPS to Pass Common Mode Lightning Surge Test

Design, Analysis, and Implementation of Solar Power Optimizer for DC Distribution System

When the Power Fails: Designing for a Smart Meter s Last Gasp

APPENDIX A PIN-OUT OF RJ12 / RJ45 CONNECTORS. RJ12 connectors

Bridgeless PFC Implementation Using One Cycle Control Technique

AN1278. Interleaved Power Factor Correction (IPFC) Using the dspic DSC INTRODUCTION SIGNIFICANCE OF POWER FACTOR EQUATION 1:

Performance of 3-Phase 4-Wire Solid State Transformer under Imbalanced Loads

Product Data Bulletin

ULRASONIC GENERATOR POWER CIRCUITRY. Will it fit on PC board

3-Phase Synchronous PWM Controller IC Provides an Integrated Solution for Intel VRM 9.0 Design Guidelines

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Section 3. Sensor to ADC Design Example

Axpert MKS-4000/KS-5000 Service manual. Axpert MKS Charger/ Inverter. Service manual

Power Quality For The Digital Age INVERTING SOLAR POWER A N E N V IRONME N TA L P OT E N T I A L S W HI T E PA PER

A HIGH GAIN HYBRID DC-DC BOOST-FORWARD CONVERTER FOR SOLAR PANEL APPLICATIONS. Nicklas Jack Havens

SD Series. SD Series Rectifiers. EPC Energy & Power Conversion

YSmart Technology Co.,Ltd

Chapter 6: Converter circuits

Parametric variation analysis of CUK converter for constant voltage applications

Performance Analysis of Multi Level Inverter with DC Link Switches for Renewable Energy Resources

5W LED Lump Module Design with FT831B

WVC300 Micro-inverter solar grid system (Power line communications)

LOW COST MOTOR PROTECTION FILTERS FOR PWM DRIVE APPLICATIONS STOPS MOTOR DAMAGE

OPERATIONAL AMPLIFIERS. o/p

TOPOLOGIES FOR SWITCHED MODE POWER SUPPLIES

Multilevel DC-AC Converter Interface with Solar Panels

47000 SERIES - ELECTRONIC TRANSFORMERS

Thyristor-controlled power supplies and battery chargers

Chapter 4. LLC Resonant Converter

Fox-2 MPPT Unit Testing

SIMPLE TECHNIQUES TO IMPROVE SOLAR PANEL EFFICIENCY USING A MICROCONTROLLER OR SOC

Galleon 6-10K Online UPS. Voltronic Power Technology Corporation

One of the most incredible things about photovoltaic

Transcription:

Grid-Connected Solar Microinverter Reference Design 2010 Microchip Technology Incorporated. All Rights Reserved. Grid Connected Solar Microinverter Reference Design using the dspic DSC Slide 1 Hello, and welcome to this web seminar on Microchip s Grid Connected Solar Microinverter Reference Design. My name is Mike Curran, and I am an Applications Engineer in the High Performance Microcontroller Division of Microchip. 1

Session Agenda Solar Microinverter Overview Photovoltaic Cell Characteristics Solar Microinverter Configurations Grid-Connected Solar Microinverter Reference Design Software Integration Summary 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 2 In this webinar, we will go through the design of Microchip s Grid-Connected Solar Microinverter Reference Design, including hardware details and the system software. So let s get started with some photovoltaic cell characteristics and background information of the Solar Inverter system. 2

Photovoltaic (PV) Cell A PV cell is a current source, not a voltage source! Io Rp Rs Vo Vo ~ 0.5 Volts Io ~ 1 to 3 Amps Simplified circuit model of a solar cell Effective use of series connected solar cells depends on identical currents being generated by each cell. 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 3 PV cells are semiconductor devices, with electrical characteristics similar to a diode; however, a PV cell is a source of electricity, rather than an electrical load, and operates as a current source when light energy, such as sunlight makes contact with it. The circuit shown is an equivalent model of a PV cell. Next, we will look at more details of a PV cell and its characteristics. 3

PV Cell Characteristics Solar cell s output continually varies with LIGHT and TEMP Current Maximum Power Point I SC G = 1000 W/m 6 2 I SC Current 6 G = 1000 W/m 2 Maximum Power Point 4 G = 600 W/m 2 4 60 C 10 C 2 G = 300 W/m 2 V OPEN 2 V OPEN Voltage Voltage 10 20 30 40 50 I-V versus Illumination (36 cell string) 10 20 30 40 50 I-V versus Temp (36 cell string) 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 4 Light intensity as well as temperature affect PV cell characteristics. Current generated by a PV cell is directly proportional to light intensity. Voltage also changes with fluctuating light levels, but by much less. Voltage is more affected by changes in the temperature of the PV cell rather than the current. An increase in the cell temperature decreases the voltage and increases the current by a very small amount. The short-circuit current (I SC ) from a cell is nearly proportional to the illumination, while the open-circuit voltage (V OPEN ) may drop only 10% with an 80% drop in illumination. The important result of these two effects is that the power of a PV cell decreases when light intensity decreases and/or temperature increases. 4

Solar Cell Power Curves Power Maximum Power Point 150 W G = 1000 W/m 2 100 W G = 600 W/m 2 50 W G = 300 W/m 2 Voltage 10 20 30 40 50 I-V versus Illumination (36 cell string) 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 5 An increase in the output current after the Maximum Power Point will rapidly drop its output voltage and could produce power only 1 half of the open-circuit voltage and 1 half of the short-circuit current. The usable power output could thus drop from 70% of the open-circuit voltage times the short-circuit current (V OPEN X I SC ) to 50% or even as little as 25%. The amount of power generated by a PV cell depends on the operating voltage of the PV cell array. Its V-I and V-P characteristic curves specify a unique operating point at which maximum possible power is delivered. At the Maximum Power Point, the PV operates at its highest efficiency 5

PV Cell Shading String 1 Inverter Shaded Cell(s) Module String 2 Inverter Cooler area due to previous shading 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 6 PV manufacturer processes produce cells with relatively large variance in their power output capability. They seek to reduce their variance by using advanced manufacturing technology. Regardless, panel models on the market today still have ±3 to 5% variance in their output. Highest voltage strings or unshaded stings provide the bulk of power, and lower voltage strings due to shading or lower temperatures contribute little power. 6

Session Agenda Solar Microinverter overview Photovoltaic Cell Characteristics Solar Microinverter Configurations Grid-Connected Solar Microinverter Reference Design Software Integration Summary 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 7 Next, we will take a closer look at different solar inverter configurations. 7

Solar Power Evolution: Grid-Connected Inverter Inverter 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 8 Multiple solar modules connected in series and parallel provide 200-400 volts output and 10 to 50 Amps. Combinations of these panels are then connected to a single centralized inverter to yield 120/240 VAC at medium power levels (2-10KW) This system is connected to the AC power lines, hence known as Grid- Tied system. The customer sells power to the power company during the day, and buys power from the power company during the night. The Grid-Tied approach eliminates expensive and short lived batteries. The inverter has the potential for a single point failure and has a nonoptimal power harvest from the solar panel, especially in partial shading conditions. In the case of multiple inverter systems each string regardless of the output voltage will contribute the maximum power it can because each inverter is optimizing the power output of its string. Tests indicate 20 34% additional energy harvest. 8

Solar Power Evolution: Grid-Connected Module Incorporated Inverters (MIC) Inverter Inverter Inverter Inverter Inverter Inverter Module Incorporated Inverters (MIC) Each solar panel module incorporates its own inverter. An MIC is also known as a Microinverter. The incorporation of inverters into the solar panels greatly reduces installation labor costs, improves safety, and maximizes the solar energy harvest. 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 9 Here is an example of a Module Incorporated Inverter (MIC) Each solar panel module incorporates its own inverter. An M-I-C inverter is also known as a Microinverter. The incorporation of inverters into solar panels greatly reduces installation labor costs, improves safety, and maximizes the solar energy harvest. 9

Objective Solar Microinverter Overview Photovoltaic Cell Characteristics Solar Microinverter Configurations Grid-Connected Solar Microinverter Reference Design Software Integration Summary 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 10 We can now take a closer look at Microchip s Grid-Connected Solar Microinverter Reference Design and its operation, starting with a high-level overview. 10

Microchip s Grid-Connected Solar Microinverter 220 Watt, single PV cell module (36V) microinverter Maximum Power Point Tracking = 99.5% Maximum Power Point Tracking voltage 25 VDC 45 VDC DC short circuit current: 10A AC output voltage range: 180 VAC 264 VAC 45 Hz 55 Hz 90 VAC 140 VAC 55 Hz 65 Hz Output Current THD <5% High efficiency System islanding 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 11 The Grid-Connected Solar Microinverter Reference Design is available in two versions. One version for 110V single-phase grid and one version for 220V single-phase grid. Both versions are rated for a 220 Watt PV panel. The system feeds a pure sine wave output current to the grid with a current Total Harmonic Distortion (THD) less than 5%. This reference design uses a dspic33f GS series digital signal controller for complete digital control of all power stages. Use of the reference design is Royalty Free, and complete documentation, software, and hardware design information is available on the Microchip web site. Demonstration units are also available from worldwide Microchip sales offices. 11

Solar Microinverter Block Diagram Solar Microinverter Single PV Module 36V @ 220W DC/DC Boost and MPPT DC/AC Inverter EMI Filter Single Phase AC Grid +12V +5V +3.3V Auxiliary Power Supply dspic LCD Display and User Interface 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 12 This slide shows a system-level block diagram of the Solar Microinverter. A single dspic33f GS series digital signal controller, shown in the center of the block diagram is used to control all of the important functions. The system is primarily divided into two sub-sections: 1) DC-to-DC boost converter with Maximum Power Point Tracking and, 2) DC-to-AC inverter, synchronized with the grid. 12

Solar Microinverter Reference Design Schematic Single PV Module EMI/EMC Filter Single Phase AC Grid 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 13 A novel single-stage topology is used for this reference design. An interleaved active clamp Flyback inverter boosts the low-voltage DC from the PV panel to the high rectified AC voltage that is synchronized with the grid voltage. The rectified AC output voltage is higher then the grid voltage. The magnitude of the Flyback inverter output varies to ensure that the inverter operates at the Maximum Power Point of the PV module characteristics. 13

Board Layout Flyback Inverter SCR Full- Bridge EMI/EMC Filter Grid Connector Feedback and Control Circuit 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 14 Now that we have seen a functional overview of the Solar Microinverter system, we can physically locate each section on a photograph of the system. This is a top view of the Grid-Connected Solar Microinverter Reference Design. The locations of each system block are highlighted as follows: 1. The dspic Digital Signal Controller is located at the bottom with all of its feedback circuitry. 2. The interleaved Flyback Inverter power circuitry is located on the left side of the board. 3. The SCR full-bridge is located in the middle top area of the board 4. The EMI/EMC filter is located at the top right. 5. The output connector to connect to the grid is located at the top right corner of the board. 14

Interleaved Flyback Converter Interleaved solution cancels the input current ripple, extending the capacitor life Interleaved Flyback Converter shares the input and output current, resulting in low copper and core losses Active clamp reduces switching losses Rectifier diode conduction losses are reduced Interleaved solution cancels the output current ripple, resulting in lower THD 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 15 The Interleaved Flyback Converter has the following advantages over other commonly used topologies for solar microinverter applications. The interleaved solution cancels the input current ripple, providing a longer capacitor life The Interleaved Flyback Converter shares the input and output current, resulting in low copper and core losses The active clamp reduces switching losses The rectifier diode conduction losses are reduced The interleaved solution cancels the output current ripple resulting in lower Total Harmonic Distortion (THD) 15

Inverter Operation Flyback Converter PV Panel V INV V GRID PV Voltage 45V 25V I INV t 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 16 The DC input from the PV module is fed to the Flyback primary. A modulated high-frequency sine PWM is used for the Flyback MOSFETs to generate the rectified sine output voltage and current across the Flyback output capacitor. The average of the sine modulated secondary diode current, produces a rectified sine voltage and current across the output capacitor. The two Flyback converters are operated 180 degrees out-of-phase to accomplish interleaved operation. 16

Inverter Operation V INV Flyback Converter Gate2 Gate1 V AC EMI/EMC Filter Single Phase AC Grid Gate1 Gate2 I INV /V INV I AC t Gate1 Gate2 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 17 The SCR full-bridge is used to convert the rectified output voltage and current to sinusoidal voltage and current. Therefore, the SCR is switched at line frequency. The output of the inverter is synchronized with the grid by a Digital Phase-Locked Loop. The Maximum Power Point Tracker controls the magnitude (RMS) of the output current. The shape of the output current is controlled by the current control loop. 17

Objective Solar Inverter Overview Photovoltaic Cell Characteristics Solar Microinverter Configurations Grid-Connected Solar Microinverter Reference Design Software Integration Summary 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 18 We can now take a closer look at the software implementation of Microchip s Grid-Connected Solar Microinverter Reference Design. 18

Flyback Solar Microinverter Solar Microinverter Single PV Module 36V @ 220W DC/DC Boost and MPPT DC/AC Inverter EMI Filter Single Phase AC Grid PWM1 PWM2 PWM3 I PV V DC PV I AC V AC INV V AC GRID PWM Module Analog-to-Digital Converter Digital Control System Digital Signal Controller 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 19 The dspic DSC device is the heart of the Solar Microinverter design and controls all critical operations of the system as well as the housekeeping operations. The functions of the dspic DSC can be broadly classified into the following categories: All power conversion algorithms Inverter state machine for the different modes of operation Maximum Power Point Tracking Digital Phase-Locked Loop System islanding and Fault handling 19

Control Loop Block Diagram I ACREF PI PWM Output Filter EMI/EMC Filter K PV + K IV /s AC Grid I AC S&H PLL V AC GRID V AC INV MPPT S&H ADC I AC V PV I PV 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 20 The Solar Microinverter feeds sinusoidal current to the grid; therefore, grid current is being sensed for the control loop. A sine wave reference is generated from the sine table and is synchronized with the grid with the help of a Digital Phase-Locked Loop. PV voltage and its output current is sensed to calculate the magnitude of the current reference required for Maximum Power Point operation. A PI-type compensator is used for the control loop, and is implemented as a difference equation in software. The result of the control loop computation modifies the duty cycle, and therefore, maintains a clean sinusoidal current to be fed to the grid. 20

Control Loop PLL V AC GRID OPAMP/ Comparator 2.5V REF ZCD V AC GRID V AC INV S&H ADC Buffer ADC Buffer Sample grid and inverter output voltage Stored voltage polarity (+ve/-ve) Continuous check for change in grid voltage polarity Set Zero Cross Detect (ZCD) flag if there is a change to the grid voltage polarity 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 21 In a grid-connected system, a critical component of the converter s control is the Phase-Locked Loop that generates the frequency and phase angle for the reference to synchronize the output to the grid. Hardware zero-crossing detection is done with the help of a differential amplifier and comparator. The comparator output changes its state with a change in grid voltage polarity. Grid voltage is sampled at every ADC trigger and the polarity of the grid voltage is stored in a register. In every sample, the grid voltage polarity has been checked. If there is a change in grid voltage polarity, the software sets the zero cross detect flag. 21

Control Loop MPPT Start Set MPPT Reference Read VPV, IPV PowerNew = VPV * IPV PowerNew > PowerOld No Yes MPPT ref+ (I AC Ref ) PowerOld PowerNew MPPT ref- (I AC REF ) 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 22 The Grid-Connected Solar Microinverter Reference Design uses the P&O method for Maximum Power Point Tracking. The Maximum Power Point tracker operates by periodically incrementing or decrementing the solar array voltage. If a given agitation leads to an increase or decrease of the output power of the PV,the subsequent agitation is generated in the same or in opposite direction. Set MPPT reference denotes the agitation of the solar array voltage, and MPPT ref+ and MPPT ref- represent the subsequent agitation in the same or opposite direction, respectively. 22

Software Grid-Connected Solar Microinverter Software State Machine (Interrupt-based) User Interface Software Priority: Medium Execution Rate: Medium Power Conversion Algorithm (Interrupt-based) Priority: Low Execution rate: Low Priority: High Execution Rate: High 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 23 This diagram shows the high-level partitions for the PV Inverter software. Each block represents a functional piece of software that pertains to one of the sub-sections of the inverter system. As seen from the diagram, software is first split into the State machine and the User Interface Software. The State Machine software determines the mode of operation for the Inverter system, detects the presence or failure of the PV module and grid, and also executes all of the power conversion algorithms. Within the state machine, the power conversion algorithms are assigned the highest priority. The other state machine code forms the next level, or medium priority. 23

General Software Structure Start Initialization Enable Peripherals System State? Day Mode (Normal Operation) Error Mode Night Mode Interrupt 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 24 When the Solar Microinverter is turned ON, the system goes into initialization routing and initializes all of its peripherals, variables and constants. The state of the system will initialize with the system start-up state. The state machine first monitors all system variables and the input and output state. If there is no fault, the state machine switches to the system state start-up. Inside the ADC interrupt, the most recent voltage and currents are measured and used for the control loops. The control loops are executed inside the ADC interrupt routine and the PWM output is modified accordingly. This structure ensures the fastest performance, and the highest execution priority. 24

Software Block diagram System Start-up Day Mode State Machine Night Mode System Error 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 25 The Solar Microinverter State machine consists of four main operating modes: 1. System Startup: the state machine will first calculate the input PV voltage and the output grid voltage and its frequency before setting the systemstartflag to start the system in normal operation. It reinitializes all of the mandatory control loop variables to ensure reliable operation during initial switching of the PWMs. After initializing all mandatory control loop variables, the system state switches to DAY_MODE operation. 2. DAY_MODE: DAY_MODE is the normal mode of operation. The state machine configures the system peripherals to execute the correct power conversion algorithms as determined by the system state. In this mode, the Solar Microinverter delivers the maximum available energy from the PV panel to the single-phase grid. 3. NIGHT_MODE: The system state switches to NIGHT_MODE when there is not sufficient energy available from the connected PV panel (power <25W) or the PV panel voltage is not within the specified limit. All feedback signals are being continuously monitored and checked for fault and input/output current condition. 4. SYSTEM_ERROR: If grid voltage or input and output current is not within the specified limit, the state machine initiates system error mode. In this mode, all of the power conversion blocks are turned OFF and the input/output voltage condition and faults are monitored to recover the system in the normal operation state if faults were removed. 25

Test Result Waveform Grid Voltage and Grid Current 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 26 The violet colored waveform is the grid voltage and the magenta colored waveform is the current being fed to the grid. From the captured waveform we can see that the output current is in phase with the grid voltage. 26

Test Result Waveform System Islanding: System Turned OFF When Grid Fails 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 27 This waveform demonstrates islanding: From the waveform, we can see that when the grid is turned OFF near its peak, the inverter stops feeding power to the grid. 27

Test Result Waveform System Islanding: System Turned OFF When Grid Fails 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 28 From this waveform, we can see that when the grid is turned OFF near its zero crossing, the inverter stops feeding power to the grid. 28

Objective Solar Microinverter Overview Photovoltaic Cell Characteristics Solar Microinverter Configurations Grid-Connected Solar Microinverter Reference Design Software Integration Summary 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 29 Next, lets recap what we discussed regarding Microchip s Grid-Connected Solar Microinverter Reference Design. 29

Summary Overview of Solar Microinverter Photovoltaic Cell Characteristics Solar Microinverter configurations Microchip Grid-Connoted Solar Microinverter Reference Solution Hardware and Circuit Operation Software Architecture 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 30 In this webinar, we discussed the photovoltaic cell characteristics, different solar microinverter configurations, and Microchip s 220W Grid-Connected Solar Microinverter Reference Design. 30

Thank You Visit www.microchip.com/smps for more design resources Available for Free Download: Application Note Complete Source code PCB Design files MATLAB Simulation files 2010 Microchip Technology Incorporated. All Rights Reserved. Grid-Connected Solar Microinverter Reference Design Using the dspic DSC Slide 31 Thank you for joining me in this web seminar on Microchip s Grid-Connected Solar Microinverter Reference Design using the dspic Digital Signal Controller. Please visit the link on this page for more design details on the Grid-Connected Solar Microinverter as well as other Switch-Mode Power Supply Reference Designs. 31