Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Department of Electrical, Electronic & Systems Engineering, Universiti Kebangsaan Malaysia, 43600 Bangi, Selangor, Malaysia
Faculty of Electronics and Computer Engineering, Universiti Teknikal Malaysia, Melaka, Malaysia
a r t i c l e
i n f o
Article history:
Received 9 May 2012
Received in revised form 2 August 2012
Accepted 13 October 2012
Keywords:
PV
dSPACE
Inverter
SPWM
Control algorithm
a b s t r a c t
This paper presents the simulation model linked prototype development of a photovoltaic (PV) threephase inverter utilizing the dSPACE DS1104 controller. The inverter model and control algorithm were
developed and simulated in MATLAB/Simulink. The control algorithm of the simulation model is linked
to the built inverter prototype by using the dSPACE DS1104 controller board. The control system employs
the PI controller to generate the PWM signals for IGBTs switching, thus producing and regulating the 50 Hz
sinusoidal ac output voltage. For the input sources, the inverter utilizes 25 units of real PV modules which
generate a dc output voltage of 435 V. Simulation results show that the controller managed to regulate
the rms output voltage of 240 V and 100% in magnitude of fundamental component. The test results
show that the inverter rms output voltage and current are stabilized at 240 V and 4.5 A respectively. The
total harmonic distortion (THD) of the voltage and current waveform are 2.5% and 3.5% respectively that
proved the efcacy of the developed control algorithm.
2012 Elsevier B.V. All rights reserved.
1. Introduction
There have been growing interests in harvesting and utilizing
alternative energy sources for furnishing part of the current and
future energy rising demand. Some of the energy sources are wind
energy and solar energy. In fact, the conventional energy source,
fossil is exhausting. PV is one of the important renewable energy
sources, especially for remote locations where utility power is
unavailable [1,2]. Moreover, this pollution-free and maintenancefree energy source has a long life span. Unlike the wind-generated
energy source, a PV energy source is a dc power source which
requires a converter such as an inverter for converting to an
ac power source [3]. Most of PV-related applications such as ac
loads and machines require inverters as the interfacing units. Generally, for high-voltage applications, inverters incorporate dcdc
boost converters [4]. The success of PV system applications are
related to the design and performance of inverters and controllers.
Opportunities still exist for the design engineers to improve on
inverters and controllers, since inverters failure remains one of
the primary causes of PV system failure [5]. The issue of inverter
self-consumption losses has impacted on its efciency [69].
Besides, other factors such as the impact of unbalanced loads on
inverter output voltage [10], nonlinearity, and low efciency of
the PV devices [1113], intermittent nature of PV energy source
[14,15] and variation of dc input voltage [16], generation of electromagnetic interference, harmonics level [1724], high speed
and frequency capability for generating pulse-width modulation
(PWM) signals [25], and PWM dead-time effects [26] need to be
looked on. Considering the high cost of the PV, there should be a
balanced between the selection of inverter size as well capacity and
the total number of PV required [27,28]. Thus, the effectiveness of
the inverter control system, e.g. controller, control strategy, is the
key to the successful of the PV system applications.
Concerning the issue of self-losses which relates to the efciency of the inverter, an appropriate switching frequency selection
for the power devices must be considered in the system design.
High switching frequency eases the ltering design which in turns
enhances the quality of the inverter output waveform. In fact, this
alleviates the issue of high level of harmonic components in the
inverter output waveform. On the other hand, it leads to higher
power loss which reduces the inverter efciency. In addition, high
frequency tends to generate an electromagnetic interference (EMI)
which causes adverse effect to the system surrounding. Therefore,
the selection of suitable switching frequency is crucial and must
take into account the inverter output quality, power loss, efciency
and EMI generation.
In the PV-based inverter system, the issue of power intermittent nature of the PV must be considered in the inverter design.
This causes unstable in the level of inverter output power which
is undesirable especially for the sensitive and critical loads. Some
of the methods adopted to enhance the PV shortcoming are by
integrating a dcdc boost converter and back-up batteries into the
66
Table 1
Summaries of the inverters parameters and their systems.
No.
Inverter parameters
Ref. [6]
Ref. [29]
Ref. [30]
Ref. [33]
Ref. [34]
Ref. [35]
Ref. [36]
1
2
3
4
5
6
7
8
Voltage THD
Current THD
Power factor
Topology
Switching technology
Hardware implementation
System environment
Transformer
N/A
6.8
N/A
3-, 3-L
PWM
Simple
Progm
Yes
1.5
N/A
N/A
3-, 3-L
PWM
Complex
Progm
No
N/A
8.87
0.994
3-, 3-L
SPWM
Moderate
Progm
No
6.8%
N/A
Unity
1-, 5-L
SPWM
Complex
Progm
No
N/A
4.0
N/A
3-, 3-L
SVPWM
Moderate
Progm/Simulink
No
N/A
8.4
0.96
1-, 5-L
SPWM
Moderate
Progm
No
N/A
19.8
Unity
3-, 3-L
SPWM
Complex
Progm
No
and implementation stage. Moreover, it is expedite with the integration of MATLAB/Simulink with the dSPACE DS1104 controller.
Importantly, this can be enhanced with the real-time simulation
or rapid control prototyping (RCP), where the system simulation is
carried out in the combination with the real inverter.
Another essential attribute of an inverter is the output power
factor. Inverter with unity power factor delivers power to a load
efciently. Advantageously, the proposed inverter and some of the
other inverters acquire this signicant feature, while others lack of
such feature.
This paper describes the prototype development of photovoltaic
three-phase inverter utilizing the dSPACE DS1104 controller. The
inverter model and control algorithm are developed and simulated
in the SimPowerSystem blockset environment and then linked to
the prototype inverter by utilyzing the dSPACE DS1104 controller
board.
Indeed, the paper presents the operation principle and control
algorithm of the PV-based inverter. This is essential due to the fact
that it is the core in the PV-based integrated buildings, both remote
and grid-connected buildings. Here, the PV-based inverter is effectively integrated and utilized for achieving the energy-efciency
type of buildings. Considering the signicant of the aforementioned
PV-based inverter, the PV sources can be fully utilized and integrated in specially design buildings where the available PV energy
can be easily harvested by using the proposed PV-based inverter.
2. PV inverter controller
2.1. dSPACE controller
A dSPACE DS1104 controller is suitable for inverter control platform as it enables the linking of the MATLAB/Simulink
inverter simulated model to the real hardware. Utilizing the MATLAB/Simulink Real-Time Workshop function, the Simulink model
is compiled, converted to the C-code, and linked to the real-time
dSPACE DS1104 processor board automatically [39]. For the linking process, user needs to include the dSPACE inputoutput (I/O)
interface blocks, e.g. DS1104ADC, DS1104DAC and DS1104BIT OUT,
into the Simulink models. With the application of the dSPACE ControlDesk graphical user interface (GUI) software, the monitoring of
the performance and behavior of the inverter in real time is made
possible. In fact, the controller parameters can be changed and the
performance can be observed in real time.
A simplied block diagram of the dSPACE DS1104 controller
consisting of two processors is shown in Fig. 1. The master processor is the PowerPC603 64-bit oating-point which runs at 250 MHz.
The slave processor is the 16-bit Texas Instruments TMS320F240
DSP microcontroller. This makes the dSPACE DS1104 controller
ideal for prototype development system for cost-sensitive rapid
control prototyping. It is also specially designed for the development of high-speed multivariable digital controllers and real-time
simulations in various elds [40].
67
Personal
computer
dSPACE DS1104
Controller Board
PCI connector
Power PC 603 Communication Slave DSP-TI
Master Processor
TMS320F240
Memory
Memory
Timers
Serial peripheral
Interrupt controller
interface
ADC unit
4 capture inputs
DAC unit
PWM generator
Digital I/O
Incremental
Input/output
encorder interface
Fig. 3. Block diagram of the voltage control scheme implemented in dSPACE DS1104
controller board.
Input/output
Input/output connector
Hardware
Fig. 1. Block diagram of the dSPACE DS1104 controller board.
va = V sin t
(1)
2
vb = V sin t
3
2
3
vc = V sin t +
(2)
(3)
ADC
Voltage sensors
Voltage regulator
Inverter
va, vb, vc
PWM
Driver
IGBT
Filter
Dc output voltage
Dc-dc boost converter
PWM
Driver
IGBT
PV
Load
u(t) = Kp e(t) + Ki
e()d
(4)
where u(t) is the output of the PI controller, Kp and Ki are the gains
of the proportional and integral terms, and e(t) is the error voltage
which is the difference between the reference voltage and the measured one (dref d ). The output voltages as in (1)(3) are sampled
based on the sampling time. In every sampling time, the PI controller generates the output voltage, in such a way that the error
signal is kept to a minimum value. Thus, the system is capable of
keeping the output voltage as close as possible to the reference voltage. As a result the inverter output voltage can be controlled and
stabilized. This voltage regulation is made possible by the accomplishment of the PWM technique.
To obtain a sinusoidal shape ac output waveform, a sinusoidal
PWM (SPWM) switching technique is implemented in the inverter
control algorithm. The duty ratios of switching devices are modulated by the control signal which is the desired fundamental
frequency of the inverter output [43]. The sinusoidal modulating
signal of 50 Hz is compared to the triangular signal of 25 kHz to generate the switching signals for driving the IGBTs. This is the basic
operation of the PWM generator block as depicted in Fig. 3. The
frequency of the triangular signal establishes the inverter switching frequency at which the IGBTs are switched. In the generator,
a control parameter called modulation index, M, is responsible for
the magnitude of fundamental inverter output voltage. The modulation index in (5) is the ratio of the amplitude of modulating signal,
vabc , to the amplitude of carrier signal, vtri .
M=
AVabc
AVtri
(5)
where A is the amplitude of the voltage signal. Varying the amplitude of the modulating signal while keeping the triangular signal
amplitude constant, will cause the modulation index to change.
This causes the changes of the fundamental output line voltage,
68
Start
Is error zero?
(vd error = vdref-vd)
N
Is error is positive?
Increase inverter
IGBT duty cycle,
PWMinv
Maintain inverter
IGBT duty cycle,
PWMinv
N
Decrease inverter
IGBT duty cycle, PWMinv
(6)
V
1D
(7)
69
Fig. 6. dSPACE DS1104 RTI control system implementation of the PV inverter system.
Table 2
Characteristic of PV module.
Symbol
Quantity
Value
Voc
Isc
Vmp
Imp
Pmp
21.5 V
7.63 A
17.4 V
6.89 A
120 W
70
va
vb
vc
500
400
300
Voltage (V)
200
100
0
-100
-200
-300
-400
-500
0
0.02
0.04
0.06
0.08
0.1
Time (sec)
Fig. 9. Filtered three-phase output voltage waveforms.
Fig. 8. In lab inverter experimental set up.
VPV , and current, IPV , for the inverter input stage is achieved by
forming the module in series-parallel structure as in Eqs. (9) and
(10). The output power of the PV array, PPV , is the product of output
current and output voltage of PV represented in (11) [48].
IC = Iph I0 = Iph Isat [e(q/AKTc )(V +IRs ) 1]
(8)
where Iph is the light generated cell current, Io is the diode reverse
saturation current, Isat is the diode saturated current, q is the electron charge, A is the ideality factor, K is the Boltzmann constant, Tc
is the cell temperature and Rs is the internal resistance of stack.
VPV = NS [Vref (T Tref ) RS (T Tref )]
(9)
where Ns is the series module number, Vref is the PV reference voltage, is voltage temperature coefcient, T is the stack temperature
and Tref is the reference stack temperature.
IPV = NP Iref +
G
1000
(T Tref ) + ISC
G
1000
(10)
(11)
4. Experimental set-up
For verication of the simulated model, an inverter prototype
was build, tested and evaluated in laboratory which is shown in
Fig. 8. Among the equipment used in the experimental set-up are
ammeter, voltmeter, Tektronix digital storage oscilloscope, and
Fluke 434 power quality analyzer. The currents are measured by
using three ac current clamps Fluke i400S.
undesired voltage overshoots. It reveals a considerably good transient and steady-state performance of the inverter. The controller
manages to precisely track the voltage reference, quickly achieve
the steady-state values, and discriminates oscillation around the
operating point. These results demonstrate the efcacy of the control strategy and algorithm employing the PI controller. In the
three-phase system, which acquires high power capacity, the line
voltage characteristics, e.g. vab , are more signicant rather than
phase voltage, van . Signicantly, the rms line
voltage, ab is higher
than the phase voltage, van , by a factor of 3. Therefore, theoretically, the rms line voltage of the three-phase inverter is 415 V. The
waveform of line voltage ab is presented in Fig. 10. As can be seen,
the peak level of the inverter output line voltage is approximately
586 V which is equivalent to rms voltage of 415 V. Like the phase
voltage, the line voltage acquires a sinusoidal fundamental voltage
of 50 Hz with a higher power capacity.
Total harmonic distortion (THD) is one of the criterions which
portray the quality of the inverter waveforms. A lower percentage
of THD indicates higher quality of a waveform. According to the
standard Std IEEE-929-2000 [49], the THD of inverters output voltage and current waveforms must be less than 5%. Fig. 11 shows
the line voltage waveform THD of the simulated inverter which
is 0.01% and complies with the standard. The frequency spectrum
shows that the output waveform contains only the fundamental
component with 100% in magnitude. It indicates that most of the
harmonics components especially around the 25 kHz (500th harmonic order) switching frequency are ltered out from the inverter
output waveforms.
600
400
200
Voltage (V)
0
-200
-400
-600
0
0.02
0.04
0.06
0.08
Time (sec)
Fig. 10. Output voltage waveform of line voltage, vab .
0.1
71
400
300
Voltage (V)
200
100
0
-100
-200
-300
-400
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0.04
Time (sec)
Fig. 11. THD and harmonic spectrum of line voltage waveform, vab .
ia
ib
ic
10
8
6
Current (A)
4
2
0
-2
-4
-6
-8
-10
0
are ltered out from the inverter output waveforms. The low THD
of both voltage and current waveform are mainly contributed by
the effectiveness of the components selection of the low pass lter
and the SPWM switching technique implemented in the inverter
control algorithm.
0.02
0.04
0.06
0.08
0.1
Time (sec)
Fig. 12. Filtered three-phase output current.
Fig. 13. FFT analysis for simulation showing the THD and harmonic spectrum of
phase current waveform.
72
8
6
Current (A)
4
2
0
-2
-4
-6
-8
Acknowledgement
0
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0.04
Time (sec)
References
[1] G.E. Ahmad, H.M.S. Hussein, H.H. El-Ghetany, Theoretical analysis and experimental verication of PV modules, Renewable Energy 28 (2003) 11591168.
[2] A. Chel, G.N. Tiwari, A. Chandra, Simplied method of sizing and life cycle cost
assessment of building integrated photovoltaic system, Energy and Buildings
41 (2009) 11721180.
[3] F. Blaabjerg, Z. Chen, S. Kjaer, Power electronics as efcient interface in dispersed power generation systems, IEEE Transactions on Power Electronics 19
(2004) 11841194.
[4] P. Sanjeevikumar, K. Rajambal, Extra-high-voltage DC-DC boost converters
topology with simple control strategy, Modeling and Simulation in Engineering
(2008) 17, http://dx.doi.org/10.1155/2008/593042.
[5] R.A. Messenger, J. Ventre, Photovoltaic System Engineering, CRC Press, Boca
Raton, FL, 2004.
[6] N.A. Gounden, S.A. Peter, H. Nallandula, S. Krithiga, Fuzzy logic controller with
MPPT using line-communicated inverter for three-phase grid-connected photovoltaic systems, Renewable Energy 34 (2009) 909915.
[7] M.A. Eltawil, Z. Zhao, Grid-connected photovoltaic power systems: Technical
and potential problemsa review, Renewable and Sustainable Energy Reviews
14 (2010) 112129.
[8] Q. Tu, Z. Xu, L. Xu, Reduced switching-frequency modulation and circulating
current suppression for modular multilevel converters, IEEE Transactions on
Power Delivery 26 (2011) 20092017.
[9] O. Valentin, G. Giovanni, S. Filippo, Dual neutral-point-clamped converters
with synchronized PWM for photovoltaic installations, International Review
of Electrical Engineering 5 (2010) 5663.
[10] C.-M. Lai, Y.-P. Lin, Energy saving evaluation of the ventilated BIPV walls, Energies 4 (2011) 948959.
[11] Subiyanto, A. Mohamed, M.A. Hannan, Photovoltaic maximum power point
tracking controller using a new high performance boost converter, International Review of Electrical Engineering 5 (2010) 25352545.
[12] Z. Miao, J.A. Domijan, L. Fan, Investigation of microgrids with both inverter
interfaced and direct AC-connected distributed energy resources, IEEE Transactions on Power Delivery 6 (2011) 16341642.
[13] V. Abdulhadi, M.A.I.S. Abdulrahman, V. Gurvinder, D. Azzi, Soft-computing
model-based controllers for increased photovoltaic plant efciencies, IEEE
Transactions on Energy Conversion 22 (2007) 795797.
[14] M.A. Hannan, K.W. Chan, Modern power systems transients studies using
dynamic phasor models, in: Proceeding of the International Conference on
Power System Technology, 2124 November, 2004, pp. 15.
[15] S. Subiyanto, A. Mohamed, M.A. Hannan, Intelligent maximum power point
tracking for PV system using hopeld neural network optimized fuzzy logic
controller, Energy and Buildings 51 (2012) 2938.
[16] W. Weimin, T. Tianhao, Dual-mode time-sharing cascaded sinusoidal inverter,
IEEE Transactions on Energy Conversion 25 (2010) 110.
[17] M.A. Hannan, A. Mohamed, PSCAD/EMTDC simulation of unied series-shunt
compensator for power quality improvement, IEEE Transactions on Power
Delivery 20 (2005) 16501656.
[18] M.A. Hannan, A. Mohamed, A. Hussain, M. Al-Dabbagh, Power quality analysis
of STATCOM using dynamic phasor modeling, International Journal of Electric
Power System Research 79 (2008) 993999.
[19] Y. Yu, Q. Zhang, S. Lui, Analysis of a single-phase z-source inverter for battery
discharging in vehicle to grid applications, Energies 4 (2011) 22242235.
[20] A. Bozicek, B. Blazic, I. Papic, Performance evaluation of a time-optimal current
controller for a voltage-source converter and comparison with a hysteresis
controller, IEEE Transactions on Power Delivery 26 (2011) 859868.
[21] W.C. Gary, S.K. Chen, H.J. Su, P.K. Wang, Accurate assessment of harmonic and
interharmonic currents generated by VSI-fed drives under unbalanced supply
voltages, IEEE Transactions on Power Delivery 26 (2011) 10831091.
[22] G.S. Buja, P.D. Nardi, Application of a signal processor in PWM inverter control,
IEEE Transactions on Industrial Electronics 32 (1985) 5055.
73
[37] L. Wu, Z. Zhao, J. Liu, A single-stage three-phase grid-connected photovoltaic system with modied MPPT method and reactive power
compensation, IEEE Transactions on Energy Conversion 22 (2007)
881886.
[38] G. Abraham, P. Pragasen, Implementation of fuel cell emulation on DSP and
dSPACE controllers in the design of power electronic converters, IEEE Transactions on Industry Applications 46 (2010) 285294.
[39] O. Youssef, A.-H. Kamal, A.G. Luc, Packed U cells multilevel converter topology:
theoretical study and experimental validation, IEEE Transactions on Industrial
Electronics 58 (2011) 12941306.
[40] dSPACE DS1104, Hardware Installation and Conguration and ControlDesk
Experiment Guide, Paderborn, Germany, 2008.
[41] S. Zainal, L.S. Toh, Z.R. Mohd, Hardware implementation of the high frequency
link inverter using dSPACE DS1104 digital signal processing board, in: 1st International Power and Energy Conference, PECon06, 2829 November, 2006, pp.
348352.
[42] C. Jun, D.T.N. Khai, Graphical phasor analysis of three-phase PWM converters,
IEEE Transactions on Power Electronics 16 (2001) 659666.
[43] X. Huafeng, X. Shaojun, C. Yang, H. Ruhai, An optimized transformerless photovoltaic grid-connected inverter, Transactions on Industrial Electronics 58
(2011) 18871895.
[44] G. Lijun, A. Roger, D.L. Shengyi, P.I. Albena, Parallel-connected solar PV system
to address partial and rapidly uctuating shadow conditions, Transactions on
Industrial Electronics 56 (2009) 15481556.
[45] E. Keith, The rating of photovoltaic performance, IEEE Transactions on Electron
Devices 46 (1999) 19281931.
[46] A. El Amrani, A. Mahrane, F.Y. Moussa, Y. Boukennous, Solar module fabrication, International Journal of Photoenergy (2007) 15,
http://dx.doi.org/10.1155/2007/27610.
[47] J. Young-Hyok, J. Doo-Yong, K. Jun-Gu, K. Jae-Hyung, L. Tae-Won, W. ChungYuen, A real maximum power point tracking method for mismatching
compensation in PV array under partially shaded conditions, IEEE Transactions
on Power Electronics 26 (2011) 10011009.
[48] E.V. Paraskevadaki, S.A. Papathanassiou, Evaluation of MPP voltage and power
of mc-Si PV modules in partial shading conditions, IEEE Transactions on Energy
Conversion 26 (2011) 923932.
[49] IEEE Std 929-2000, Recommended Practices for Utility Interface of Photovoltaic
System, The Institute of Electrical and Electronics Engineers, 2002.