Really appreciate the well documented and open source design.
A lot of Power wall projects could benefit from 48V battery support. Would this be possible in this design by BOM changes like using capacitors rated for 100V in DC DC LV section and a few firmware mods ?
@andy
It’s 560 W on each port. The limiting factor is the current, which is 20A each for the battery side of the MPPT, for the load port and for the PWM port. So if you use a 12 V system, power is only half.
And yes, that was the idea that anybody can use the communication he/she needs. There are so many different options that I think it’s better to provide headers instead of a fixed communication method. Previous designs only had the UEXT port, but it is not ideally suited for anything that needs an physical connector to the outside of the charge controller. So this design has a different approach to allow breakout boards in the bottom left corner. We have tried LoRa before, but not yet with TTN, just raw LoRa messages. You can find a suitable hardware extension here.
As said in the link posted by flywire, I’m currently not selling the PCBs, but will start with the MPPT 1210 HUS beginning of next year. Before ordering a batch for the new MPPT, I want to do proper testing with the prototype first. If anyone wants to hand-solder a prototype, let me know. I might have some spare PCBs.
@ashinjohn
I received the first board before Christmas and I will solder it beginning of the new year, as I will be at 36C3 conference the next days. So no results yet, but I’ll keep you updated.
For a proper 48V design, some more changes than only the capacitors would be needed. Some important aspects:
The MOSFETs need to be exchanged with higher voltage rated parts. And higher voltage MOSFETs have higher Rds(on), so the current would probably have to be reduced.
Automotive blade fuses on the low-side are only rated for up to 32V.
Currently, internal power supply can come from HV or LV side. For higher voltage input, HV side option should be removed.
The high-side current sense amplfier can’t handle 48V at the moment.
Changing the firmware for 48V would not be a big deal.
<Me, rising my hand>; I’m fresh for soldering a proto.
My goal is MPPT 2420, unless it really isn’t wished yet. I am aiming at the software side of the STM32G431. I think it could be nice to learn it to know in the embedded situation with the MPPT 2420, instead of a “foreign” development board. I guess you/I would have to develop in stages from no charge to charging production version anyway. So, I would start the first stages without needing to have it running in a deployment. I would offer to do the solder work for you too Martin, if you could use that, if it makes sense. I would be able to invest in a single board and components from start January.
If the MPPT 2420 isn’t “wished yet”, is that eventually because of the missing support of Mbed for the STM32G431?.. Or?.. Just to understand.
Sure, I’m happy about any kind of support to get the new design running. It’s just not yet meant for people who are afraid of SMD soldering or magic smoke because of firmware bugs. And I’m also not sure if there are still hardware bugs in the PCB, as it is the first prototype.
I have 3 PCBs already on my desk in Hamburg. You were the first one to ask, so you can have one. Please send me a private message for shipping options.
I’m planning to go ahead with Zephyr for the new board, so the lack of mbed support doesn’t matter. First step to get it running would be to make the ADC/DMA part of the firmware independent of mbed. I have already started to make a custom board definition in Zephyr based on STM32G431 nucleo board. We could continue discussions on firmware in the firmware repo then.
Regarding the link: Sorry, seems like it was a private discussion. I wrote that in order to sell electronics in Germany or the EU you need to manage some legal obstacles regarding electronics waste (WEEE). This will be solved beginning of January. I ordered a small batch of of the MPPT 1210 HUS which I will start selling via the website beginning of January.
I was looking around for ordering components. Then I see that the Github repo for the MPPT-2024-LC is still with the “old” processor (STM32F072) and not the new STM32G431. - Can I rely on the BOM, alias list of components are the same, or have they changed (a lot)?.. How to get the BOM file for the new version ?
The BOM of the new MPPT 2420 HPX is totally different from the previous MPPT 2420 LC.
I decided some time ago to not store the BOM in the repository anymore, as I sometimes forgot to update it when I updated the board, so it got inconsistent. This page describes how to export the BOM. I’m working on a way to generate the BOM automatically after each push to the server using the Interactive HTML BOM tool. However, I didn’t find a way to run the script via continuous deployment yet, as it needs to be called from within KiCad.
Hey,
im also about to order now the PCB and the components to have a try, would you recommend that i try the new MPPT 2420 HPX one? Where do i find the KiCad document?
I would recommend to go ahead with the new board, but maybe wait another week until I got some first tests finished. As the new MCU is not supported by mbed, I’m currently porting the firmware to Zephyr RTOS (keeping mbed in parallel for existing charge controllers for now). That’s taking quite a lot of time. But without working firmware it’s not possible to test the hardware
I read for the MPPT-2420-HPX that the in/out of the PWM can be used as dump load, if no solar panels are connected to the system. Source: https://github.com/LibreSolar/mppt-2420-hpx
As I can understand on another source, is an dump load required when using a wind turbine. When having solar panels next to a wind turbine, would you then place the dump load outside of the control of the MCU ? - Maybe where you rectify the power of the wind turbine?.. Doesn’t the MCU need the on/off control of that dump load somehow to manage the charge? - Is that the point where the CAN or another port has to be used?..
Yes, dump loads are required for wind turbines to slow them down (by using the generated power) if the battery is full or cannot handle all the generated power.
The dump load control may be also outside the charge controller and switch on as soon as the wind generator voltage reaches a certain threshold. Or some wind turbines may not need a dump load because they break the turbine mechanically if they get too fast. In this case you can use the PWM port for a solar panel.
If you want to use the dump load in a more smart way and e.g. heat water instead of wasting the surplus energy, you do need some sort of control. This could be done via CAN (if an external dump load switch is smart enough) or if you use the charge controller as a pure wind turbine controller, it can be done directly in the charge controller with the dump load connected to the PWM switch port.
Regards dump load; Would it be a big mess in the existing PCB circuit to integrate a separate line out for dump loads?
My thinking is the following:
It would make the charge controller more complete as a charge controller, instead of having to build external “unique” solutions. “Dangling” around in different colors, making it less “pretty” and “finished” as a product.
You always come to the point where the battery is full, and you want to use the surplus of energy for something useful, instead of not using it. Why leave that functionality out of a charge controller? Why not embrace the possibility of making the product a more complete product?
ALTERNATIVELY to this separate surplus or dump line, would it be nice to be able to know what surplus exist at any given moment. Is that possible? I mean, it surely is, but how prepared is the hardware for that? - I ask as I clearly can see a benefit in this. With that knowledge, would you be able to send commands to single devices like washing machines, pumps, elevators or whatever to start and stop. - Of course, only if this does not force further charge on the battery. I mean, that energy has to bypass the charging of the battery if the battery is already full, or not? How prepared is the hardware for such a case, as an alternative to a separate surplus/dump line?
I see a bigger advantage in the “alternative”, as to the separate surplus/dump load line.
I guess there is no “catalogue” of use cases, alias functionality? - Is there something like a manual in PDF?
So I’ve been thinking about this a bit more in the last few days. It is probably better to split the charge controller in smaller units that communicate with each other instead of adding an additional port to the already quite complex charge controller design. Have to think about it a bit more, but it might be possible to have just two types of modules (DC/DC and switch) that can be mounted on DIN rails and talk to each other. In this way, you can build a charging system with as many loads, dump loads and solar/wind/hydro inputs as you like. But at the same time people who want a very simple system don’t have to build the complex full-featured charge controller PCB.
Regarding surplus energy: It’s not very easy to estimate how much is available and for how long. But if you switch on loads when the battery is full while still having more solar power available available, the charge controller will automatically try to get as much power as possible from the solar panel and not use the battery.
There is currently no manual of the new charge controller design. For the MPPT 1210 HUS there is one (see link in github repository).
Paragraph “So I’ve been thinking about…” - Yes. Sound very good in my ears. I am open to discuss how to do that. Tell me when you have a page/document to continue on that idea.
Paragraph “Regarding surplus energy…” - Thank you for that information. I think there could be some ways in estimating that. It could be done by information via internet, vague - or by different hardware. I will not go into details now. It may not be so important as other things, for now.
Paragraph “There is currently no manual…” - Can we make a place for it?.. Or is that too early?.. We could make the requirements, or functionality that we plan to introduce, a preliminary manual. So if we had a place describing those requirements/the functionality, that could be the start of the manual. - How about creating such a page?..
i might have overseen it in the thread but are there any test results already on the new board? would love to order one myself. if you anyone has ordered a second BOM, board - let me know
Nope, there are no published test results yet, as I’m still struggling with the firmware. Porting to the new MCU (including change to Zephyr OS) took more time than intended. The two ADCs are still not working well with DMA, so I couldn’t test the DC/DC power stage yet. Hope to get there till end of the week.
Other things like I2C communication with a display work fine. But that’s not most important, I guess
I’ve just seen that the new design is alpha-stage now. I like the highside switch and highside shunt. No flawn found so far. Same as at the MPPT 2420 charger before, i can offer emi analysis for the new design if wanted. Same as done at our c-turm, i can offer fieldtest for the new design. We plan to use the battery powered solar system in summer for ham radio activity again. So we can compare the emi behaviour directly between old MPPT 2420 and new design. Old design had emi-issues in 2m radio wavelength range.
Yeah the good news is that I just tested the high-side switch and the charge pump successfully. The charge pump is working well, so the LT spice simulation made before making the schematic did a good job.
I’d be happy to do some testing regarding EMI. It should be much better than the previous 20A charge controller, as I included some learnings from previous design and testing in the board layout. In the summer the design should be fully working and I should have some more boards available.
I will probably update the design a bit and include the RJ45 ports for CAN bus directly on the board again. And if I find some hardware bugs during ongoing testing, they will be fixed aswell, of course.
thank you very much for sharing your MPPT charger design.
I really appreciate that you would like to include the CAN Bus directly on the Board.
Have you already thought about which pinout you will use?
I mean like canopen or something?
Did you also think about the Transceiver that will be build into your design?