150V 45A MPPT - roll your own


Author Message
nickskethisniks
Guru

Joined: 17/10/2017
Location: Belgium
Posts: 481
Posted: 11:49am 12 Oct 2022      

Hi Peter, is it different from the mppt code we are Running?
Before I used your code I used that kind of loop also in my regulator but without speed limitation. Just as fast as possible with bad coding. So I can  recycle that code, but I expect yours is written better and with some Bells and wistles . Response was not that fast but it worked.
Is there a reason you limit regulation speed? I'm sure this could be Faster even with the 328. Or is the DAC not stable enough with higher sample rates?

Yesterday I managed to set up regulation with a TL494 ic. But it was painfull setting up the compensation networks. I just did with trial and error. Voltage mode is not that difficult but it's the combination with current limitation. Doing this with uC is less difficult but  less responsive.
A hardware comparator with a sr flipflop can do short circuit protection.

I want to set something up to shift energy from a 24V battery bank to a 48V battery and the other way around.