You are on page 1of 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/232805277

Three-Phase Photovoltaic Grid-Connected Inverter using dSPACE DS1104


Platform

Conference Paper · December 2011


DOI: 10.1109/PEDS.2011.6147287

CITATIONS READS

3 836

4 authors:

Zamre Abd Ghani M. A. Hannan


Technical University of Malaysia Malacca Universiti Tenaga Nasional (UNITEN)
15 PUBLICATIONS   90 CITATIONS    294 PUBLICATIONS   2,365 CITATIONS   

SEE PROFILE SEE PROFILE

Azah Mohamed Subiyanto Subiyanto


National University of Malaysia Universitas Negeri Semarang
629 PUBLICATIONS   5,296 CITATIONS    44 PUBLICATIONS   182 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Load Shedding Strategy and Optimization via Meta-Heuristics Methods View project

Intelligent Solid Waste monitoring and Management for SmartCity/SmartVillage View project

All content following this page was uploaded by M. A. Hannan on 16 May 2014.

The user has requested enhancement of the downloaded file.


IEEE PEDS 2011, Singapore, 5 - 8 December 2011

Three-Phase Photovoltaic Grid-Connected Inverter


using dSPACE DS1104 Platform
Z A Ghani, M A Hannan, A Mohamed and Subiyanto
Dept. of Electrical, Electronic & Systems Engineering
Universiti Kebangsaan Malaysia, 43600 Bangi, Selangor, Malaysia
E-mail: zamree64@eng.ukm.my; hannan@eng.ukm.my; azah@eng.ukm.my; biyantote_unnes@yahoo.com

According to Messenger and Ventre, the opportunities are


Abstract- This paper presents a simulation modeling for the still exist for the design engineers to improve the inverter
hardware development of photovoltaic three-phase voltage controller, since inverter failure remains one of the primary
source inverter utilizing dSPACE DS1104 controller platform. causes for photovoltaic (PV) system failure [13]. For this
The controller links the MATLAB/Simulink simulated model to
the inverter prototype for operation in real-time. It generates a reason, the enhanced inverter controllers are necessary for
sinusoidal pulse-width modulation (SPWM) signals for improving the inverter performance in PV or renewable
switching devices (IGBTs) with the accomplishment of fuzzy energy applications.
logic controller and Park transformation. Consequently, the Selvaraj and Rahim [11] and Saad and Rahim [12] have
inverter provides power not only to the local loads but also feeds developed DSP TMS320F2812 and FPGA based PV
the available excess power to the grid. The current and voltage
control strategies which are implemented by using the fuzzy inverters, employing the proportional-integral (PI) controller
logic controller regulate the 50 Hz sinusoidal ac output current and PWM control algorithm, respectively. However, it
and voltage for both modes of operations namely isolated and requires users to develop a quite lengthy software
grid-connected mode. The simulation was carried out with the programming or codes for the control algorithm. This might
PV generator simulator to facilitate the real PV power transfer be a hassle and time consuming task, especially for those who
to the local loads and grid. With the excellent results of 2.48% in
the total harmonic distortion (THD) of output voltage, suggests have little experience and background dealing with the
that the proposed control system exhibits a good performance, software programming. Besides, a simulation model has to be
thus can be translated into a prototype by utilizing the dSPACE developed prior to the hardware realization as well. A
platform. The simulation results waveforms such as ac output different approach to this development process is by
voltages, current and system power flow are presented to integrating the dSPACE DS1104 [14] DSP real-time data
validate the efficacy of the control system.
acquisition control platform into the system which enables
users to employ the MATLAB/Simulink linking tools
INTRODUCTION available features for the control algorithm development and
simulation and hardware implementation as well. The
A photovoltaic (PV) energy is becoming one of the dSPACE DS1104 control platform simplifies the control
important renewable energy sources. In order to transport this algorithm programming task by means of its library
kind of energy to the electric utility, an interface such as blocksets. Moreover, the data and codes of the successfully
inverter is necessary. Inverter efficiency is not up to the mark simulated model can be linked and loaded directly to the
due to its self-consumption losses [1]. Moreover the impact of controller for real time hardware operation.
unbalanced load on inverter output voltage [2], nonlinearity, Salam et al. [15] have implemented the dSPACE DS1104
and low efficiency of the PV devices [3][4], electromagnetic controller board in the design of high frequency link inverter.
interference, harmonics level [5][6][7], capability to operate Another different way to control and regulate the ac output
with high speed and frequency for generating pulse-width current and voltage is by implementing the fuzzy logic
modulation (PWM ) signals [8] respectively, are the crucial controller (FLC). Hannan et al. [16] and Ghani [17] employed
issues for inverters and its controllers. Thus, for regulated the dSPACE DS1104 controller in a PV standalone prototype
inverter output voltage and current, an efficient and enhanced inverter development. Another application of the dSPACE
inverter controller is necessary to improve the inverter DS1104 platform is in the grid-connected inverter. By using
performance in PV or renewable energy applications. the graphical object-oriented package, a dSPACE system has
Globally, researches in the development of inverter control enables the development of user-friendly inverter control
algorithm are still going on to advocate the applications of panels for on line monitoring and supervision [18]. A
renewable energy. Various types of controller and processor dSPACE system is quite popular in controlling platform and
are being adopted for design, analysis and implementation of is widely used in automation systems and car manufacturing
PWM controlled inverters. Among them are analogue circuit industries [19]. Controlling power converters such as an
controllers, microcomputers, digital circuit controllers, field inverter is one of the alternatives of the dSPACE system
programmable gate arrays (FPGAs) and digital signal application.
processors (DSP) [9][10][11][12].

978-1-4577-0001-9/11/$26.00 ©2011 IEEE 447


In this paper, the control system and the modeling for the (iii) 150% load – overload scenario (8.8kW), the
inverter hardware are developed which are then simulated in generation is less than absorption.
MATLAB/Simulink. The main element of the inverter output (iv) Grid voltage and frequency disturbance – over and
parameters controlling is the switching signals generation, under disturbances
e.g. sinusoidal pulse-width modulation (SPWM) that By applying different loads, the dynamic of the system
responsible for the output voltage and current control power balance (generation and absorption) and the power
regulation scheme. The control system architecture employs flow can be observed whether the inverter dispatches excess
the fuzzy logic controller (FLC) which shows better power to the grid or drawn power from the grid.
performance in reducing overshoot parameter in the The main objective of the control system is to regulate a
performance of the inverter compared to PI controller. A nearly sinusoidal inverter output current and inject it to the
detail explanation of the control strategy of for the inverter utility at unity power factor with an acceptable level of total
has been discussed. FLC has the advantage of controlling a harmonic distortion (THD). According to the standard code,
nonlinear system such as the PV inverter system and there is IEEE Std. 929-2000 [21], the THD level must be below 5%
no special design procedure involved in fuzzy control such as for connecting to the utility grid. The system is also managed
root-locus design, frequency response design, pole placement to protect the system under disturbances such as changes
design, or stability margins, because the rules are often occur in the grid/utility voltage parameters such as frequency
nonlinear [20]. and voltage level managing.

INVERTER CONTROL STRATEGY


SIMULATION MODEL
The configuration of the PV grid-connected inverter control
In order to validate the effectiveness of the proposed
system is illustrated in Fig. 2. It consists of a PV simulator
inverter control system, a simulation was conducted in the
with a MPPT feature, an inverter that is connected to the load
MATLAB/Simulink with SimPowerSystem blockset. It was and grid, and the control system. The connection to the grid
simulated for a period of 0.16 seconds with a sampling period is made possible by a three-phase controllable breaker or
of 5 µs. The detail inverter system simulation model is shown switch.
in Fig. 1.

Fig.2. Block diagram of the grid-connected inverter system configuration.

Fig.1. Inverter system simulation model


The control system manages the data acquisition of the
In this simulation, the PV simulator has the capacity of relevant variable system parameters and signals such as
5.8kW. To simplify the analysis, the simulation is executed at voltages, currents and control signals in order to maintain the
a fixed irradiation of 1000 watt/m2 and at a temperature of 25º system operation and stabilize the output voltage. Fig. 3
Celsius so that the PV simulator output power is at a constant shows the block diagram structure for the control system
peak. With the built in dc-dc boost converter and the components. The system reads the grid voltage and frequency
maximum power point tracking (MPPT) feature to extract as (50 Hz) for the grid synchronization which is accomplished
much power as possible from the PV, the PV simulator is by the phase lock loop (PLL) function block. The PLL gives
able to generate the output voltage of 700Vdc as required by outputs in terms of sinωt and cosωt which are used as the
the inverter input. To visualize the control system function, reference frequency in the calculation of the abc/dq
this simulation was done with the following resistive load transformation of the inverter current in the current control
profile which consists of: loop.
(i) 100% load – full-load scenario (5.8kW), a balance By using the Park’s transformation method, the sampled
between generation and absorption. signals of the inverter current are transformed from a three
(ii) 50% load – under-load scenario (3.0kW), the axes abc frame into a dq reference frame system. The dq
generation is higher than absorption. currents are compared with the reference current which is

448
generated from the voltage control loop so as to generate the 1.5
error signals which are fed to the fuzzy logic controller for
the output current regulation. 1

0.5

Voltage (p.u)
0

-0.5

-1.0

-1.5
0 0.030.04 0.08 0.12 0.16
Time (sec)

Fig. 4. Inverter output voltage waveform, vabc

1.5
Fig. 3: Grid-connected inverter control strategy
1
In the voltage control loop, the dc input voltage, Vdc is
regulated by the fuzzy logic controller which generates the 0.5
current reference, Idref to be tracked on by the controller in the Current (p.u)

previous current control loop. The output signals from the 0


current control loop are fed to the conversion and PWM
generator block which uses a triangular wave of 15 kHz for -0.5
generating the switching signals for the IGBTs.
By utilizing the ‘Real-Time Workshop’ (RTW) feature -1.0

available in MATLAB/Simulink environment, the inverter


control system algorithm is converted to the C-codes and -1.5
0 0.030.04 0.08 0.12 0.16
simultaneously linked to the real inverter hardware. This is Time (sec)
one of the advantages of the dSPACE DS1104 which makes Fig. 5 Inverter output current waveform, iabc
it suitable for research and development purposes. In order to
link the algorithm to the real inverter hardware, the dSPACE From Fig. 4, the 50 Hz sinusoidal waveforms, va (blue), vb
input-output (I/O) library blocks are added to the (red) and vc (green) have peak voltages of 1.0 p.u which is
equivalent to phase voltage of 240Vrms or line voltage of
MATLAB/Simulink inverter model. They are analog-to-
415Vrms. As can be seen, they are displaced by 120º of each
digital converter (ADC) units, DS1104ADC, bit input-output
other. Initially, it started in standalone mode as a voltage
(I/O) unit, DS1104BIT_OUT, and 3-phase PWM generation
controlled inverter, and then connected to grid at t = 0.03
unit, DS1104SL_DSP_PWM3. With the aid of the dSPACE second with current controlled strategy. It is shown by the
graphical user interface (GUI) software, ControlDesk, the small ripples in the current waveforms after 0.03 second as
control and monitoring of the real-time hardware parameters shown in Fig. 5.
is made possible.
The total harmonic distortion (THD) for the phase voltage
waveform is 2.48% as shown in Fig. 6, which is below 5% of
RESULT AND DISCUSSION IEEE standard.

Fig. 4 and Fig. 5 show the snapshots of the three-phase


output voltage and current waveforms of the inverter in per
unit (p.u) format respectively.

449
CONCLUSION
Selected signal: 8 cycles. FFT window (in red): 3 cycles
1 The simulation modeling and control system algorithm for
Vinverter,va

0.5
0
the hardware development of photovoltaic three-phase
-0.5
-1
voltage source inverter has been presented. It has been
0 0.04 0.08 0.12 0.16 verified with the simulation results in MATLAB/Simulink for
Time (s)
the inverter output voltage stabilization and system power
0.1
Fundamental (50Hz) = 0.9855 , THD= 2.48% flow with different load profiles, which suggested the
effectiveness of the inverter control strategy. These results
Mag(% of fundamental)

0.08

0.06
serve as a justification for the inverter prototype
development.
0.04

0.02

0
0 5 10 15 20 REFERENCES
Harmonic order
[1] G. E. Ahmad, H. M. S. Hussein and H. H. El-Ghetany, “Theoretical
analysis and experimental verification of PV modules,” Renewable
Fig. 6. THD and harmonics spectrum of inverter output waveform, va Energy, vol. 28, pp. 1159–1168, 2003.
[2] F. Blaabjerg, Z. Chen and S. Kjaer, “Power Electronics as Efficient
The system power flow is shown in Fig. 7. For the period Interface in Dispersed Power Generation Systems”, IEEE Trans. On
of t = 0 second to t = 0.03 second, since the PV power Power Electronics, vol. 19, no. 5, pp. 1184-1194, 2004.
[3] L. Hassaine, E. Olias, J. Quintero and M. Haddadi, “Digital Power
generation is equal to the load demand and the system is in a Factor Control and Reactive Power Regulation for Grid-Connected
standalone mode, there is no power drawn from or dispatched Photovoltaic Inverter,” Renewable Energy, vol. 34, pp. 315-321, 2009.
to the grid. [4] Subiyanto, A. Mohamed, and M.A. Hannan, “Photovoltaic Maximum
Power Point Tracking Controller Using a New High Performance Boost
From the figure, it can be seen that the load drawn Converter,” International Review of Electrical Engineering, vol. 5(6),
additional 3kW required power from the grid for the period pp. 2535-2545, 2010.
[5] M.A. Hannan, A. Mohamed, A. Hussain, and M. Al-Dabbagh, “Power
between t = 0.05 second and t = 0.1 second. It is shown by the Quality Analysis of STATECOM Using Dynamic Phasor Modelling,”
amount of -3kW section on the grid contribution profile (in International Journal of Electric Power System Research, vol. 79(6),
purple) in the figure. This is a condition of 150% load pp 993-999, 2008.
condition where the PV power generation is 5.8kW (in blue) [6] M.A. Hannan, and A. Mohamed, “PSCAD/EMTDC Simulation of
but the load demand (in red) is 8.8kW which is higher than Unified Series-Shunt Compensator for Power Quality Improvement,”
IEEE Transaction on Power Delivery, vol. 20 no.2, pp 1650-1656,
the generation. Hence, the additional required power is drawn 2005.
from the grid. [7] M.A. Hannan, and K.W. Chan, “Modern Power Systems Transients
Studies Using Dynamic Phasor Models,” Proceeding of the
Another scenario can be seen from the figure is between the International Conference on Power System Technology (POWERCON)
period of t = 0.1 second to 0.16 second, where the load (in held at Singapore on 21 Nov, 2004.
red) is 3kW and the PV generation is 5.8kW (in blue). There [8] V. Salas and E. Olias, “Overview of State of Technique for PV
is an excess power of 2.8kW generated by the PV and it is Inverters Used in Low Voltage Grid-Connected PV Systems: Inverters
dispatched to the grid. This is shown in the grid contribution below 10kW,” Renewable and Sustainable Energy Reviews, vol. 13, pp.
1541-1550, 2009.
curve (in purple). [9] Said H. El-Hefnawi, “Digital Firing and Digital Control of A
Photovoltaic Inverter”, Renewable Energy, vol. 12, No. 3, pp. 315-320,
10 1997.
9 [10] Frederick et al, “A McMurray Inverter Controller”, IEEE Transactions
8 on Industrial Electronics and Control Instrumentation (IECI), vol. 26,
7 no. 3, pp. 156-160, 1979.
5.5 [11] Jeyraj Selvaraj and Nasrudin A. Rahim, “Multilevel Inverter For Grid-
5 Connected PV System Employing Digital PI Controller”, IEEE
Transaction On Industrial Electronics, Vol. 56, No. 1, pp. 149-158,
Power (kW)

3 2009.
[12] Saad Melkhilev and N. A. Rahim, “XilinX FPGA based Three-Phase
1 PWM Inverter and its Application for Utility Connected System”,
0 Proceeding of IEEE TENCON, pp. 2079-2082, 2002.
-1
[13] Roger A. Messenger and Jerry Ventre, Photovoltaic System
Engineering, Second Edition, CRC Press LLC, Boca Raton, Florida.
-3 2004.
[14] dSPACE DS1104. Hardware Installation and Configuration and
-5
0 0.04 0.08 0.12 0.16 ControlDesk Experiment Guide, Paderborn, Germany, 2008.
Time (sec) [15] Zainal Salam, Toh Leong Soon and Mohd Zulkifli Ramli, “ Hardware
Implementation of the High Frequency Link Inverter Using dSPACE
Fig.7. Power flow, Pload, PPV and Pgrid showing power drain from grid and DS1104 Digital Signal Processing Board”, First International Power
dispatch to the grid and Energy Conference PECon, pp. 348-352, 2006.
[16] M.A. Hannan, Z.A. Ghani and A. Mohamed, “An Enhanced Inverter
Controller for PV Applications Using the dSPACE Platform”,

450
International Journal of Photoenergy, vol. 2010,
doi:10.1155/2010/457562, pp 1-10, 2010.
[17] Z.A. Ghani, M.A. Hannan, and A. Mohamed, “Renewable Energy
Inverter Development using dSPACE DS1104 Controller Board,”
Proceeding of the IEEE Conference on Power and Energy (PECon), at
Kuala Lumpur on 28 Dec.,2010.
[18] Sefa, N. Altin, S. Ozdemir and M. Demirtas, “dSPACE Based Control
of Voltage Source Utility Interactive Inverter”, International
Symposium on Power Electronics, Electrical Drives, Automation and
Motion (SPEEDAM), pp. 662-666, 2008.
[19] Li, H.L et al. “ Development of a Direct ac-ac Converter Based on a
dSPACE Platform”, International Conference on Power System
Technology, Chongqing (China), pp. 1-6, 2006.
[20] Devendra K. Chaturvedi, “Modelling and Simulation of Systems Using
MATLAB and Simulink,” CRC Press, Boca Raton, Florida, 2006.
[21] IEEE Std. 929-2000, IEEE Recommended Practices for Utility
Interface of Photovoltaic System, New York: The Institute of Electrical
and Electronics Engineers, 2002.

451
View publication stats

You might also like