| Posted: 01:56am 30 Mar 2020 |
|
|
|
I have a simulation of a solar panel working well. It uses the buck converter running some custom code. The code runs in constant current mode, but with a twist. It is CC from 0 to 15V output, and then when the output volts rise from 15 to 18V, the output current is reduced proportionally.
This gives the sort of power verses voltage curve I need to test MPPT code.
The data is from the constant DC load I built years ago. I dial up a current and observe the voltage...
volts amps watts/10 18.6 0.09 0.1674 18.4 0.26 0.4784 18.2 0.61 1.1102 17.7 1.01 1.7877 17.3 1.25 2.1625 16.9 1.44 2.4336 16.2 1.77 2.8674 15.5 2.02 3.131 15 2.2 3.3 10 2.2 2.2 5 2.2 1.1
which looks like this when graphed. X axis is volts, Y is amps (and watts/10)
 Beaut. Now I have something to test the MPPT buck converter against. If my MPPT code can't find that peak then something is very wrong. wronger than a phone book full of wrong phone numbers |