MPPT Based Charge Controller Using Pic Microcontroller; MPPT (maximum power point tracking) based charge controller using pic microcontroller is a controller that could be used for charging the batteries after tracking maximum power from solar panel. As we know, the demand of energy is increasing day by day as well as the nonrenewable energy resources such as hydro, coal and oil are also depleting day by day, beside this these resources are not environmental friendly therefore we must need to search the renewable energy resources such as solar, wind soil, trees and grass to full fill the energy demand. There are many MPPT charging techniques are available. I have also posted a project smart charge controller based on PWM you may also like to check it. you can also check 15 ampere solar charge controller.
These resources are environmental friendly but to track the maximum power from these resources is also a biggest problem and here we will only talk about solar panel. For tracking maximum power form solar panel, different types of charge controllers are currently used in market such as PWM (pulse width modulation) and MPPT charge controller. If talk about PWM charge controller then it is less expensive but its efficiency is so much low and does work properly during changed environmental condition. Against that, the MPPT charge controller has good efficiency and work properly during changed environmental condition but its cost is so much high not every normal user could afford easily.
So many companies have designed this charge controller with the help of different controller but that are not more efficient. Here we have designed a MPPT charge controller that is called a MPPT based charge controller using pic microcontroller with the help of pic 18F452, IRF 9540 MOSFET driver and load control unit. This MPPT based charge controller using pic microcontroller is less costly, more efficient, more precise and more reliable as compared to other charge controllers. The block diagram of this MPPT based charge controller using pic microcontroller is shown is figure 1
Block Diagram of MPPT Based Charge Controller Using Pic Microcontroller
Here is block diagram of MPPT based charge controller using pic microcontroller with all their essential components,
Figure 1 MPPT based Charge Controller Using Pic Microcontroller
Components List with Detail of MPPT Based Charge Controller Using Pic Microcontroller
Here is the component list with short detail of MPPT based charge controller,
Voltage Sensor: In this MPPT based charge controller using pic microcontroller, the voltage sensor is used for sensing the solar panel and battery voltages. This sensor has been made with voltage divider circuit.
Current Sensor: In this MPPT based charge controller, the current sensor is used for sensing the load and solar panel current for calculating the power. Here we have used hall effect sensor ACS 712-20A for this purpose.
Temperature Sensor: In this MPPT based charge controller, the temperature sensor is used for sensing the room and battery temperature. Here we have used LM 35 temperature sensor for this purpose, which is calibrated for -55Co to +150Co range.
Solar Panel: In this MPPT based charge controller, the solar panel is so much necessary in this controller because the maximum power point is tracked of this solar panel for charging the battery and power on the output load. Different types of solar panels are available in market which have different characteristics.
pic Microcontroller: In this MPPT based charge controller, the pic 18F452 has been used for the intelligent control of this charge controller. It is 40 pins integrated circuit IC, which is programmed in c language with the help of mikro/c software. It is powered up with 5V dc and is interfaced with solar panel, battery, load controller and LCD display.
LCD Display: In this MPPT based charge controller, LCD display is used for displaying current, voltage, power, temperature and energy of solar panel. It is interfaced with microcontroller and is powered up with 5V dc.
IRF 9540: IRF 9540 is semiconductor switch which is used in this controller for high frequency switching. Because this controller consists of buck boost converter therefore the IRF 9540 is used for buck boost purposes.
MPPT Based solar Charge Controller Circuit diagram
Circuit diagram of MPPT bases solar charge controller is given below:
Working Principle of MPPT Based Charge Controller Using Pic Microcontroller
This MPPT based charge controller using pic microcontroller works in three stages bulk, absorption and float. In bulk stage, the preset amount of current is fed into the battery and in this stage, there would be no change in PWM of controller. When the battery is being charged up then voltage across the battery increases gradually till the voltage has reached at its preset value of voltage such as 14 or 12 then PWM of this controller begins to work for maintaining this voltage and this stage is called absorption stage. During this stage, the current of battery is taping down as well as battery has full charged. This stage when battery has full charged is called float stage. Similarly, when solar panel relates to controller then this controller checks the battery and solar panel voltage.
If battery voltage is less than solar panel voltage then it starts to charge the battery means this is bulk stage. This controller consists of buck boost converter, when panel voltage is greater than 14V then it bucks the voltage and boost the current. Because the current has boosted therefore the battery would charge quickly almost 1 hr. Similarly, when solar panel current is greater than battery charging current then this controller bucks the current and boost the voltage, the battery would charge again quickly. In both stages, this controller gives the constant 14V to battery therefore this charge controller is more efficient than PWM charge controller and work in every environmental condition. This controller also consists of load control unit for prevent the battery from deep discharging.
Source code of MPPT based solar charge controller
Contact us for source code.
Applications and Advantages of MPPT Based Charge Controller Using Pic Microcontroller:
- This charge controller could be used with solar panel for charging the battery after tracking the maximum power.
- This charge controller has load control unit for automatically on or off the connected load.
- This charge controller provides over charge protection, over voltage protection, deep discharge protection and reverse polarity protection from solar panel.
- This charge controller charges the battery more quickly.
- This charge controller is more efficient and less costly.
Nice tutorial. Does this system work in real life? or its just a tutorial? could you perhaps upload videos ? I am interested in it, but I have seen several others that are just simulations. Perhaps a video showing it working with relevant measuring instruments to measure input and output parameters. Thanks.
yes It is working perfectly on hardware as well
Solar Inverter pcu mppt pcb
In this MPPT based charge controller, the pic 18F452 has been used but in circuit shows pic16f877a
consists of buck boost converter therefore the IRF 9540 is used for buck boost purposes.but in circuit shows irf44zn pl.tell which is right pl clear this
i want to purchase your source code but think
It is according to circuit diagram given in article
one is n chanel and another p chanel who can this equal
consider circuit diagram given in article only. Do not consider explanation
ok i will see only circuit not explanation i want to test real works or not i will purchase your source code for test have you Gerber file for this circuit board
No gerber file only circuit diagram and code
I n your schematic, BATTERY CURRENT was connected to measure LOAD current. Is that the proper thing? How does the system sense the battery charging current then?
how to get source code and circuit diagram
Sir please upload the source code plzz along with algorithm please
Great article. Can you provide us the source code?
Hello
Hello
A very interesting article. I would like to check the operation of the driver
Sir please upload the source code along with algorithm please.
Mariusz
Sir,
kindly share Source code of MPPT based solar charge controller
Sir
Please upload the source code along with algorithm please.
Mariusz
Sir pls how can i get the source code, i need it
how to get source code and circuit diagram, thanks!
Hi i need source code for my homemade project can u please tell me how can i contact u to buy it. Thanks
I would like access to the project file
kindly share Source code of MPPT based solar charge controller
Why that D2 and D3 zener diodes are connected across the solar panel
how to get the source code and the circuit diagram, because I want to make one.
Sir
Please upload the source code along with algorithm please.
Sir, how to get the source code, i want to make one. But i can use dsPIC30F4011. Please help me Sir.
I want to study it using pic 16f84 so please inform me regarding code and others
please inform whether i can use pic 16f84 and request you to share the code
Sir, how to get the source code, i want to make one. Please help me Sir.
Can i please have access to the source code for this project?
Can I please have the source code of this project?
please can I have the source code of this project?
please how do I get the source code and hex files
Can you please share the source code of this project?