You are on page 1of 5

1

Design and implementation of a digitally


controlled stand-alone photovoltaic power
supply
Frederick M. Ishengoma, Lars E. Norum
Department of Electrical Power Engineering, Norwegian University of Science and Technology,
O.S. Bragstads Plass 2e, 7491 Trondheim, Norway.

Abstract-- An implementation of a digitally controlled standalone PV power supply consisting of PV array, battery and
inverter is presented. Peak power tracking using Incremental
conductance algorithm and four state battery charging with
temperature compensation are described. Some simulation
results are presented.
Index Terms-- Solar energy systems, modeling and
simulation, photovoltaic battery charging, maximum power
point tracking, digital control
I.

INTRODUCTION

tand-alone photovoltaic power supply system (SAPS)


is established as a reliable and economical sources of
electricity in rural remote areas, especially in developing
countries where the population is dispersed, has low
incomes and the grid power supply is not fully extended to
these areas due to viability and financial constraints.
SAPS are defined as autonomous system that supply
electricity without being connected to the electric grid. A
scheme for SAPS is shown in Fig. 1.

+PV generator

Charge
Controller

DC load

Battery

AC load

A major problem of batteries in SAPS is their inability to


live up to the expectations of the user due to poor
functioning of battery chargers. This includes:
Overcharging, incomplete charging and prolonged operation
at a low state-of-charge (SOC) which results into increasing
the running costs due to replacement of the batteries before
their expected lifetime.
The electricity produced by solar cells is direct current
and can be used that way or converted to alternating current
using an inverter. Inverters which operates in SAPS provide
ac power from a DC battery. Typical DC voltage levels are
12, 24 and 48V dc depending on the power levels which
ranges from a few hundred watts to a few kilowatts. Many
household appliances requires low-distortion sinusoidal
waveforms, and hence the use of true sine wave inverters,
though expensive, is recommended for SAPS.
The paper describes the application of power electronics in
designing and implementing a digitally controlled standalone PV power supply. This includes modeling and
simulation of solar array. Buck converter is used as an
interface between solar array and a battery for MPPT and
battery charging. Incremental conductance algorithm is used
for MPPT. A four state charging algorithm with temperature
compensation which is recommended by battery
manufacturers is used with the 12V, 115Ah flooded-lead
acid battery. The charging algorithm includes disconnection
of the load connected to the battery when the battery voltage
become less than the recommended threshold value. Texas
Instruments Digital Signal Porcessing TMS320F240 is used.

Inverter

Fig. 1. Stand-alone PV power system scheme

The power supplied by PV generator (module) depends


upon the insolation, cell temperature and module voltage.
Battery forms an important element of a stand-alone PV
system. The battery is necessary in such a system because of
the fluctuating nature of the output delivered by the PV
arrays. Both the battery voltage and the PV array voltage
vary during operation due to the changing state of charge
and atmospheric conditions.
In order to draw the maximum power from the module, a
Maximum Power Point Tracker (MPPT) device must be
inserted between the PV module and the battery.

II. SOLAR MODULE CHARACTERISTICS


The I-V solar module characteristics significantly
influences the design of the converter and the control
system. An equivalent circuit for a PV module is shown in
Fig. 2. [1].

NORPIE / 2002, Nordic Workshop on Power and Industrial Electronics, 12-14 August 2002

DV = - bocT DTc - Rs DI

Rs

Vnew = VSTC + DV ; I new = I STC + DI

Iph

(3)

ID

Rsh

RLoad

Tc = Ta +

Fig. 2. Equivalent circuit of a PV module

The module equivalent circuit current I can be expressed


as a function of the module voltage V by [1]:

I = I sc 1 - K1 exp(( K 2V m ) - 1)

(1)

where the coefficients K1, K2 and m are defined as:

K1 = 0.01175; K 4 = ln

( );
1+ K1
K1

I (1 + K1 ) - I mpp
K 3 = ln sc
;
K1 I sc

K2 =

Rs is calculated from manipulation of I-V characteristics


provided by manufacturers at constant temperature. For
variations in ambient temperature, Ta, and insolation, the
cell temperature, Tc, can be estimated with the linear
approximation given by equation:

K4
Voc m

K
ln 3
K
m= 4
V
ln mpp
Voc

G
( NOCT - Ta ,ref )
800

where Ta,ref is the reference ambient temperature used to


specify NOCT (20C for PWX750 module).
Equation (1) was used in Matlab to model PWX750
module. The I-V and P-V characteristics for various
irradiance at fixed temperature (T=25C) obtained from the
model are shown in Fig. 3 and Fig. 4 respectively. Fig. 5 and
Fig. 6 shows the I-V and P-V characteristics for various
temperature and fixed irradiance of 1kW/m2 respectively.

(2)

where:
Impp - is current at maximum power point
Vmpp - is voltage at maximum power point
Isc - is short circuit current
Voc - is open-circuit voltage of module
Modules manufacturers normally provide Isc, Impp, Voc,
Vmpp and I-V characteristics parameters at Standard Test
Conditions (STC) of AM1.5, 1kW/m2 and 25C. Table I
shows data at STC for a 80W PHOTOWATT which is used
in experiments. Data are obtained from module datasheet.

Fig. 3. I-V characteristic at constant Temperature of 25C.

TABLE I
PARAMETERS FOR 80W PHOTOWATT PANEL PWX750 AT STC
Parameter
Value
Maximum Power rating, Pmpp
80W
Minimum Power rating, Pmin
75.1W
Current at MPP, Impp
4.6A
Voltage at MPP, Vmpp
17.3V
Short circuit current, Isc
5.0A
Open Circuit Voltage, Voc
21.9V
1.57mA/C
Short circuit current temperature coefficient, ascT
-78.2mV/C
Open circuit voltage temperature coefficient, bocT
NOCT (Normal Operating Cell Temperature)
45C
Insolation, G=0.8W/m2, Ta=20C, wind speed=1m/s

Equation (1) is only applicable at one particular insolation


level, G, and cell temperature, Tc. When insolation and
temperature changes, the change in above parameters can be
calculated using:

DTc = Tc - TSTC
G
G

DI = a scT
- 1 I SC ,STC
DTc +
GSTC
GSTC

(4)

Fig. 4. P-V characteristic at constant Temperature of 25C.

3
III. MPPT ALGORITHM
Simulation results in section II shows that the power
supplied by PV module depends upon the insolation, cell
temperature and module voltage. MPPT device is required
to extract maximum power from the PV module.
Several MPPT methods had been reported [2-5].
Comparative study made by [5] shows that incremental
conductance (IncCond) algorithm tracks fast the MPP under
rapid changing atmospheric conditions. IncCond algorithm
can be best described by the flowchart of Fig. 8 at every
MPP sampling.
Read V(k), I(k)

dI=I(k) - I(k-1)
dV=v(k) - V(k-1)

Fig. 5. I-V characteristics at constant G=1kW/m2.

dV=0 ?
N
Y

dI/dV = -I/V ?
N

dI/dV > -I/V ?

dI>0 ?

N
Vref=Vref+deltaV

dI=0 ?

Vref=Vref - deltaV

Vref=Vref - deltaV

Vref=Vref + deltaV

V(k-1)=V(k)
I(k-1)=I(k)

Fig. 6. P-V characteristic at constant G=1kW/m2

The I-V characteristics for some set of irradiance and


temperature given by:
[G,T]={[1000,25],[1000,60],[800,45],[500,25]} is
shown in Fig. 7.

Fig. 7. I-V characteristics for some set of G and Tc.

I-V characteristics from the simulation correlates well


with the I-V curves provided by the module manufacturer,
which means that the above model is correct and can be
used for testing other functionality such as Maximum Power
Point Tracking (MPPT) and battery charging algorithms.
Note that if a PV array is composed of Nms modules in
series and Nmp modules in parallel, the I-V characteristics of
the array is derived by scaling the characteristics of one
module with a factor Nms in voltage and Nmp in current.

Return

Fig. 8. Incremental Conductance algorithm flowchart

A. Testing the IncCond algorithm


The algorithm was coded into an s-function in simulink
and linked with the PV module model developed in section
I. Fig. 9 shows the results from simulation for different
irradiance and temperature [G,T].

4
Trickle current, ITC
Bulk to overcharge transition voltage, VB2O
Float to bulk transition voltage, VF2B
Discharge threshold, VCHGENB
Load Disconnect voltage, VLDV
Load reconnect voltage, VLRV
aBT
- battery temperature coefficient

18
[1000,25]

17.5

[800,25]
[700,25]

Voltage [V]

17

[900,45]

16.5

0.02IBULK
0.95VBOC
0.9VBF
Given
Given*
Given*
-3.9

[800,45]

"Given" in the value column in table II means value


recommended by battery manufacturers.

16

15.5

The battery charging involves the MPPT loop and battery


regulation loop (voltage and current loop) as shown in Fig.
11. When each loop is activated depends on which charging
state the process is in as explained below.

15

14.5

14

0.01

0.02

0.03

0.04

0.05

0.06

0.07

Time [s]

Fig. 9. Vref tracking for various irradiance and temperature

IV. BATTERY CHARGING WITH MPPT


In a SAPS system, it is important to charge batteries as
fast as possible. This necessitates that as much energy as
possible should be transferred to the batteries, without
damaging the batteries during the charging process. Battery
manufacturers recommends four state charge algorithm for
lead-acid batteries. These states are: trickle charge, bulk
charge, over-charge and float charge as shown in Fig. 10.
[7].

Trickle charging state: When the batterys voltage is


below a discharge threshold, VCHGENB, the battery is either
deeply discharged or has shorted cells. In this state, the
charger begins in a low-current trickle-charge state where a
small trickle current (ITC) is applied. If there is shorted cells,
the battery voltage will stay below VCHGENB preventing the
charger from proceeding to the bulk charge mode.
Otherwise the charge will be slowly restored and the voltage
will increase towards the nominal range until it reaches
VCHGENB. At that point the charger will advance to bulk
charging state.
In the trickle charging state, the battery voltage loop and
also the MPPT loop are disabled. The reference current in
the battery current loop, IBref is ITC.
Bulk charging state: In this state the charger acts like a
current source providing a constant charge rate at IBULK. The
MPPT loop is enabled while the battery voltage loop is
disabled. The reference current in the battery current loop is
IBULK. The charger monitors the battery voltage and as it
reaches a transition threshold of 0.95VOC, the charger enters
the over-charge state.

Fig.10. Battery voltage and current over one charging cycle using a four
state charge algorithm.
Ipv
PV array

IB
DC/DC
Converter

Vpv

Vpv

Ipv
IncCond
algorithm

VB

IB

PWM
Generator

+
Vref

GVP(s)

GI(s)

VB

- +
IBref

GV(s)

- +

VBref

Fig. 11. Battery charging block diagram

In order to understand this charging algorithm, let us


define the following parameters for a 12V battery.
TABLE II
PARAMETERS FOR BATTERY CHARGING
Parameter
Capacity of the battery in Ah, C
Bulk charging current, IBULK
Overcharge voltage, VBOC
Floating voltage, VFLOAT
Over-charge terminate threshold current, IOCT

Over-charge charging state: This state is used to restore


full capacity in a minimum amount of time at the same time
avoiding over-charging. All the battery voltage loop and
current loop are activated while an MPPT loop is
deactivated. The VBref now is equal to VBOC. Initially
overcharge current is the same as bulk-charge current, but as
the over-charge voltage is approached, the charge current
diminishes. IBref is determined by the battery voltage loop.
When the charge current becomes equal to IOCT, the state
changes to float charge state.

Value
Given*
C/20
Given*
Given*
0.1IBULK

Float charge state: During this mode, the battery voltage


is maintained at VFLOAT to maintain the battery capacity
against self- discharge. The charger will deliver whatever
current is needed to sustain the float voltage. State of battery
voltage and current loops are as in over-charge mode but
VBref now is equal to VFLOAT.
The battery will remain in the float state until the battery
voltage drops to 90% of the float voltage due to discharging,
at which point operation will revert to the bulk charge state.
Disconnection of load: The charger circuit disconnects all

5
Inverter

L0
Transformer

Cd

Analog
Signals to be
conditioned

Interface board

PWMs for inverter

Co

Inverter status signals

Battery

DC

Value
15V
13.5V
10.5V
11.4V
12.6V

Conditioned
signals (0-5V)

DSP and
Gate Drivers
Relay control signal

A. Battery temperature compensation


The voltage characteristics of a lead-acid cell have a
negative temperature dependence of approximately -3.9
mV/C/cell. The threshold voltage levels recommended for
battery charging are normally referred to battery temperature
of 25C. This means for other battery temperatures, a
charger must have some form of compensation to track the
battery temperature.
Mathematically, temperature compensation can be
expressed as:

VB (T ) = Vc ,25 + a T (T - 25) N c

Switch
(relay)

DC

TABLE III
PARAMETERS FOR BATTERY CHARGING
Parameter
Overcharge voltage, VBOC
Floating voltage, VFLOAT
Discharge threshold, VCHGENB
Load Disconnect voltage, VLDV
Load reconnect voltage, VLRV

Buck converter

Load

PV Array

PWM for DC/DC converter

load from the battery when the battery voltage reaches VLDV
to protect the battery from over-discharge. The load will
remain disconnected from the battery until the battery is
recharged to VLRV.
Recommended threshold voltages for 12V flooded leadacid battery in SAPS at 25C are shown in table III.

(5)

where: VB(T) is the new threshold voltage at T (C), Vc,25


is the cell threshold voltage at 25C, aT is -3.9mV/C/cell,
Nc is number of cells in a battery.
According to [7], during higher temperatures, the PV
systems with temperature compensation chargers shows a
stabilization in water loss, while those without temperature
compensation experiences water loss.

Personal
Computer

Fig. 12. Block diagram for a digitally controlled PV SAPS.

REFERENCES
[1]
[2]

[3]
[4]
[5]

[6]
[7]

V. HARDWARE FOR EXPERIMENTS


The hardware configuration is shown in Fig. 11. It
consists of: PWX750 80W PV module; a buck converter;
12V 115Ah flooded lead acid battery; inverter with
transformer and LC filter; interface board for signal
conditioning; TMS320F240 evaluation board and a PC..
Signals used for control are: PV current and voltage;
Buck converter inductor current; battery voltage, current
and temperature; inverter inductor current, load current and
load voltage.
In the time of writing this paper, a prototype is in the final
stage of completion. Experimental results including inverter
control will be reported during the workshop.

[8]

S. Rauschenbach, "Solar Cell Array Design Handbook", Van Nostrand Reinhold company, 1980.
K.H. Hussein, I. Muta, T. Hoshino, M. Osakada, "Maximum photovoltaic power tracking: an algorithm for rapidly changing
atmospheric conditions", IEE proceedings of Generation,
Transmission, and Distribution, Vol. 142, No. 1, Jan. 1995
D.B. Snyman, J.H.R. Enslin, "Simplified Maximum Power Point
Controller for PV installations", IEEE Photovoltaic Specialists
Conference, 1993, pp 1240-1245
J.H.R. Enslin, "Maximum power point tracking: A cost saving necessity in Solar Energy Systems", IECON90, 16th Annual Conference
of IEEE Industrial Electronics Society, Vol. 2, pp 1073 -1077.
C. Hua, C. Shen, "Comparative Study of Peak Power Tracking Techniques for Solar Storage System", Proceedings of the 13th annual
Applied Power Electronics Conference and Exposition, 1998, Vol. 2,
pp. 679 -685.
Kurt Hesse, "An off-line lead acid charger based on the UC3909",
Unitrode company.
S. Harrington, J. Dunlop, "Battery charge controller characteristics in
Photovoltaic systems, IEEE AES Magazine, August 1992.
N. Mohan, T.M. Undeland, W.P. Robbins, "Power Electronics;
Converters, Applications, and Design", 2nd ed., Wiley, NewYork,
USA, 1995.

You might also like