Single Phase Voltage Source Inverter Photovoltaic Application

Photovoltaic applications have been developing and spreading rapidly in recent times. This paper describes the control strategy of the Voltage Source Inverter that is the important tail end of many photovoltaic applications. In order to supply the grid with a sinusoidal line current without harmonic distortion, the inverter is connected to the supply network via a L-C-L filter. The output current is controlled by the hysteresis controller. To improve the behaviors of the L-C-L filter, active damping of the filter is being used. This paper discusses controller design and simulation results.


Introduction
Increasing efforts are being made nowadays to use renewable energy sources.Processing the energy obtained from sun, wind or water is coming to the fore.The energy supplied by these sources does not have constant values, but fluctuates according to the surrounding conditions (intensity of sun rays, water flow, etc.).These supplies are therefore supplemented by additional converters.The most used types are inverters or DC/DC converters.The area of high power converters for solar application is already covered by industrial manufacturers.However, the area of low power devices is not fully covered.These converters are mostly built from commercially produced parts that can perform demanded functions, but they are not developed for this type of application and therefore the efficiency of the whole system is low.Low power devices are important in applications where there is no voltage grid present and electric power is required (mountains, desert expeditions, etc.) The simplified block structure of the investigated system is shown in Fig. 1.A DC/DC converter with an MPPT (Maximum Power Point Tracker) is connected to the solar array.A second DC/DC converter is connected to the output of this converter.The second converter raises the voltage acquired from the solar system to the voltage level demanded by the VSI.

DC voltage control
The power produced by solar arrays depends on surrounding conditions, e.g.temperature ϑ and intensity of sun exposure E. The solar array output power is not therefore constant.The output power also depends on the withdrawn current and voltage.(Fig. 2) The MPPT control algorithm ensures that the solar array operates at its optimal point and that it delivers maximal power.The algorithm periodically changes the duty cycle of the converter in the defined hysteresis range, it increases the duty cycle, it decreases the duty cycle, and it compares the powers delivered by the solar cell.Then it chooses the duty cycle that corresponds with the maximal delivered power.If the converter operates on the left side of the MPP (area 1.), the algorithm will decrease the duty cycle.When it is operating on the right (area 3.) of the MPP, the controller will increase the duty cycle.If the converter is operating at MPP (area 2.), the power obtained on both sides will be lower and the duty cycle remains the same.
The second DC/DC converter is a boost type full bridge with galvanic insulation.The converter works with a fixed duty cycle and boosts the input voltage to the voltage level required by the inverter.For a single phase VSI, 400 V should be enough.

Voltage Source Inverter
The VSI is used for converting energy from DC to AC voltage.The detailed scheme of the inverter is shown in the Fig. 3.The power part of the inverter is made of four MOSFETs and the L-C-L filter is connected to the output of the inverter.This filter ensures the sinusoidal shape of the output current.The inverter in this application can operate in two different modes.Firstly, it can operate in the so-called "island mode", which means that the converter acts as a voltage source and supplies some devices with sinusoidal voltage of the common network parameters.PWM control is used for this purpose.The second possible operation mode delivers current to the supply network.PWM control is not suitable for this operation mode and the current hysteresis control is therefore used.

Current control
The simplest hysteresis controller can be realized as a simple bang-bang regulator.The actual value of the output current is controlled in order to remain in a defined area.This method is fast and simple, and provides good results with an L-C-L filter.The only problem is the variable switching frequency of the semiconductor switches that is a direct consequence of this control strategy.Better results can be obtained when control of the hysteresis width is used.According to [1], the width depends on the demanded switching frequency f s of the converter, on the inverter side filter inductance L i , on the actual value of DC-link voltage U DC , and on the filter capacitor voltage u Cf .
Implementation of equation ( 1) causes the switching frequency to remain approximately constant.The influence of variable hysteresis width is depicted in Fig. 4.
A further improvement of the output current shape involves adapting the hysteresis controller.A simple  This control of the VSI is used when the converter operates on the supply network and is used for generation of current.The output voltage is guarded by the supply network itself.The converter "pushes" current into the grid.

PWM control
Hysteresis control cannot operate in "island mode", because there is no supply network voltage that can guard the generated voltage.Then the converter is supposed to generate output voltage with a sinusoidal shape, as in the supply network.The PWM control algorithm was therefore used for "island mode".The controller is shown in Fig. 7.The PI controller is used in the voltage control loop.The output of the controller is the duty cycle for the modulator.

L-C-L filter design
The filter is an important part of every semiconductor converter.The filter reduces the effects caused by switching semiconductor devices on other devices.The generation of the harmonics around switching frequency can be filtered by large inductance connected to the output of the converter.But the large inductance decreases the dynamics of the system and also the operation range of the converter.Instead of the inductance the inverter can be equipped with an L-C-L filter.The L-C-L filter has good current ripple attenuation even with small inductance values.However, it can bring also resonances and unstable states into the system.The filter must therefore be designed precisely according to the parameters of the specific converter.
In the technical literature we can find many articles on the design of the L-C-L filters [2,3].

Grid Voltage (V) 230
Output Power of the Inverter (kVA) 1.5

DC link Voltage (V) 400
Grid Frequency (Hz) 50 Switching Frequency (Hz) 3 000 Now the filter design will be described.The system parameters considered for calculating the components for a filter with power approx.1.5 kVA are shown in Tab. 1.
First, the base values need to be calculated.These values are later used for calculating the filter components.
The first step in calculating the filter components is the design of the inverter side inductance L i , which can limit the output current ripple by up to 10 % of the nominal amplitude.It can be calculated according to the equation derived in [3]: where ΔI L max is the 10 % current ripple specified by ( 5) The design of the filter capacity proceeds from the fact that the maximal power factor variation acceptable by the grid is 5 %.The filter capacity can therefore be calculated as a multiplication of system base capacitance The grid side inductance L g can be calculated as (7) The last step in the design is the control of the resonant frequency of the filter.The resonant frequency must have a distance from the grid frequency and must be minimally one half of the switching frequency, because the filter must have enough attenuation in the switching frequency of the converter.The resonant frequency for the L-C-L filter can be calculated as ( 8) In order to reduce oscillations and unstable states of the filter, the capacitor should be added with an inseries connected resistor.This solution is sometimes called "passive damping".It is simple and reliable, but it increases the heat losses in the system and it greatly decreases the efficiency of the filter.The value of the damping resistor can be calculated as (9) So-called "active damping" methods with a virtual resistor were therefore developed.As mentioned in [4], there are four possible ways to place a virtual resistor for active damping.One of them is shown in Fig. 8. Figure 8 shows a model of a single phase L-C-L filter with resistor damping connected in series with the filter capacitor.The inverter can be considered as a current source.The resistor reduces the voltage across the capacitor by a voltage proportional to the current that flows through it.In the control loop the current through C f is measured and differentiated by the term sC f R sd .A real resistor is not used, and the calculated value is subtracted from the demanded current (Fig. 9).In this way the filter is actively damped with a virtual resistor without losses.The disadvantage of this method is that an additional current sensor is required and the differentiator may bring noise problems because it amplifies high frequency signals.

Simulation results
A model of the VSI with the control was made with the help of Matlab-Simulink SW.All simulations were made for output current I g = 3 A, output voltage U g = 230 V and output frequency f = 50 Hz.The switching frequency of the inverter was f s = 3 kHz a filter with parameters designed in this paper L i = 17.7 mH, C f = 3.45 μF, L g = 5.7 mH and damping resistor R sd = 11.2Ω was connected to the output of the filter.Fig. 10 shows the effects of the virtual damping resistor from time t = 0.1 s when the filter is damped with a virtual resistor.Figure 11 shows the simulation results of the inverter with double hysteresis control.The filtered current i g is in the phase with the grid voltage.Except for small spikes in areas where the current changes its direction, the shape of the filtered current is sinusoidal.
The same simulations were done for "island mode" operation.In this case, the output voltage is regulated to u g = 230 V and the current is determined by the load.The shape of the current is smoother, but there is a slight phase shift, caused by the output filter inductance and the load character.The harmonics content of both currents is good.

Conclusion
The control algorithm for a grid connected voltage source inverter has been presented here.A sinusoidal line current is produced due to the hysteresis controller.The switching frequency is almost constant because of the variable hysteresis width control.The output current filter has been designed and simulated.The obtained results seem to be promising.However, we will not be able to evaluate whole system until after it has been realized.

Fig. 1 :
Fig. 1: Block diagram of the system

Fig. 2 :
Fig. 2: Output characteristic of the solar cell and the maximum power point tracking principle

Fig. 4 :
Fig.4: Switching frequency during variable hysteresis control hysteresis controller alternates only between two combinations (S 1 , S 2 ) or (S 3 , S 4 ), which means that either +U DC or −U DC appears on the output (Fig.5).

Fig. 5 :
Fig. 5: Bipolar hysteresis controllerWith the help of the PWM switching analogy, bipolar switching can easily be adapted to unipolar switching.This method generates three output voltage levels +U DC , 0 and −U DC .The controller is shown in Fig.6.Two hysteresis controllers of different hysteresis width are used instead of one.The first controls switches S 2 , S 3 and the second controls S 1 , S 4 .Outer hysteresis is used in areas where the current crosses zero and the drop in the desired current

Fig. 8 :
Fig. 8: A single phase L-C-L filter and an alternative circuit

Fig. 9 :
Fig. 9: A single phase L-C-L filter with a virtual resistor

Fig. 10 :
Fig. 10: Effect of the virtual resistor on the L-C-L filter

Fig. 12 :
Fig. 12: Simulation results for island mode with PWM control

Table 1 :
Parameters for calculating the filter components