1 Design and implementation of a digitally controlled stand-alone photovoltaic power supply Frederick M. Ishengoma, Lars E. orum Department of Electrical Power Engineering, orwegian University of Science and Technology, O.S. Bragstads Plass 2e, 7491 Trondheim, orway. 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. ITRODUCTIO tand-alone photovoltaic power supply system (SAPS) S 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 Battery Fig. 1. Stand-alone PV power system scheme = ~ Inverter +- DC load AC load 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. 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. 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]. ORPIE / 2002, ordic Workshop on Power and Industrial Electronics, 12-14 August 2002
2 I ph R s I V T R I oct c s V V V; I I I new STC new STC (3) I D D R sh Fig. 2. Equivalent circuit of a PV module V R Load The module equivalent circuit current I can be expressed as a function of the module voltage V by [1]: m I Isc 1 1exp(( 2V ) 1) (1) where the coefficients 1, 2 and m are defined as: 11 4 1 4 1 2 m Voc 3 0.01175; ln ; 3 Isc 11 I mpp 4 ln ln ; m= I 1 sc V ln V where: I mpp - is current at maximum power point V mpp - is voltage at maximum power point I sc - is short circuit current V oc - is open-circuit voltage of module Modules manufacturers normally provide I sc, I mpp, V oc, V mpp and I-V characteristics parameters at Standard Test Conditions (STC) of AM1.5, 1kW/m 2 and 25 C. Table I shows data at STC for a 80W PHOTOWATT which is used in experiments. Data are obtained from module datasheet. TABLE I PARAMETERS FOR 80W PHOTOWATT PAEL PWX750 AT STC Maximum Power rating, P mpp 80W Minimum Power rating, P min 75.1W Current at MPP, I mpp 4.6A Voltage at MPP, V mpp 17.3V Short circuit current, I sc 5.0A Open Circuit Voltage, V oc 21.9V Short circuit current temperature coefficient, sct 1.57mA/ C Open circuit voltage temperature coefficient, oct -78.2mV/ C OCT (ormal Operating Cell Temperature) 45 C Insolation, G=0.8W/m 2, T a=20 C, wind speed=1m/s Equation (1) is only applicable at one particular insolation level, G, and cell temperature, T c. When insolation and temperature changes, the change in above parameters can be calculated using: T T T c c STC G G I T 1I sct c SC, STC GSTC GSTC mpp oc (2) R s is calculated from manipulation of I-V characteristics provided by manufacturers at constant temperature. For variations in ambient temperature, T a, and insolation, the cell temperature, T c, can be estimated with the linear approximation given by equation: G Tc Ta OCT Ta, ref (4) 800 where T a,ref is the reference ambient temperature used to specify OCT (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=25 C) 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/m 2 respectively. Fig. 3. I-V characteristic at constant Temperature of 25C. 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) Fig. 5. I-V characteristics at constant G=1kW/m 2. di=i(k) - I(k-1) dv=v(k) - V(k-1) dv=0? di/dv = -I/V? di=0? di/dv > -I/V? di>0? Vref=Vref+deltaV 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/m 2 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. 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]. Fig. 7. I-V characteristics for some set of G and T c. 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. ote that if a PV array is composed of ms modules in series and mp modules in parallel, the I-V characteristics of the array is derived by scaling the characteristics of one module with a factor ms in voltage and mp in current.
4 18 Trickle current, I TC Bulk to overcharge transition voltage, V B2O 0.02I BUL 0.95V BOC 17.5 17 Voltage [V] 16.5 16 15.5 [1000,25] [800,25] [800,45] [900,45] [700,25] Float to bulk transition voltage, V F2B 0.9V BF Discharge threshold, V CHGEB Given Load Disconnect voltage, V LDV Load reconnect voltage, V LRV BT - battery temperature coefficient -3.9 "Given" in the value column in table II means value recommended by battery manufacturers. 15 14.5 14 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 Time [s] Fig. 9. V ref tracking for various irradiance and temperature IV. BATTER CHARGIG 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]. 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. Trickle charging state: When the battery s voltage is below a discharge threshold, V CHGEB, 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 (I TC ) is applied. If there is shorted cells, the battery voltage will stay below V CHGEB 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 V CHGEB. 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, I Bref is I TC. Bulk charging state: In this state the charger acts like a current source providing a constant charge rate at I BUL. The MPPT loop is enabled while the battery voltage loop is disabled. The reference current in the battery current loop is I BUL. The charger monitors the battery voltage and as it reaches a transition threshold of 0.95V OC, the charger enters the over-charge state. Fig.10. Battery voltage and current over one charging cycle using a four state charge algorithm. PV array I pv IncCond algorithm V pv I pv V pv + - V ref DC/DC Converter PWM Generator G VP Fig. 11. Battery charging block diagram I B V B G I - I B + G V I Bref In order to understand this charging algorithm, let us define the following parameters for a 12V battery. TABLE II PARAMETERS FOR BATTER CHARGIG Capacity of the battery in Ah, C Bulk charging current, I BUL C/20 Overcharge voltage, V BOC Floating voltage, V FLOAT Over-charge terminate threshold current, I OCT 0.1I BUL V B - + V Bref 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 V Bref now is equal to V BOC. Initially overcharge current is the same as bulk-charge current, but as the over-charge voltage is approached, the charge current diminishes. I Bref is determined by the battery voltage loop. When the charge current becomes equal to I OCT, the state changes to float charge state. Float charge state: During this mode, the battery voltage is maintained at V FLOAT 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 V Bref now is equal to V FLOAT. 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 load from the battery when the battery voltage reaches V LDV to protect the battery from over-discharge. The load will remain disconnected from the battery until the battery is recharged to V LRV. Recommended threshold voltages for 12V flooded leadacid battery in SAPS at 25C are shown in table III. TABLE III PARAMETERS FOR BATTER CHARGIG Overcharge voltage, V BOC 15V Floating voltage, V FLOAT 13.5V Discharge threshold, V CHGEB 10.5V Load Disconnect voltage, V LDV 11.4V Load reconnect voltage, V LRV 12.6V PV Array Buck converter DC DC PWM for DC/DC converter Battery Switch (relay) Interface board Cd Analog Signals to be conditioned Conditioned signals (0-5V) DSP and Gate Drivers Inverter PWMs for inverter Inverter status signals L 0 Relay control signal Transformer Co Load 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 T( T 25) c (5) where: V B (T) is the new threshold voltage at T (C), V c,25 is the cell threshold voltage at 25C, T is -3.9mV/ C/cell, c 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. V. HARDWARE FOR EXPERIMETS 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. Personal Computer Fig. 12. Block diagram for a digitally controlled PV SAPS. REFERECES [1] S. Rauschenbach, "Solar Cell Array Design Handbook", Van ostrand Reinhold company, 1980. [2].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, o. 1, Jan. 1995 [3] D.B. Snyman, J.H.R. Enslin, "Simplified Maximum Power Point Controller for PV installations", IEEE Photovoltaic Specialists Conference, 1993, pp 1240-1245 [4] J.H.R. Enslin, "Maximum power point tracking: A cost saving necessity in Solar Energy Systems", IECO 90, 16th Annual Conference of IEEE Industrial Electronics Society, Vol. 2, pp 1073-1077. [5] 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. [6] urt Hesse, "An off-line lead acid charger based on the UC3909", Unitrode company. [7] S. Harrington, J. Dunlop, "Battery charge controller characteristics in Photovoltaic systems, IEEE AES Magazine, August 1992. [8]. Mohan, T.M. Undeland, W.P. Robbins, "Power Electronics; Converters, Applications, and Design", 2nd ed., Wiley, ework, USA, 1995.