Why are you dumping the load on PV panels? Or is that the only type of charger controller you have right now?
Nothing. Unless I missed something huge, PV panels can be in the sun open circuit.
(LEVEL ONE)--POWER TYPE--
|--HYDRO POWER
|--WIND POWER
|--SOLAR POWER---(LEVEL TWO)--SYSTEM VOLTAGE--
|--48v
|--24v
|--12v--(LEVEL THREE)--BATTERY CHEMISTRY
|--CUSTOM
|--AGM
|--GEL
|--LEAD ACID---(LEVEL FOUR)--CHARGE PROFILE
|--CURRENT LIMIT xx A
|--BULK ?
|--ABSORB xx.x V
|--FLOAT xx.x V
DISPLAY
volts amps in
volts amps out
power generated today
power dumped today
stats for this day/week (etc)
CONTROL
set charging on/off
force dump off/auto/on
send data out RS232 to PC
SET OPTIONS
solar/wind/hydro
battery 12/24/48 etc
battery charging full limits/profile/time etc
dump load settings
set alarm limits
Main Menu
Display
volts amps in
In from panel
8.1V 2.3A
volts amps out
Out to Battery
12.2V 1.5A
Generated Today
Generated Today
123456W
Dumped Today
Dumped Today
4321W
Weekly Stats
Today 37kWh
Today-1 43kWh
Today-2 41kWh
Today-3 45kWh
Today-4 34kWh
Today-5 50kWh
Today-6 27kWh
Control
Charging on/off
Charging on/off
on
Allow Dump
Allow Dump
True
Options
Set Baud Rate
2400
4800
9600
19200
Set voltage
Voltage 12V
Voltage 24V
Voltage 36V
Voltage 48V
'GCBasic Program for solar powered swithmode battery charger
'Test Voltage control mode
'with programmable PWM voltage reference as C1IN+
'and simulated voltage out 4 x divider output as C1IN-
'Tested 9/26/2009
'Chip model
#chip 16F887, 8
#config _INTRC_OSC_NOCLKOUT
'setup lcd
#define LCD_NO_RW ;tied to gnd
#define LCD_IO 4
#define LCD_DB4 PORTB.3
#define LCD_DB5 PORTB.2
#define LCD_DB6 PORTB.1
#define LCD_DB7 PORTB.0
#define LCD_RS PORTB.5
'No #define LCD_RW PORTC.6
#define LCD_Enable PORTB.4
#define led1 PortE.0
#define led2 PortE.1
#define led3 PortE.2
'Set the pin directions
dir led1 out
dir led2 out
dir led3 out
'dir portA.0 in
'setup comparator C1IN+/RA3 for programmable PWM reference voltage
'and C1IN1-/RA1 from charger output voltage divider
'C1OUT/RA4 sent to switch mosfet transistor gate
Set C1ON On 'set comparator C1 enable bit
Set C1OE On 'set output to C1OUT pin (RA4)/clear bit if internal only
Set C1CH.1 Off:Set C1CH.0 OFF 'select C12IN1- (RA1) to C1Vin-
dir PortA.4 out 'Enable C1OUT comparator output
dim count as word
Main:
Count = 0
Do while Count <= 5000
HPWM 1, 8, 191 'measured 3.6V by DVM (i.e. 4 x 3.6V = 14.4V)
count += 1
Loop
Count = 0
Do while Count <= 5000
HPWM 1, 8, 175 'measured 3.3V by DVM (i.e. 4 x 3.3 = 13.2V)
count += 1
Loop
goto Main
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?