Professional Documents
Culture Documents
Group Members
Muhammad Khubaib 100155 Fawad Ahmad 100365 M. Omair Akhtar 100179
Brief Overview
Wind and Solar energy is to charge the same battery
efficiently
Design to operate as a stand alone system Manual cycle driven generator Microcontroller will be used Priorities will be set
Rin
Vin
Ro
Vout I out
Rin
Vin I in
Vin Vout (1 D)
Rin
1 D Vout
I out 1 D
2
resistance at input
Rin 1 D
Vout I out
Rin 1 D Ro
2
Block Diagram
Solar Panel 100 Watts Charge Controller Battery charging controller DC Load 25 Watts Battery 20 AH Square wave Inverter AC Load 70 Watts
Priorities
Solar Panel will be given priority Both sources will be used Manually driven cycle generator as backup
Calculation Equations
Calculations
Solar panel
Battery
AC LOAD
MPPT
Why MPPT is needed? Power supplied by Panel Vary within the day. To track max power and transfer it to the load side.
Output Voltage
MPP
PIC Micro-controller
I-V relationship used to track maximum power
PIC output will be given as input to transistor of boost
converter
Algorithm designed to track max power by changing Duty
cycle D.
PIC microcontroller
Method.
Incremental Conductance
Method.
decrease voltage
The size of the step determines the size of the
P & O Algorithm
START DUTY / =50%
> 1
No
> 1
Yes
Yes
Decrease Voltage or Decrease Duty cycle Pk = Current power reading Pk-1 = Previous power reading
50%
oscillation
50.392%
11.9v
24v
.392%
Code
unsigned int volt,curent,power; void main() { short duty = 0; //initial value for duty ADCON1 = 0xFF; TRISA = 0xFF; PWM1_Init(1000); //Initialize PWM1 PWM1_Start(); //start PWM1 PWM1_Set_Duty(duty); //Set current duty for PWM1 volt = ADC_Read(1); curent = ADC_Read(2); power = volt*curent; if (volt>PORTB && duty<250 && power>PORTC) { Delay_ms(40); duty = duty + 1; //increment current_duty PWM1_Set_Duty(duty); //Change the duty cycle } else if (volt<PORTB && duty >0 && power>PORTB) { Delay_ms(40); duty = duty - 1; //decrement duty PWM1_Set_Duty(duty); } Delay_ms(10); // slow down change pace a little PORTB=volt; PORTC=power; }
Timeline
Work Completed
Battery Charging Controller
Calculations for charging current, charging time and backup time Current and voltage sensors
Timeline
Work to be done
Selection of generator for wind mill Selection of manual cycle driven generator
Thank You