Thoughts about integrating the battery voltage maintenance algorithm into the MPPT controller.

By Julian

Youtuber, shed dweller, solar charge controller aficionado

15 thoughts on “Arduino mppt solar charge controller #21 – battery maintenance”
  1. Avataaar/Circle Created with python_avatars Firas Al-Kanaani says:

    why no included in the arduino mppt solar charge controller playlist

  2. Avataaar/Circle Created with python_avatars jedinite0 says:

    Can't wait for this to be complete any plans on a arduino grid tie inverter?

  3. Avataaar/Circle Created with python_avatars Arnoldt Breedt says:

    Hi, I'm in south Africa so sunshine isn't a problem, really like your controller so far, can't seem to access your website, would like to try your code where can I download it? Keep up the good work.

  4. Avataaar/Circle Created with python_avatars James McGill says:

    Julian, I was not able to find the latest source code for the Arduino. Could you post the source code again?

  5. Avataaar/Circle Created with python_avatars Peter Marx says:

    Great Projekt want to build it next months.
    How many watts i can handle with this controller?
    Ive got 400w….

  6. Avataaar/Circle Created with python_avatars Joseph Jonatas says:

    can you please post your latest sketch for this MPPT project. thanks and more power

  7. Avataaar/Circle Created with python_avatars xanataph says:

    I think you're on the right track there Julian. 🙂 From what I understand most commercial units drop out ov MPPT mode once they hit the absorption stage.

  8. Avataaar/Circle Created with python_avatars Jusb1066 says:

    question about internal clock, kind of… for battery charging, its usual to boost the voltage to 14.4 for a short period once a day assuming ithas been at or below 13.6v all day, does your board have the ability to count to 24 hours with reasonable accuracy? i dont know if you have an internal clock

  9. Avataaar/Circle Created with python_avatars Jim M says:

    Julian,

    I recently started "playing" with the Arduino boards, an UNO and an MEGA 2560 for a project with XBee Pro radios.  I did a fair amount of work several years ago with Atmel Microcontrollers using the STK-500 and Atmel AVR Studio 4 IDE.  This project turned into a four layer PCB with an ATMega1280 TQFP-64.  It was a huge learning curve and a pretty fair price after adding it all up.

    I've been viewing your videos for some time now and they've got me interested again in some ideas I've had for some time, plus a friend of mine's idea that he asked me to develop.  I like the idea of the Arduino boards as a rapid prototyping platform with multiple shields you can stack.

    Watching your video this morning, and my own frustrations with the Arduino IDE, reminds me of what I really liked about Atmel AVR Studio 4.  The Arduino IDE is designed for learners, I'm not a big fan of it, but it does work, and you can do more advanced things than what are documented as shown in you video.

    I really like what you've developed so far, I think you've got something good going on with the MPPT/PWM idea.

    Thanks for the videos,

    Jim

  10. Avataaar/Circle Created with python_avatars Giulio Berti says:

    Glad you are looking again at the mppt project

  11. Avataaar/Circle Created with python_avatars Giulio Berti says:

    Glad you are looking again at the mppt project

  12. Avataaar/Circle Created with python_avatars tobortine says:

    You wouldn't need to poll in night mode but instead use a rising edge external interrupt to detect when you have some power coming in from the solar panel. It'll save you consuming power only to realise it's still night.

  13. Avataaar/Circle Created with python_avatars Simon Parkinson says:

    Can you not just continue with the MPPT buck converter running at 15kHz, but just add the battery voltage setpoint into the algorithm so that the PWM% is reduced to achieve the target voltage?
    On the surface of it, this could provide some useful efficiency gains when you have both solar charging and a load connected simultaneously.

  14. Avataaar/Circle Created with python_avatars Simon Parkinson says:

    Can you not just continue with the MPPT buck converter running at 15kHz, but just add the battery voltage setpoint into the algorithm so that the PWM% is reduced to achieve the target voltage?
    On the surface of it, this could provide some useful efficiency gains when you have both solar charging and a load connected simultaneously.

  15. Avataaar/Circle Created with python_avatars andywhy says:

    This makes me want to complete my PWM controller now but I just don't have the time!

    Nice idea about doing the mixed mode. I hadn't thought of that before in the same way. My idea for the PWM was to look at current and when it was below a certain point if it's reached the bulk charge voltage (14.5v) it would then back down to float mode (13.6v) until the voltage dropped below a certain point then it would flip back to bulk mode again. Rinse and repeat. I didn't dive into that too much though as I didn't get the rest of the code to a state I was happy with.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.