tbnobody / OpenDTU

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters
GNU General Public License v2.0
1.77k stars 495 forks source link

[Request] Global MPPT für HM-Series #1375

Closed k0017 closed 11 months ago

k0017 commented 11 months ago

Is your feature request related to a problem? Please describe.

HM Micro-Invertes don´t track for a global maximum point. This is very import to activate the bypass diodes when the panels are shadowed. The panels have three bypass diodes. When a panel is shadowed, the voltage should decrease which actives the bypass diodes and the shodowed vertical segment will bypassed. This is not implemented in the firmware of the hm inverters. There should be a scan between the low and high end of the voltage the inverter regularly eg. every minute. The scan should be very fast, because when this happens, we don't have a maximum power point.

We now have millions of balcony solar systems, which did not work well and loose almost all of their power due to the lack of the global scan for a maximum powerpoint. The panels may be damanged due to hotspots, which occur when panels are shadowed and the bypass diodes will not be activated by the inverter. It is a scandal.

Describe the solution you'd like

Import the firmware, analyse it, maybe, there is already a subprogram, which isn't activated or it has to be added. Best would be to have a switch to activate it in openDTU and a parameter for the time, between the global scans.

Describe alternatives you've considered

there is none. The manufacturer won't do it

Additional context

No response

k0017 commented 11 months ago

looses almost all of their power, when they are in a shadowed condition.

jstammi commented 11 months ago

a) I doubt this is something that openDTU will ever implement - this is not about a inverter's firmware. At a maximum the inverter's firmware update is something that I would consider related

b) despite this: my panels actually get shadowed by roof of neighbouring house to the south. I just took a picture and checked the most recent power history for the 2 panels (400W, with 2 diodes each afair, connected to HM-600). And to my understanding I suppose that diodes are doing their work as I would expect. Else the blue line had to stay close to the magenta one with both panels still partially being hidden from the sun ... ? grafik grafik

For reference the history for a recent all sunny day in the beginning of september: grafik

k0017 commented 11 months ago

Most users have three diodes, left, middle end right vertical segment. Those diodes have to be activated by the inverter, but that don't do the Hoymiles.

And the newer panels are divided in two halves as well. So when the upper or lower segment is shadowed, the other half can produce. This is done without the help of the inverter. Those newer panels have the tree vertical segments as well. That doesn't change it is nescessary the inverter finds the global MPP.

https://www-photovoltaikforum-com.translate.goog/core/article/47-der-vergleich-halbzellenmodule-und-vollzellenmodule/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=wapp

Maybe you have three diodes as well, you can see them at the backside. Thanks for your attention!

jstammi commented 11 months ago

Independent if my panels have 2 or 3 - with those not being activated, to my understanding, they ARE activated. Indicated by the stepwise increase and lowering with the shadow passing the panels. With the diodes not getting activated, both would go down to min directly, and increase power again to max without an intermediate step between. As then the solar cell with the lowest current would dominate for the complete panel.

Here again the power history, now additionally accomplished by the voltages. With power reduced because of increasing shadow, and voltages varying - I would asume due to MPPT?: grafik

So where do you see from in the power histories provided, that those diodes are not activated?

Or where do you have the information from? I did not find complains on this by quick search?

k0017 commented 11 months ago

you can see, that the diodes are not activated for the vertical diodes. When a vertical segment is shaded, then the diode will only bypass the shadowed segment, wenn the voltage is reduced. Then the segment delivers no power due to the activated bypass diode. If there would be a vertical segment bypassed, it would reduce the voltage about 1/3 of the voltage. You can see, that the voltage doesn't drop in your case.

k0017 commented 11 months ago

It is clear, when you bypass 1/3 of the cells in a row, then voltage drops off about 1/3. But the inverter has to switch to the lower voltage but does not. So the diodes aren't activated, the power drops extremely, the cells get hot and can get in a fire

k0017 commented 11 months ago

The Problem is huge, but people aren't aware of it. But you can try to shade a very small part of a vertical segment (upper and lower both at the same time) and you panel will loose almost all of its power. This does not have to be if the inverter scans the Voltages from the lower to the upper end and search a global maximum power point (which is more on the left --> lower voltage).

k0017 commented 11 months ago

https://www-photovoltaikforum-com.translate.goog/core/article/13-wie-wirkt-sich-verschattung-auf-pv-module-aus/?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=wapp#google_vignette

avandorp commented 11 months ago

My HM-600 does seem to trigger the diodes in my panel. You mileage may vary. image

k0017 commented 11 months ago

If one bypass diode would be activated, 1/3 of the voltage would have been dropped, which isnt´t the case. I wrote to Hoymiles. They confirmed, that they don't search for a global MPP and therefore don't activate the bypass diodes.

avandorp commented 11 months ago

Then they should call their MPTT LMPTTs. :( Local maximum power point trackers... I have assumed that scanning for the global maximum is state of the art since years.

k0017 commented 11 months ago

Meanwhile I am convinced, that none of the micro inverter can do the sweep of the voltage curve, but this is important.

This should be simple to implement for the manufacturer, almost all string converters do have this feature.

k0017 commented 11 months ago

Oh, there is one microinverter, that is able to kick in the bypass diodes. It is an enphase microinverter. The youtube video states also, that Hoymiles never activates the bypass diodes.

https://youtu.be/yhicm5NKTlU?si=jdps9qAZb6KrOenl

jstammi commented 11 months ago

As I did not want to believe that it is true, that the diodes become used (believed it to be indepedent from the inverter in fact), I yesterday gave it a try with sun constantly shining. And, IMHO, AFAIS, the results show ... diodes do not get triggered :-(. As - at least to - it becomes obvious by "B" in the illustrated measuring of my panel's resulting power for different coverings (using an opaque towel) grafik

This is NOT the result that I wanted to see :-(

k0017 commented 11 months ago

In Fact, almost nobody is aware of it, but in my opinion, it is a scandal, because all balcony power plants have micro inverters. they loose exraordinary power in part shading and they have the risk of fearlier degradation and even fire.

And it is not so hard to implement. Maybe, it is impossible for two shaded segments, because the inverter can't go down to 10 Volt (min is 16). But 20 Volt with one shaded segment must work. And I am not sure, If with two segments shaded, we get bypass diodes kick in at 16 volt. It would be a dream to have a solution.

I have seen a lot of work on e-scooter firmware reengeering with very much success. It is clear, there is a risk of damage, but they did it. There should be a scene for inverters, which could be tweaked. There is also a risk, but maybe someone tries

k0017 commented 11 months ago

BTW: the results you have are better than results, you would have gotten with a standard panel, wich isn't devided in upper and lower part. In Fact, half-cell panels have little advantages in part shading, even if the micro inverter can't find a global mpp. If the upper or lower half of the vertical panel is shaded, the panel will reduce the shaded half completely, but is able to deliver the power of the other half without interaction with the micro inverter. This is because the voltage for this does not have to be decreased.

k0017 commented 11 months ago

In fact, micro inverters get more popular even in bigger solar plants instead of using one string inverter due to the control of each panel. But because of the lack of global MPPT, there is higher risk of burn in such plants on the roof, where there is much wood. String inverters do have a global MPPT!!

Hint: Advantage of many microinverters on the roof is: there is no high DC of many hundred volts, which is really dangerous, when cable and plug installation is not all right or gets old. This is so much volts, that there can be light bows. You only have 220 Volt AC with micro inverters.

stefan123t commented 11 months ago

@jstammi we have been discussing the topic in Discord too these days: The diodes will be irrelevant if you connect two identical panels in parallel (using a Y connector) and shade only one of the two panels. The explanation / hypothesis was that the other panel will deliver the necessary voltage to keep the diodes satisfied (non-conducting). Hence the current from that second shaded panel will still be flowing but reduced.

Is that something you could try out with your test setup ?

Two links were given in german:

k0017 commented 11 months ago

@jstammi we have been discussing the topic in Discord too these days: The diodes will be irrelevant if you connect two identical panels in parallel (using a Y connector) and shade only one of the two panels.

This situation has nothing to do with what is discussed here:

We here are discussing one partly shaded module (panel) --> one or two segments are shaded and we try to deliver maximum power despite of partly shading from this one module.

What stefan123t describes seems to be a completely shaded module, which could affect another module IN A STRING OF MODULES e.g on a roof. A balcony power plant has typically two completely independent modules, each has its own MPPT. Shading one module does not impact the other due to their own MPPT: So this situation is somethingg different. I want to prevent misunderstandings or the discussion goes into a wrong direction.

Maybe, there is a confusion between bypass diodes in a module (typically 3) to prevent power loss and hotspots in this one module and the diodes, that can be put in a string between modules. This is to take out one shaded module out of a string to prevent power loss in a string.

We don't speak about a string of modules, we speak about one module with a string of solar cells (typically 60 or 120 half cells in one module) connected to a micro inverter.

BTW to confuse everyone: the partly shaded segment in a module is a severe problem in big solar plants with string inverters on a roof too:

jstammi commented 11 months ago

The issue talking about is in fact as @k0017 just explained again: the HM600 seems to NEVER trigger the bypass diodes. Which is bad in case of a single module being connected allown to one of the 2 connectors of the HM600 and the module is being partially shaded. As resulting power is much lower than possible. In my case, due to my module being a half cell module, the situation is only "semi-bad", due to the module being segmented in 6 areas, pairwise connected in parallel, 3 pairs connected in series. With standard modules, only 3 areas in series, things become even worse with not triggered bypass diodes. Best video explaining things that I found up to now is here: https://www.youtube.com/watch?v=AZ8VQ_zmf1M

For the question @stefan123t if I could test 2 modules in parallel: not yet. But it is upcoming. With extending my installation to 4 modules, using always 2 in parallel, one to east and one to west direction.

But as at the moment, as the diodes seem NEVER to be triggered with one module, I highly doubt that such test makes any sense at all ... ?

jstammi commented 11 months ago

Btw, I added this question on the HM600 wrt bypass diodes also to the akkudoktor forum https://www.akkudoktor.net/forum/postid/158368/, as he (among some other youtubers) tested a lot of micro inverters recently - but not (yet?) checking for their mppt afaik

k0017 commented 11 months ago

@jstammi : there is a danger when you test two modules parallel connected to one mppt on a hm-600. The power can be much greater than allowed on one mppt. This can break your hm 600. One MPPT connection is for 300 Watt, not for 800!

k0017 commented 11 months ago

@jstammi : be aware that even in such forum they don´t know very much about this topic. Trust me. I made this experience in https://www.photovoltaikforum.com as well.

Problems mit panels in a string are always mixed up with microinverters.

jstammi commented 11 months ago

@jstammi : there is a danger when you test two modules parallel connected to one mppt on a hm-600. The power can be much greater than allowed on one mppt. This can break your hm 600

I am aware. With 1 to east and 1 to west I think this could work - if I can trust the dc currents measured (by my hm-600) up to now from my panels (directed to the south). But before connecting them in parallel, I will for sure 1st measure currents separately to make sure that they do not exceed hm 600 spec (else I need to upgrade the inverter e.g. to hm-1500 being limited to 600W output then)

Btw, I plan to do so only for one of the 2 ports. For the 2nd the setup shall look like 2p(east-west)-2s pv -> charger -> 24V lifepoe4 -> dpm8624 -> hm600. To adjust injected power to current needs. And have some remaining buffered for the night. Related hardware is sitting in my labor already.

@jstammi : be aware that even in such forum they don´t know very much about this topic. Trust me. I made this experience in https://www.photovoltaikforum.com/ as well.

Maybe. But after the Deye drama wrt missing relais, a group of youtubers, with Akkudoktor among them, tested a lot of micro inverters recently. And I hope that I can somehow raise some attention to them for a another problem. So his forum is my 1st step in that direction (fingers crossed).

k0017 commented 11 months ago

It would be really glad if you were able to raise attention to this problem. I wrote to Holger Laudeley. I think, you know him. But no anwer.

k0017 commented 11 months ago

I am Sorry, the Request i obviously closed accidentially. Can you reopen it? Btw. I tested Tigo optimizer and a chinese optimizer, that can be put between the panel and the microinverter. The chinese noname one was able to reduce the voltage down to 23 Volt and 16 Volt. But what a saw is, that 23 Volt was seldom. 16 Volt was long time, but Power didn´t raise and when i watched the panels shade situation, the volts and power did not match what i saw. The yield was almost the same as without optimizer. The Tigo TS4-a-o did just nothing, maybe, it must be activated before use. I found the solaredge optimizer P401I. This must be activated for use with third party inverters. If somebody does ist for me, I will try it. Optimizers are very similar to microinverters with own MPPT, but without DC-AC converter.

Optimizers are meant to be used with string inverters. But why not put it between panel and microinverter?

avandorp commented 11 months ago

After logging more voltage/power data it seems to me as if the HM-600 sweeps on startup from the (high) voltage the panel is supplying when not under load and stops at the first maximum it finds. That's especially annoying as I've bought the inverter because it was advertised to start at low voltages (22 V and MPPT going from 16 to 60 V). But judging from my data it always starts at roughly 40 V. It does seem to shut off somewhere in the range from 16 to 22 V in the evening, which is somewhat ok. By starting at a high voltage and scanning downwards for the first maximum it will never find the global maximum in a shaded situation.

stefan123t commented 11 months ago

To find the Global Maximum the inverter would need to sweep across the complete voltage range in small increments, which would be small enough to incrementally trigger the bypass Diodes of the modules, thus allowing to find all local Maxima.

Currently the HM inverter firmware offers only setting the AC side parameters using a so called Grid Profile, eg https://github.com/lumapu/ahoy/wiki/Protocol#file-name-de_vde4105_2018

I am unaware of a similar DC side PV/MPPT Profile which would allow to fine tune the input side of the inverters Maximum Power Point Tracker(s).

But this issue is actually not a feature missing in OpenDTU but instead the HM Firmware. As the firmware is not OpenSource (yet) we will have to wait until someone comes up with either an OpenHardware Project for a MicroInverter with firmware which can implement logic to find such a Global Maximum.

k0017 commented 11 months ago

Do someone have the Firmware as file? That maybe could be inspected. Do we know, which SOC is built in? The firmware of the Ninebot Scooters is not open source, but there were people able to analyse the firmware and change it to their needs. It is extremely popular.

How can we find such people, that can do it?

Is there any API, that can control the HM from outside? We can adjust the power limit. If you could adjust the Voltage via API, then you could do the sweep in openDTU. Maybe there is a max voltage? I don´t believe so, but who knows.

What else could someone think? Maybe an external MPPT, just ike an optimizer. Maybe, there are solutions, we can think about?!

stefan123t commented 11 months ago

You may consider to discuss these topics on the Discord chat https://discord.gg/WzhxEY62mB

EmJay276 commented 6 months ago

Any update on this topic? I see the same behaviour on my panels with a HM-600

avandorp commented 6 months ago

I don't think there will be any update. If the inverters are physically capable of supporting a real MPTT algorithm and if Hoimyles releases a firmware update, then we're lucky. Otherwise it seems that one simply has to buy a converter with real MPTTs (or a separate optimizer). I just feel that the way the Hoimyles inverters are advertised that it sounds that they are more capable then they really are.

github-actions[bot] commented 5 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.