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
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?
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
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.
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.
Great "how not to make a mppt". A solar panel can not be simulated only with a power supply without a diode and a small resistor. With the power supply the mppt will not work. And with just a if state, without some type of PD controller....the battery with last forever....not!
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!
@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.
It is MPPT. Have you looked at the schematic? A PWM controller has no charge pump output, just a switching device. The software will allow MPPT and vary the output accordingly.
Its not mppt. It does nothing for tracking maximum power point for the output. It just varies according to the battery not the input voltage. If it was MPPT it should be able to dynamically able to vary voltage and current according to the input from PVs
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.
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
@@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
Yes read the code, no power tracking (compare previous power output), no scan function to find maximum power point. However, the hardware is capable of MPPT, when he adds that second current sensor.
Thank you. I'm still impoving the project and do the best I can. even so, the control is not a simple PWM. We control the current and voltage is going from the panel to the battery at all time with a simple algorithm. A PWM regulator can only be used if the voltage of the solar panels and the batteries is the same, which in this case is not. The controiller could change voltage and current values at all time.. Have a nice day!
@@ELECTRONOOBS hi Dear Electronoob I understand that it's not simple pwm but pwm controlled balanced / trickle charger. But MPPT and pwm solar chargers are different .I can see that you have added a buck converter to the circuit, As @station240 mentioned above your circuit can be modified as a MPPT charge controller by adding an current sensor to the charger output and changing the you. You must monitor both input and output power , calculate the maximum powe point and control the buck converter according to that, so that we can archive maximum ( not a 100%,but more than that of a pwm charge controller) Plus with a synchronous buck converter ( you mentioned it in the video,as h bridge driver insted of transistor MOSFET driver) you can improve the efficiency.
@@ELECTRONOOBS Yes, it's DC-DC with current limit function (well switches to CV+CC for float). PWM chargers lack the big inductor, easy way to spot the difference.
This is not MPPT i think. This is switching mode battery charger. WhatMPPT does is extract maximum power from solarpanel constantly changing its load to panel, always looking for that maximum power point it can draw. In this video there was no maximum power tracking. If there was it would have gone to pulling that 2 amps from PSU constantly. MPPT maximizes power pulled from source and docent care what happens to that power after that. Nice project even it its just battery charger not MPPT controller.
Thank you for your comment. The idea is to make this as close to an MPPT controller. At the moment we do have some MPPT fucntions. We control both current and voltage from the solar panels. A PWM regulator can only be used if the voltage of the solar panels and the batteries is the same, which in this case is not. This controller could change voltage and current values at all time.. In this way we could maximise the solar panel output and charge the battery even if the voltage value is not the same. What other functions would you add? Have a nice day!
@@ELECTRONOOBS in mppt control we control the input voltage and current in such a way that solar panels always operate on maximum power irrespective of battery required currents. if you draw large currents from solar its output voltage will dip largely and output power will low. www.teachengineering.org/lessons/view/cub_pveff_lesson03 here is a short explanation of MPPT ...there are several mppt algorithms out there you can search and deploy on Arduino. BTw great video keep going.
It would be great to actually do the maximum power point tracking of the solar input, and changing the charge current to suit. At this point it will collapse the solar panel if you have a cloudy day and won't actually work. Turn your power supply current limit down to 1A and your circuit should sense the input voltage drop and change its charge current to suit
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 🇧🇷
This is not MPPT tracker. It is not tracking input power at all. Basic problem here is, that solar panels don't act like bench power supplyes, as their voltage will collaps at higher current load. That is why they need a MPPT tracker. All this is is a battery charger and a weird one i might aid. You are confusing input and output curent.
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.
Little confused. Nice project but so far there is nothing about it that is an MPPT, this is just a programable (very useful) charger. For MPPT on solar panels, the idea is to harvest the maximum power from a solar cell. This power is a variable product of the voltage and current they don't just supply current a voltage, it heavily depends upon the load. The 'load' needs to vary to be able to draw maximum power from that available from the cell and then produce a fixed output either in voltage or current. It is not as simple as connecting a battery charger to a solar cell and cannot really be simulated by using a bench power supply, hence the name, Maximum Power Point Tracker! For example, the more current you draw, the lower the voltage but not by a predetermined amount like a discharging battery, as this will depened on the factors of amount of light, temperature, cell makeup and age, etc. It's a careful balance between current and voltage, a high voltage and low current can have the same power as low voltage and high current, it is the job of the MTTP to find that balance point and track it. It is a very useful project and I am quite interested to follow, therefore I hope this is just the start and you will be progressing this into an MPPT controller. Thanks for your work, love your videos.
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..👍
About the schematic in your web site.. You can add flyback diode to the relay. The Bat+ on the H3 connector pin 2 is wrong I think. It goes to GND, so you mean Bat- I guess. Q5 emitter and Q1 goes to the same place right?
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!!!!!!!!!!
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....)
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 :(
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?
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 😉
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.
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 is can charge. But can't reached mppt ? . How about it can reached mppt due to this is buck? And power will drop due to voltage decrease? Can you explain for me please. I confused. Sorry for my bad eng
hello please could you continue with this project i would like to create a solar portable generator which could be charged by both ac grid and dc solar voltage for my battery i am using a 3s 18650 60ah DIY battery please i beg continue with this project and upload it next i beg with all due respect
WTF? You haven't calculated any power variables in your code, so how are you planning to track maximum power point of the solar panel's without even knowing the real-time panel power?
@@ELECTRONOOBS It would be great if you could use an ESP32, You could post the data to MQTT server and display it on the home automation system. You could also control the relay based on time or messages.. I'm thinking my garden lights ;o)
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
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.
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😁.