MPPT Solar Charger Prototype | 12V Lead-Acid Battery | Bulk Absorption Float
HTML-код
- Опубликовано: 23 июл 2024
- $2/5pcs 2Layer & $2/5pcs 4Layer PCBs: jlcpcb.com
🔥This is my first prototype for the MPPT controller and I will post more results and a better version soon. Also a custom made PCB with everything ready.
🔀LINKS
-------------------------------------
Tutorial Website: electronoobs.com/eng_arduino_...
Part lsit: electronoobs.com/eng_arduino_...
Schematic (V1.2): electronoobs.com/eng_arduino_...
Code (V1.0): electronoobs.com/eng_arduino_...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.io/forum/index.php
Facebook page: / electronoobs
Canal en Español: / electronoobs en español
Like share and subscribe to motivate me. Thank you
#Arduino
#MPPT
#Solar - Наука
This is the battery charging controller only. For MPPT you need to implement additional algorithm, for example the constant voltage or perturb and observe method. However this is good base for start. Good job.
Your recent videos have been inspiring me a lot. Thank you for all the high quality content!
Glad to hear that. Thank you!
This is not an MPPT-charger, it's just a lead-acid battery charger. MPPT specifically refers to extracting maximum power from the solar-panel; it keeps track of the voltage and current of the panel and adjusts the current so that the panel is always supplying as much power as it can. A simple approximation would be to periodically check the panel's open-circuit voltage and then keep the voltage at 80% of that.
Never thought of that! I need to dig into this. It will most certainly outperform a PWM method.
Can you please send any link to that project pls urgently
I agree this is not MPPT.It is only charger circuit but the Video still very usefull.
True
Great project. MPPT code coming in future video with upgrades
Arduino Course (Spanish): bit.ly/3ldW6kO
Follow me on FACEBOOK for more: facebook.com/Electronoobs
Help me on Patreon: www.patreon.com/ELECTRONOOBS
Looks interesting. I'm glad for people like you who open-source their projects because I like electronics but not good at programing.
I'm not going to be attempting to build an MPPT controller but I am in the market to buy one and wanted to learn exactly how it works, and you delivered exactly that, the educational value of this video is brilliant, I feel I understand it way more now. thanks heaps!
I am always happy to be notified when you upload a new video ,great WORK from EQUATORIAL GUINEA!!!! your advanced arduino series has changed my codding level
thanks indeed!!!!!!!!!!
A really nice project and an entertaining, educational video. Looking forward to see the final product. Hurry up !!
please tell me what software was used to draw circuit
Looking forward to the MPPT control where the peak power point is continuously tracked. Thanks for a great video.
you probably dont give a shit but does someone know of a method to log back into an Instagram account?
I was dumb lost the login password. I would love any assistance you can give me!
@Melvin Atlas Instablaster ;)
@Leonel Quinn thanks so much for your reply. I found the site on google and Im waiting for the hacking stuff now.
Seems to take a while so I will get back to you later when my account password hopefully is recovered.
@Leonel Quinn It did the trick and I now got access to my account again. I'm so happy:D
Thank you so much you really help me out !
@Melvin Atlas Glad I could help xD
I love the it just for the learning process, can't wait to see the future ones for newer algorithms, addons, etc.
I love this guy, he is fantastic! Just bang on mate! Keep it up high!!
An excellent video, very clearly presented. It’d be worth going over in more detail WHY MPPT is important.
Where is MPPT Algorithmm? Do I miss something??
No. at the moment it is only a chargecontroler with float. looking forward how he progressis
Однозначно спасибо за ваши видео уроки по програмированию микроконтроллеров 👍
Eagerly waiting for the better version of this project 🔥
I might end up using your system for one of my projects :)
Very nice job on the basic principles, can’t wait to see the next iteration and the improvements you make to this with it!! Great channel, long time subscriber, keep up the good work!!
6:14 warning: missing snubber / flyback diode on relais schematic. Everytime the relay switches off a high peak current is now endangering Q3, your BC547.
Could use, e.g., a 1n4007 positioned on pins 2 and 5 so that current can flow TOWARDS the positive (pin 5, +5V) side.
Tío, gracias. Estaba mirando en ali un cargador para hacerme una farola solar con varias placas de 80w antiguas. Me has alegrado el día y animado a montármelo por mi mismo. 😁👍👍👍👍👍😍
Thanks for this great video, waiting for further upgrade with control switches for different voltages. Thanks again for this great efforts 👍👍👍👍👍👍👍
Awesome work! Keep it up. 👍
8:06. I suggest you relocate the LED1 across the relay coil which confirm the Q3 driver NPN is actually working. At present the LED1 is only indicating that a voltage has been applied to the Q3 Base and there is an assumption that the driver transistor Q3 is working correctly.
Overall a great little project. Like it and look forward to V2
Thank You. I have learned a lot from this Video. From Frisco, TX
This is a great video I hope the full version of this mppt would be released handling greater current. 10A is nothing nowadays.
Beautiful video ,thanks so much ,I learnt a lot!!
Amazing video as always. The only thing i would add to that project is a temperature sensor. Also a while back I added a diy battery monitoring system to my ups where the microcontroller communicates with a python server(raspberry pi) so I can see the voltages and temps on all batteries. So I would highly suggest in addition to the sd card adding an esp32 or raspberry zero w as a server with the ability to auto shut down for example if the battery's temp go over 45 degrees and to get an email of the logs, graphs and what is the problem in a pdf (very easy with python, mqtt, smtplib, json reportlab, matplotlib....)
And of course some pd control
Nice explanation.. since it is a three step lead acid battery charger with buck converter.. you can modify your code for mppt as well.. with only few lines. You can use mppt code during bulk charge only and rest time CC and CV charger.. in mppt code, you can calculate power and change the pwm duty cycle for max power only.. once you achieve voltage threshold, change the mode from mppt to CC and then CV..👍
When I search for mppt princilple to apply on battery charging, this is the best description I can understand.
I was planning to build one fifth the 700w solar pannel I had laying around
Will wait for the final video
Always waiting When you upload new video Thank You so much sir for your support 🔥🔥🔥
Thanks!
@@ELECTRONOOBS Really I love u sir I learnt alot from your Channel Thank You so much and keep it up 👍🔥🔥🔥🔥
Thanks for tell me about the load enabled/disabled(relay) and how the green led light up when voltage is low!
I keep hearing how expensive these controllers are, yet it really doesn't look that complex. It's more complex than a standard battery charger, but it looks like someone should be able to make one themselves and save some money. I look forward to seeing the next version.
The problems (and expense) come when you increase the current to something useful for, say, a household solar electric system.
Great job especially in explanation
Great job my friend. Keep going
Really cool project!
This channel is so underrated... You really bring a lot of interesting and good content... Keep it up
Thank you very much! :)))
cant wait to see mppt implemented on the solar side, panels have strange power curves, shame julian ilett didnt finish his mppt it was almost complete
Very helpful video.
Good effort
Great Project 🔥🔥🔥
Hi, just a point I want to mention, you could have used a linear regulator for the mcu as those cheap buck modules are not reliable, if accidental short circuit or something else happens those gets reset plus the mcu power requirement can easily be met with linear regulator.
Thanks for the input current monitoring idea I was thinking of upgrading mine so this would be a great addition in efficiency monitoring also solar cell Dirty warning if used in conjunction with a LDR😁.
Super great ultra pro max project.... waiting for lithium one ...
A couple times you said that when in bulk mode we don't care about the input voltage. I know this is lead acid not lithium ion, but doesn't the input voltage still have to be higher than the current battery voltage? If so, what does the mppt do when the input voltage drops too low?
Did you use a BJT to control the relay for a reason (vs using a mosfet), or is it just what you had on hand that had the desired specs?
so I'm not really capable to fully understand electronics and just bought Arduinos and sensors to start playing
but I would like to someday have a 12v battery/solar powered system running my optical fiber/wifi internet router, some charging USB outlets and my LED house lights, so if the power gone down I could still have the basics running (already have grid tie photovoltaic system and planning on installing solar water heating system)
since it all runs on DC I wouldn't need to convert it to 110v AC for the power bricks and internal LED lamp inverters convert it DC again, avoiding losing power by heat during the process
of course it have to accept grid charging when the sun spend some days not that bright... it's not really common here in Brazil, but it is possible to happen
I could do it all right now using existent products, but maybe I can make it on a better and smarter way (IoT)
you're project are just perfect to help me understand the needs... I'll keep watching
thank you mate 🇧🇷
Good luck my friend, hope all goes to plan
How do you drive n channel mosfet in high side without bootstrapping it , does efficiency improve when bootstrapping is used in the buck converter?
A weak pullup at the BJTs base to or something to prevent something bad when micro boots with undefined pin state or flash corruption...
Excellent project
Grossartiges Video 👏👍👍!
Cool and interesting! Like!
you're such an inspiration....thanks...
Would it be required to use Interrupt capability of Arduino, especially to read load current? A sudden spike should be immediately sensed, I believe. Apologies if this is a dumb question
Waou cool tank you for this vidéo and code complet schema I am enjoye
Explained very well
hi, I was wondering if this circuit can easily be changed to suit 18v batteries? Thank you
Very well explained
Great video! The pwm signals are a little bit oscillating, it would be more useful if we did it with PID control. maybe you can make a video " mppt solar with PID control " for you followers! :)
Thanks
You need a flyback suppression diode across relay K1 or Q3 will be toast after a few cycles! And also add a resistor in series with the base of Q3 to limit the current. 470 Ohms will do it.
Great job...
Why do we have pins at + and - terminals of the battery? Won't that be a short circuit in the schematic? I think we need only the + to do the voltage divider to measure the voltage across the battery? Can someone explain please??
mppt charge controllers available in market are very costly, so if you could manage to make a working 30 amp or 50amp mppt charge controller with all features will definitely helpful to many diy fans. keep it up and hope to see a final working project.
Well its not as easy as this video claims it to be. Here it didint event touch MPPT part yet. Witch is pulling maximum boosble power from source. In this PSU case that wouldbe 24V@2A constantly. There is reason why real MPPT units costs so much. And why even Chinese has not been ableto pushprices down to dollars.
I am making mppt charge controller with ir2104 driver ic and using a potential divider for voltage measurement and ACS 712 for current can I connect arduino ground to circuit ground directly to measure voltage and current
i have a question here.. i did the prototype and upon testing, the inductor heats up same through with the mosfets..
Hi :) nice video 🤩💗🤩 , what do u think, about multiple independent inputs ?
Incredibly good job of explaining everything. The only part i'm confused about is the voltage regulation using PWM via a mosfet. Are there any resources you can reference on how that works?
Try to see this explanation ruclips.net/video/1oFlc4jv2-g/видео.html
In your schematic you have double positives for the panel and the battery. I think one should be positive and the other negative?
I see a problem with the transistor switching the mosfet, it will be on all the time with higher solar voltages. A high side mosfet driver IC is normally used instead of the transistor.
Best video plz continue thi project
When I used boost 5v Module, when connect to the circuit, the voltage is under 5V. Could you tell me why ?
I want to build a CC CV li-on charger for an ebike "72v" battery pack I made. I don't think I need MPPT. I need to charge at 84v and 5A (0.2C) with the same principles (probably without float). It has a BMS for balance and overcharge protection. I don't see any issue about using this method with a 500w pc power supply. What do you think? I know I need to check components for this kind of power and maybe use an optocoupler for additional protection.
This would work really good for microhydro with the correct time settings!
Good job
Very informative & well explained. Just wondering whether you have any plans to take this further beyond this initial prototype stage? In the current global energy crisis this will be incredibly useful for us makers 😉
no RUclips tem vídeos do canal rfilhos altos sobre controladores caseiro mppt ?
Hi please a bidirectional mosfet switch that can be used in for charging and discharging battery with high current.
Great info and indeed such a project is beneficial for the renewable folks. One question: @12:26 why you are increasing the pwm IF Bat Voltage is greater than Abs Voltage, isnt it the other way around? Also waiting to fine tune your project and hipe you will give hint to scale it up to KW mode
Can you make the final version with a esp32, so you can monitor/control it over wifi?
I noticed you did this in December... Sunny! ;)
I was looking at the PWM charge controller.
You have no current control. For voltage reference within the code.
The prime of MTTP is a current and voltage play off. Raise the current till the voltage drops. Start with the highest Voltage.
Of course it's not easy with one panel, in winter..
Here are some panel stats.
OV38.7 (nom, hot 41.5)
8.78a OI
MPPV30.4
MPPI 8.37
Seasonal changes occur, the I is lower In winter and I can drop voltage.
There is 5% under what's.printed on the panel backs.
Let's hope you can do this, and you need to add more safety.
I noticed some spikes are not protected.
If you have an apartment, you should try it anyway. INSIDE. Some windows don't really block the "enough sun light" so you can place solar panels towards the south (in the northern hemisphere) and cloudy weather doesn't take it all. Go for double (24v/series) for 12 volt batteries and you should turn it off at night as the controllers take quite much. Maybe I'm lucky with where I placed them and some extra windows to the sides as well.
how to do it if you want to enter a positive negative load in the SSC MPPT (don't have to remove the battery ) ? plaese make a video about it
hello , like the design do you have an updated version of one .
Please share the gerber file of the design. I can't wait to try it.
Hey sir, thanks for your great video. Can you make another video about MPPT with fuzzy controller in P&O algorithm?
Hi sir, is it possible if i use 30v for the input voltage?
How do the project come to know in which stage of charging it's currently in
Excellent 👍
A pid or pi control algorithm will make this project even more interesting. Nevertheless it is still an exciting one and can't wait for the final version really😻
No, I've tried PID on my system. You have to seriously filter your MV (Measured Variable) signals for the PID to be quite stable. It does not really stay very constant. I do however use PID on my fan control. My P-Chan MOSFET is connected to a heatsink. (I do about 80Watts on my system) and the MOSFET does heat up quite a lot. I have a fan cooling the heatsink at a constant set point temperature. I use 10k NTC resistor for temperature monitoring. I used to use the Dallas DS18S20 sensors, but I've have failures on those sensors more often than I would have liked :(
@@jacquesvermaak373 The MOSFET worked at the ON/OFF mode, It won't heat up. You might need to check your design.
Can I suggest a flyback diode on the relay.
I understand the charging circuit but not the mppt side, can you do a video explaining that side please.
Good one bro.
This looks like a very nice project so are you going to do more with the design and software, as I would like to make one?
Am I can use of the arduino Uno sir. Thanks
Could you add an output for a dump load which could be used to brake a wind turbine in high winds? I would like a single controller that could be used with both my solar and turbine at the same time but i am not sure if it's possible?
please tell me what software was used to draw circuit
I think INA3221 3 in 1 current sensor is better sensor for this project for monitoring solar Current, battery Current, and load Current.
May be in future projects.
Or you can use INA250 with built-in sensor of 2mΩ (4.5mΩ package resistance) and analog output. Draws maximum of 300𝜇A from Power Supply.
Why does Q1 drain go to Panel - ? 10K pullup on gate will result in slow turn on and high power loss.
Could you make a video about using the same board to charge 18650 cells if that is possible ?
I have noticed in the schematic, that the coil for the load relay has no flyback diode in parallel to protect the microcontroller against voltage spikes! Next in the video you did not mention about the MPPT circuit operation, main reason I watched it.
However you did well describe the charge controller operation for the battery circuitry. You said using that you would be using the lab bench power supply to simulate the PV modules, which I do not think would be suitable.
I have also experimented with 5 of the modules [same as you showed] in series, got 28V in open circuit, but when connected to an off the shelf buck boost converter to output 13.6V, the PV side voltage was never more than 2.9V and the current was no more than 0.06A. Hence the need for an MPPT to harvest the maximum energy from the PV modules. As per your schematic, should you not be using a synchronised buck boost converter circuit instead?
How many amps is this and how do you wind the inductor
This is simple buck converter with some modifications. How the circuit collects maximum power from the input as the project name is MPPT!?
He said he calculated the input power somewhere and he showed that as well.
As I see it the mppt part is the 3 modes but other then that I agree this is not really an mppt as it should calculate the maximum input power and regulate accoardingly.
Problem is also he never lowerd the input voltage as well
Yes a simple boost buck converter or step down converter.
@@christiankulmann3325
The project has almost everything to do the MPPT.
Just make the loop by varying the PWM depending on the Vp x Ip product.
(p = panel)
There is a small error in the power calculation, where Vp x I (battery charge) is done and it should be Vp x Ip
Take a look for the INA219, an I2C UPside current and voltage probe. In other hand, why not to use a delta-I method to reach the FLOAT point?, an used battery never reaches the floating point current, so, the delta-I method, serves for any battery state and the final current when you reach it, makes you know the battery life state.
Liked n commented before watching the video as usual... Luv from India❤
GREAT have u tested it with 100W and 400W solar panels? :D (40V DC 10A)
Very interesting video. Question: at the end of the video, you disconnect the battery. No more supply for the buck converter and thus, to the Arduino 5V. So, how is made the 5V power supply for the Arduino in this case ? Perhaps I have missed something ? Thanks :)
please tell me what software was used to draw circuit