Professional Documents
Culture Documents
DOI 10.1007/s00202-017-0596-1
ORIGINAL PAPER
123
Electr Eng
ance occurs. IncCond is an algorithm with relatively good tion), seem to be an attractive choice [19]. As a drawback
performance; however, the IncCond is relatively slow, and the control strategy is more elaborated due to the increased
that limits its ability to track the MPP under rapid atmospheric circuit complexity. In this second stage a simplified active
changes. Currently some papers present a new MPPT scheme and reactive power control is used to deliver the power to
based on the theory of model predictive control (MPC) to the grid; to implement this control strategy is necessary to
solve these disadvantages [7–13]. The MPC technique fea- use the grid voltage and current information, such as the
tures simplicity and flexibility, and can be programmed to frequency, phase angle and amplitude. In single-phase sys-
compensate for the inherent nonlinearities associated with tem, the grid voltage and current information is much more
power electronic converters. Comparing to classical control difficult to acquire, conventionally, the frequency and phase
schemes, MPC delivers a fast dynamic response with a high angle of a single-phase voltage are obtained by detecting the
stability margin, making it well suited for MPPT of PV sys- zero-crossing point, and however, this method cannot provide
tems operating under dynamic environmental Conditions. the grid information instantaneously and is very sensitive to
The works [7,12] do not predict the switching state for the noise. So a phase-locked loop, using modified p-q theory, is
next control cycle, they only use the MPC to obtain the ref- used in order to avoid noise sensitivity [20,21].
erence value of voltage or current to use it in a PI control, In order to validate the effectiveness of the proposed
the works [10,11] use a conventional perturb and observe control techniques, they need to be tested in real time or
(P&O) and the work presented [8,9] uses a conventional by developing a hardware prototype. Field Programmable
incremental conductance (IncCond) algorithm for identifi- Gate Array (FPGA) is a powerful embedded technology
cation of reference for the MPP. However, they usually have that provides hardware-in-loop implementation for precise
a fixed iteration step-size determined by the requirements of control and high speed processing. FPGAs are semiconduc-
the accuracy at steady state and the speed response of the tor devices based around a matrix of Configurable Logic
maximum power point tracking (MPPT), when a MPPT has Blocks connected through programmable interconnects syn-
a bigger step-size, the response speed is fast but has some chronized through a top-level clock. Its limitless flexibility,
trouble at steady state and when a MPPT has a small step- parallel computation environment, usage of different sam-
size, the accuracy at steady state is better than use a bigger pling rates and fast operation have made it a widely used
step-size, but the speed response become slow [6]. Thus, the tool for deployment of control circuits in hardware [22,23].
trade-off between the dynamics and steady state accuracy has Hardware-in-loop is a feature which uses the hardware in
to be resolved. In this work a variable-step MPPT algorithm the simulation loop, i.e., a part of the loop is implemented
is proposed to the first stage, the main idea in the proposed in the hardware and the response is received from hardware
MPPT is the use of variable-step algorithm to ensure the cur- back in the software. This leads to easy-testing and the pos-
rent control signal that signal will be used in order to have a sibility to see how the plant is behaving in hardware. In this
control based on predicted mean value (PMV) [14,15], the paper, the proposed MPPT algorithm and the power control
PMV method takes into a count that the mean current for the and the phase-locked loop (PLL) have been implemented
instant i(k+1) should be equal to the current reference during on FPGA and the PV system has been simulated in MAT-
the next control cycle. The use of variable-step with PMV for LAB/Simulink.
the pursuit of MPP is oriented to improve the speed response This paper is divided into the following sections: Section 2
of the system to abrupt changes in solar radiation and smooth a brief description of the proposed system topology and the
adjustment to the maximum power point at steady state. control strategy employed are presented. Section 3 shows the
The second stage is used to connect a photovoltaic gener- FPGA implementation. In Sects. 4 and 5 the co-simulation
ator to an electrical grid. Typically, the single-phase voltage- results and conclusions are presented.
source inverters (VSI) are widely used in the PV power
generation systems for interfacing with the single-phase grid.
Multilevel inverters topologies are the most promising device
in power electronics, diode-clamped structure, capacitor- 2 Grid-connected photovoltaic system and control
clamped structure, generalized multilevel cells structure and strategy
cascaded H-bridge structure [16,17]. Because the nature of
the PV system is not enough efficient when the PV array is Figure 1 shows the circuit configuration of the single-phase
not uniformly illuminated [2], a solution is partitioning the grid-connected PV inverters. The inverter is composed of two
solar array into several subsection, each one equipped with PV arrays, two dc/dc boost converters, a dc-link, a dc/ac H-
a dedicated MPPT, so the lost power only affects the section bridge inverter and a current filter. Both boost converters are
where mismatch conditions occur [18]. Then, the cascaded operated with the MPPT function. The active and reactive
H-bridge (CHB) multilevel inverters, where each H-bridge powers are transferred to the grid by the single-phase H-
is connected to a single PV source (in this case a subsec- bridge inverter. The configuration uses the following values:
123
Electr Eng
123
Electr Eng
dP
2.2 Predictive mean value current control
dI = |tanθ | (1)
tanθ The boost converter can be modeled by only two circuits due
sinθ | = √ (2)
1 + tanθ the state of the transistor Sb(t), Sb = 1 denotes that the
dP
transistor is closed or “on” for a fraction time which is called
0 < N = dI < 1 (3) duty cycle (ton ), when Sb = 0 is denoted that the transistor is
1 + ddIP
2
open or “off” for the remainder of the time (Ts −ton ) [13]. The
ΔI = N ∗ ΔIr e f (4) main idea of the predictive controller based on PMV [14,15]
is to calculate the “on” time for the next control cycle (7).
In order to achieve the correct current value for the next 2 i ∗ (k + 1) − i(k + 1) − f 2 (k + 1) · Ts
control cycle, it is necessary to know the sign of the slope, in ton (k + 1) =
2 f 1 (k + 1) − f 2 (k + 1)
case the slope is positive it is necessary to increase the current
(7)
at the next instant; otherwise, when the slope is negative, the
current must be reduced to the next control cycle. Using the where f 1 and f 2 are the values of current when the power
derivative of power and current it is possible to establish transistor of the boost converter is “on” and “off”, respec-
the signal of the slope. When d P/dI is zero, the system is tively, as shown in Fig. 3, f 1 corresponds to the time portion
in the MPP, if the value of d P/dI is more than zero, the when the transistor is “on”, in this time, the current in the
slope is positive, in the other case, if the value of d P/dI is inductor (L) of the boost converter only depends of the volt-
less than zero, the slope is negative, see Fig 2. The d P/dI age source (v pv ), so the value can be obtained by
conditions can be written in terms of current and voltage
by: v pv
f 1 (k + 1) = (8)
L
dP d(V I ) dV ∼ ΔV When the transistor switches to the “off” state, the energy
= =V+I =V+I (5)
dI dI dI ΔI stored in the inductor is transferred to the capacitor and the
load, so f 2 corresponds to
Knowing the sign of the slope it is now possible to
determine if the value of the current increment is added or v pv vc (k + 1)
f 2 (k + 1) = − (9)
subtracted to the actual current value for the next control cycle L L
(6), this is the reference value. The increase or decrease of
The value of i ∗ is obtained from the MPPT stage, and it is the
the reference signal of current in the boost converter changes
reference current. The prediction of the time “off” is obtained
the point of maximum power.
by
123
Electr Eng
123
Electr Eng
√ √
vα vg (ωt) 2V (sinωt) iα i g (ωt) 2I (sinωt)
= = √ = = √ (20)
vβ vg (ωt − π/2) 2V (sinωt − π/2) iβ i g (ωt − π/2) 2I (sinωt − π/2)
(19)
123
Electr Eng
Using (19) and (20) is possible to find the fictitious active written in VHDL code. Quartus prime generates a FIL block
and reactive power value (21) that represents the HDL code, this block represents the FPGA
in Simulink environment. At each simulation step, PV cur-
p v vβ iα p̄ p̃ rent, PV voltage, Grid voltage and Grid current are exported
= α = + (21)
q vβ −vα iβ q̄ q̃ to the FPGA, they are processed in the controller and then out-
put pulses are sent to the Simulink trough a Gigabit Ethernet
The principle of operation of the proposed PLL structure connection. Communication between Simulink and FPGA is
is to cancel the dc component of the fictitious instantaneous strictly synchronized.
power ( p̄). Figure 5 shows the system to obtain the value of Despite the predictive algorithm is characterized by its
angle θ ∗ . complex and iterative aspect requiring the use of fast circuits
in computing time and dense numbers of logic gates, the
whole control algorithm can be implemented into the FPGA
3 FPGA implementation Cyclone IV E (EP4CE115F29C7) platform. The control sys-
tem needs only 35% of the logical elements and 23% of the
FPGA-in-the-loop (FIL) simulation provides the capability multipliers despite that the proposed control (variable-step
to use MATLAB/Simulink for testing designs in real hard- MPPT with predictive current control and active and reactive
ware for any VHDL code. In this work photovoltaic system is power control with PLL) works principally with multiplier
simulated using MATLAB/Simulink and the proposed con- and registers, it means that the control proposed might be
trol is executed in a board Cyclone IV-Altera DE2-115 (see implemented in a FPGA platform with less resources without
Fig. 6). To work in FIL, first the control proposed must be compromise the performance. Figure 7 shows the hardware
resources used of FPGA Cyclone IV E (EP4CE115F29C7)
platform by the two control units of the power converter
(variable-step MPPT with predictive current control and
active and reactive power control with PLL). As can be seen,
this chip is largely sufficient to implement the control circuit
of two-stage grid-connected photovoltaic (GCPV) system.
Subsequently, the designed control algorithms can be safely
implemented into the FPGA chip.
4 Simulations results
Fig. 9 Power output and current injected to the grid under a change in the solar irradiation level
123
Electr Eng
Fig. 11 Change in the current and voltage grid due the change in the power injection to the grid
two panels in series and two in parallel each working grid current changes abruptly but the grid voltage does not
at 25 ◦ C. The simulated array produces 880W max the- change. Figure 12 shows only the current during the abruptly
oretical. Figure 9 shows the levels of the power output change.
of the system with MPPT and predictive current control Figure 13 shows how the behavior of the voltage output of
proposed, the current injected to the grid changes its ampli- the inverter during the change in the radiation level. Figure 14
tude too as response to the change in the solar radiation presents the voltage output during the change of the power
level from active to reactive.
Figure 10 shows the behavior of the voltage output and Figure 15 shows a comparison of power output between
current output during the irradiance transition, from the figure proposed MPPT in multi-string topology and proposed
it can be appreciated the neatness of the current form, always MPPT in string topology in relation to the maximum power
in phase with the grid voltage. (The voltage signal is divide theoretical, the efficiency of the systems can be measured
by 5 to be appreciated with the current) by (22). The efficiency is showed in Table 1. To improve
Figure 11 shows how the system works with change in the response of the IncCond MPPT and reduce the ripple
the deliver power to the grid. At 2 s, the system changes the increment size can be decreased, but the response of the
between active power and reactive power, the value of the system becomes slower.
123
Electr Eng
Fig. 12 Current behavior during the transition between active and reactive power
Fig. 13 Change in the current and constant voltage output from the inverter during the change in the power injection to the grid
Fig. 14 Change in the current and constant voltage output from the
inverter during the transition between active and reactive power
When the system delivers power to the grid, the current
should have a lower harmonic distortion. The use of a cas-
t2 cade H-bridge reaches a good performance in the current;
Pdt Fig. 16 shows the behavior of the current and the THD of
η M P P T = t2t1 (22)
t1 Pmax dt
the signal. Fig. 17 shows the harmonic spectrum when the
123
Electr Eng
Fig. 16 Harmonic spectrum of the grid current with the proposed control
123
Electr Eng
system is working with a diode-clamped inverter with equal (pv) systems: a review. Int J Energy Res 39(9):1153–1178 ER-14-
number of levels. 5003.R1
7. Sajadian S, Ahmadi R (2016) Model predictive-based maximum
power point tracking for grid-tied photovoltaic applications using
5 Conclusion a z-source inverter. IEEE Trans Power Electron 31(11):7611–7620
8. Metry M, Shadmand MB, Balog RS, Abu-Rub H (2017) Mppt of
photovoltaic systems using sensorless current-based model predic-
In this paper, the control method for two-stage grid-connected tive control. IEEE Trans Ind Appl 53(2):1157–1167
photovoltaic system has been proposed, the PV system was 9. Metry M, Shadmand MB, Balog RS, Rub HA (2015) Sensitivity
developed and simulated with MATLAB/Simulink software, analysis to model parameter errors of mppt by model predictive
and an FPGA platform was used to implement the control control for photovoltaic applications. In: 2015 First Workshop on
Smart Grid and Renewable Energy (SGRE), pp 1–6
strategy with two main functions: MPPT control and inverter 10. Kakosimos PE, Kladas AG, Manias SN (2013) Fast photovoltaic-
control. The variable-step MPPT algorithm has proven to be system voltage- or current-oriented mppt employing a predictive
a good choice to achieve the maximum power of the system digital current-controlled converter. IEEE Trans Ind Electron
compared to more widely used method such as IncCond algo- 60(12):5673–5685
11. Shadmand MB, Li X, Balog RS, Rub HA (2015) Model predictive
rithm. Other features of the proposed MPPT algorithm are control of grid-tied photovoltaic systems: maximum power point
that it calculates the duty cycle in the boost converter, unlike tracking and decoupled power control. In: 2015 First Workshop on
others those, it uses the model predictive control to obtain a Smart Grid and Renewable Energy (SGRE), pp 1–6
reference value. The advantage when using a variable step is 12. Abushaiba AA, Eshtaiwi SMM, Ahmadi R (2016) A new model
predictive based maximum power point tracking method for pho-
observed in Fig. 15 where the difference in the ripple between tovoltaic applications. In: 2016 IEEE International Conference on
the power signal of the proposed MPPT proposed control and Electro Information Technology (EIT), pp 0571–0575
others algorithms like IncCond is significant, this can affect 13. Morales-Caporal M, Rangel-Magdaleno J, Morales-Caporal R
the THD. On the other hand, active and reactive power con- (2016) Digital simulation of a predictive current control for
photovoltaic system based on the mppt strategy. In: 2016 13th Inter-
trol, with PLL based on the porque theory used to control the national Conference on Power Electronics (CIEP), pp 295–299
cascaded H-bridge inverter, allows to change the injection 14. Kouro S, Cortes P, Vargas R, Ammann U, Rodriguez J (2009)
of power between active and reactive, depending on the grid Model predictive control—a simple and powerful method to con-
need. Also use a multilevel inverter permits to reduce the trol power converters. IEEE Trans Ind Electron 56(6):1826–1838
15. Karamanakos P, Geyer T, Manias S (2013) Direct model predictive
THD. The verification method through the FIL simulation current control strategy of dc–dc boost converters. IEEE J Emerg
confirmed the performance of the control strategies imple- Sel Top Power Electron 1(4):337–346
mented in an FPGA platform and thus validate the precision 16. Bin Wu (2005) Cascaded H-bridge multilevel inverters. John Wiley,
and efficiency without the need of the complete system, New York
17. Rodriguez J, Lai Jih-Sheng, Peng Fang Zheng (2002) Multilevel
this increases the safeness, eliminates errors and guarantees inverters: a survey of topologies, controls and applications. IEEE
greater success when implementing the entire GCPV circuit. Trans Ind Electron 49(4):724–738
The main advantages of the implemented control strategy are: 18. Xiao B, Shen K, Mei J, Filho F, Tolbert LM (2012) Control of
simplicity related to the computational requirements of the cascaded H-bridge multilevel inverter with individual mppt for
grid-connected photovoltaic generators. In: 2012 IEEE Energy
control circuit and easy implementation in the FPGA device, Conversion Congress and Exposition (ECCE), pp 3715–3721
besides increasing the total efficiency of the system. 19. Shehadeh SH, Aly HH, El-Hawary ME (2015) Photovoltaic
multi-level inverters technology. In: 2015 IEEE 28th Canadian
Conference on Electrical and Computer Engineering (CCECE),
References pp 648–655
20. Ramirez FA, Arjona MA (2012) Development of a grid-connected
1. Malinowski M, Leon J I, Abu-Rub H (2017) Solar photovoltaic wind generation system with a modified pll structure. IEEE Trans
and thermal energy systems: current technology and future trends. Sustain Energy 3(3):474–481
Proc IEEE 99:1–15 21. Oliveira da Silva SA, Novochadlo R, Modesto RA (2008) Single-
2. Hassaine L (2016) Power converters and control of grid-connected phase pll structure using modified p-q theory for utility connected
photovoltaic systems. Springer International Publishing, Cham systems. In: 2008 IEEE Power Electronics Specialists Conference,
3. Zeng Zheng, Yang Huan, Zhao Rongxiang, Cheng Chong pp 4706–4711
(2013) Topologies and control strategies of multi-functional grid- 22. Rodriguez-Andina JJ, Moure MJ, Valdes MD (2007) Features,
connected inverters for power quality enhancement: a comprehen- design tools, and application domains of fpgas. IEEE Trans Ind
sive review. Renew Sustain Energy Rev 24:223–270 Electron 54(4):1810–1823
4. Bendib Boualem, Belmili Hocine, Krim Fateh (2015) A survey of 23. Vallone J, Geyer T, Rohr ER (2016) Fpga implementation of model
the most used MPPT methods: conventional and advanced algo- predictive direct current control. In: 2016 IEEE Energy Conversion
rithms applied for photovoltaic systems. Renew Sustain Energy Congress and Exposition (ECCE), pp 1–8
Rev 45:637–648 24. Hassaine L, OLias E, Quintero J, Salas V (2014) Overview of
5. Rezk Hegazy, Eltamaly Ali M (2015) A comprehensive compari- power inverter topologies and control structures for grid connected
son of different MPPT techniques for photovoltaic systems. Solar photovoltaic systems. Renew Sustain Energy Rev 30:796–807
Energy 112:1–11 25. Hassaine L, Olias E, Quintero J, Haddadi M (2009) Digital power
6. Tajuddin MFN, Arif MS, Ayob SM, Salam Z (2015) Perturbative factor control and reactive power regulation for grid-connected
methods for maximum power point tracking (mppt) of photovoltaic photovoltaic inverter. Renew Energy 34(1):315–321
123