-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm also building this MPPT #2
Comments
Hi @augonis, I just saw your post. |
Hi, Firmware wise. I looked at your code and found myself not too familiar/comfortable with your code style (in the overall structure sense), so I decided to better start fresh project integrating some of your code where it made sense to me. |
Thanks for your feedback and glad to hear you can use parts of my code. My background is more on the software side, this is my first bigger firmware project. I tried to logically structure things and I found this sometimes to be not ideal on a MCU with limited resources. Happy about any more input. Also like to see your code. Have two boards running here, too. They each produce >4kWh per day, using the original PCB, with the hall sensor at the input of the half-bridge. I tried many ways to deal with the heavy noise; using a low tracker frequency (1-2 Hz) and ignoring any power change <1.5 W works best so far. Recording U,I,P, duty cycle and good visualisations helped a lot while tuning the algorithm. A periodic global MPP scan every 15min deals with partially shaded strings and reveals local maximum, although I found that one of my 2S solar strings doesn't really need it. We are planning to offer this as a commercial product, maybe as an assembly kit. Should have some educational value. |
I still need to clean up some stuff, but I hope I'll manage to publish my project next week. |
I've published my project, you can check it out https://github.com/augonis/pogo-MPPT |
Cool, thanks for sharing. I am also designing the new PCB with a INA chip. The INA228 works up to 48V and has an additional Vbus input, which can be multiplexed between Vin/Vout, so I can omit the ADS1015. There are also some cheaper INA chips with lower CMRR Voltage and Vbus. Did you try the current sense with the ADS1015? Here are my thoughts on your schematics: I've re-structured my firmware here, to make it more readable. |
The INA219 in in the schematic so that I had an unpopulated footprint on the PCB in case I had to upgrade current sensor. In fact I am using the ADS1015 for current sense. The resolution isn't great, but it seems to work good enough. The buck part of the circuit I copied one-to-one from Angelos design. If I'll need to make more boards, I'll try to integrate your suggestions. Just curious: Did you have a look on the firmware? Any feedback, Ideas to burrow? Eventually I will write a Home Assistant integration to act as a hub for telemetry, settings, etc. |
My feedback about your code:
I see the buck code is mostly by me. Glad you could use it. |
@augonis The datasheet of the WS2812B says it needs 3.7V supply. I see you're running this on just the 3.3V and it works? |
I've used WS2812B on several projects on 3.3V and it works just fine. I like using it for indicators as it's a single component solution with just 3 wires to run/solder. |
I've been struggling with the ADC noise at higher power levels (>600W). ADC readings have outliers and there was a lot of interference on the UART. I tracked it down to be a ringing switch node at frequencies 10-30MHz, 20 V ringing p2p (switch node to GND). This was due to the high Qrr of the CSD19505, proposed in the original Fugu design. These fets are not suitable for high-side switching, rather synchronous rectification as the datasheet says. I replaced the CSD19505 with a STP150N10F7 and it works much better. Very little ringing and no noise issues. yay @augonis Did you check the voltage spikes at the switch node with an oscilloscope? |
For now I haven't got a setup for higher power testing (likely won't have till next spring), but I did check just now at <200W (1P to 27V) and saw no spikes. Haven't had much time to work on the MPPT (looks good enough for now), am trying to focus on installing the solar panels now. Thanks for the info, I'll know what to watch out for when getting into higher power. |
Hi,
I'm also am developing MPPT based on this project.
I've already designed my own PCB incorporating some of the hardware changes You mention in your notes (like low side shunt current sense and low side backflow MOSFET). Also have supplies figured out, but will have to verify the results.
Now I'm looking to tackle the firmware changes and found your fork, and I'll be building upon your fork.
Just letting you know, maybe we can de-duplicate our efforts.
The text was updated successfully, but these errors were encountered: