question

Andrew Metcalfe avatar image
Andrew Metcalfe asked

Declining Max SOC

I have a SmartShunt connected to the battery. Downstream of the battery are various loads and a charger.

Since I installed it last week, the Max SOC has declined a little bit on every charge. I have every reason to believe the battery is properly charging to 100%.

Battery: Li Time 12V 200AH.

Charger: Li Time 14.6V 40A charger.

This chart is generated in HomeAssistant, it polls data from Cerbo via MQTT.

SmartShunt 500/50 is connected to Cerbo via ve.direct port.

1708476405074.png


Here are my SmartShunt settings.


Any tips on why the Maximum SOC is slowly declining, and how to fix it?

SmartShuntMQTT
1708476405074.png (75.7 KiB)
1708476621380.png (55.8 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

4 Answers
JohnC avatar image
JohnC answered ·

Hi @Andrew Metcalfe

Presumably that half-hour cycling is your battery bms doing what it does. This could involve quite low currents, even below the 0.10A Current Threshold. Try setting that to Zero, so even small currents (of the 'noise' level) are counted.

Unless of course if you wanted to consider the bms doings as noise, then you could consider raising it to get it to ignore the currents both ways. One way may be larger than the other..

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

pwfarnell avatar image
pwfarnell answered ·

Can you do any settings changes on the charger such that it is not trying repeated absorption every 30 minutes, it is quite unusual to keep cycling the charge this frequently. Your battery is being kept almost permanently in the upper voltage region which is not ideal. How about putting the charger on a timer plug so it only comes on once or twice a day for a few hours.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Andrew Metcalfe avatar image Andrew Metcalfe commented ·

You get the award for solving this.

I had the charger disconnected as I moved to the final install last night, and SOC dropped to 95% before I reconnected the charger. SOC did reset after that charge, but not after subsequent charges.

Zooming in, the charger is doing something slightly different on a longer charge, which is falling within the Shunt algorithm. The ramp-down after the longer charge takes 5 minutes, but only 1 minute after the smaller cycle.

Going forward I will charge nightly using a smart-plug.

I cannot imagine how I would have figured this out without this charting ability. I probably would have blamed the battery...

1708717255861.png


0 Likes 0 ·
1708717255861.png (43.0 KiB)
Andrew Metcalfe avatar image
Andrew Metcalfe answered ·

I'm continually drawing 1.27a from the battery, which is why it's topping up every 30 minutes.

My question is, why is the SOC slowly declining each time it tops up? I am assuming that Shunt isn't properly detecting the full SOC...

100%, 99.9%, 99.8% - the long-term decline in the peaks after charging.

5 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

JohnC avatar image JohnC ♦ commented ·

@Andrew Metcalfe

The shunt doesn't 'detect' SOC, it calculates it. Largely from Amps. Then 'doctors' the A as your settings direct it to.

I'm a little surprised that the bms switches like that, maybe something to do with the charge V?

You're talking quite a tiny drift here though, it's only the numerous cycles making it show. Even then, it's not large.

Current Threshold is still relevant. An increase in Peukert and/or Charge Efficiency will also push SOC upward.


0 Likes 0 ·
kevgermany avatar image kevgermany ♦♦ commented ·
Could be that the charger shuts down at a specific voltage, the constant current isn't serviced until voltage drops, hence the cycling. This will prevent the synchronisation to 100%.

Synchronisation comes from voltage, tail current and time.

A graph with a time period of a couple of those cycles, voltage, current will help tune the settings.

This might also be a graphing artefact. Generally the points shown represent a time period and are the average for that period. This would show in a more granular graph.


0 Likes 0 ·
Andrew Metcalfe avatar image Andrew Metcalfe kevgermany ♦♦ commented ·

Interesting thoughts. Here are some more charts:


Current: (a)

1708520146691.png


Voltage:

1708520196783.png


and SOC:

1708520244083.png

And the Shunt settings have a Charged Voltage of 14.1 with a Time-to-go averaging period of 3 minutes. I understand that to mean the Shunt is supposed to reset to 100% SOC if voltage exceeds 14.1v for 3 minutes. The following chart shows it is over 14.1 for more than 4 minutes, from 4:07:31am to 4:11:46am, yet it doesn't reset to 100%. Is my understanding correct?


0 Likes 0 ·
1708520146691.png (21.6 KiB)
1708520196783.png (33.6 KiB)
1708520244083.png (20.9 KiB)
1708521440001.png (46.5 KiB)
JohnC avatar image JohnC ♦ Andrew Metcalfe commented ·
@Andrew Metcalfe

You have Tail set for 2.0%, that's <4.0A, and that must be satisfied too. It's possibly close, but the charge is shutting down, preventing it from getting there.

1 Like 1 ·
Andrew Metcalfe avatar image Andrew Metcalfe JohnC ♦ commented ·

So I've tried some settings changes to correct for some of the suggestions.

1. Tail current, I've raised to from 2% to 5%, (10 amps). This should guarantee 3 minutes above Tail current. It did not help.

2. Charged detection time, I've lowered from 3 minutes to 1 minute. This should also guarantee sufficient time above thresholds. It did not help.

3. Current Threshold, I've lowered from .1 amps to .02 amps. It did not help.

4. Charged Voltage. I've lowered from 14.1 to 13.8

Max SOC after a charge is continuing to decline on each charge cycle. Actually, I think I've made it worse.

So...

Is this something I'm going to be able to solve in configuration?

I am thinking my next steps are to: Swap in a lower power charger, and I also will be increasing the DC load on the battery. Both of these should lengthen the recharge cycle.

Any other tips?

1708615826827.png



0 Likes 0 ·
1708615826827.png (50.0 KiB)
1708615848465.png (80.7 KiB)
kevgermany avatar image
kevgermany answered ·

Your graphs show the charger cycling.

Interestingly the cycle period is increasing slightly, charger taking longer to kick in.

Also max SOC hits 99% each charge cycle. Where is the figure in the graph coming from?

I think what's happening is that it is/was synching to 100%, but the averaging over the increasing time between charge cycles is lowering the reported values in your first graphs.

The changes you made in the settings will have the opposite effect to what you want. What would confirm my thoughts further is two graphs, one for the SOC for 5 minutes including the charge cycle and accurate time scales. Then an analysis of the charge frequency over time.

I think your charger is cutting out, rather than switching to absorption.

9 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Andrew Metcalfe avatar image Andrew Metcalfe commented ·

The charger is definitely turning off, and this matches the mfg's documentation, it switches off when current drops below a threshold. They don't tell me what that threshold is, but from observation it's about 3.2 amps.

I'm hopeful swapping in a smaller charger and adding some additional DC load will help keep the charger in absorption mode.

What I'm confused on is why the Smart Shunt isn't resetting the SOC to 100% on each cycle.

The Victron documentation is mostly clear: https://www.victronenergy.com/media/pg/SmartShunt/en/all-features-and-settings.html

"As soon as the battery monitor detects that the voltage of the battery has reached the set “Charged voltage” parameter and the current has dropped below this “Tail current” parameter for a certain amount of time, the battery monitor will set the state of charge to 100%."

The setting "Charged detection time" specifies that time.

So why isn't that happening? It reads to me like the SmartShunt isn't working as documented.

0 Likes 0 ·
pwfarnell avatar image pwfarnell Andrew Metcalfe commented ·
The current drops very quickly and as you have a permanent slow draw the measured current goes negative very quickly and the time between falling below the tail current and going negative is less than 1 minute. I wonder if the synchronisation logic considers that the battery is no longer on charge once it goes negative and no longer checks for synchronisation. I recall some discussion on this point on a question a few years ago.
1 Like 1 ·
Andrew Metcalfe avatar image Andrew Metcalfe pwfarnell commented ·

That does make sense to me.

I don't think I can fix this in configuration.

So... Path forward.

1. I will increase the DC load, which will lengthen the charging cycle. (I'm bench testing this now, I'll just move forward with the install)

2. I will swap the 40 amp charger for a 20 amp one from the same manufacturer, again to lengthen the charging cycle.

If all that fails, I'll replace them with a Blue Smart charger which will maintain the absorption stage, which should avoid the negative current.

It'd be helpful if the documentation was more accurate.

0 Likes 0 ·
kevgermany avatar image kevgermany ♦♦ Andrew Metcalfe commented ·
I think it is, but it's being masked by averaging of the readings. What's the granularity of the data you're collecting?
0 Likes 0 ·
Andrew Metcalfe avatar image Andrew Metcalfe kevgermany ♦♦ commented ·

The data in the chart isn't averaged. The most recent charts were pulled via Bluetooth straight off of the Shunt. The frequency is whatever the shunt is publishing via Bluetooth.

0 Likes 0 ·
kevgermany avatar image kevgermany ♦♦ Andrew Metcalfe commented ·
There's a discrepancy here. The earlier SOC graph shows that every charge cycle reports as 99%. The peaks are flat topped, which I'd interpret as multiple points, but can't determine the interval of each point. The graph showing declining max SOC has been averaged to get the time axis values on screen. This will be automatic in the graphing software. It appears that the decline is due to the increasing time between charge cycles and the narrower peaks at 99% over time.

Is the shunt resetting to 100%? Hard to tell with this level of detail and such a small range on the readings. Something that may be affecting things is if there's decimal to integer conversion going on behind the scenes. Badly done it truncates instead of rounding.

If you haven't done it, it would be a good idea to bring the shunt software up to date, this may require two updates, one for shunt, one for Bluetooth. If that doesn't help, you can ask your dealer for warranty support.


0 Likes 0 ·
kevgermany avatar image kevgermany ♦♦ Andrew Metcalfe commented ·
Another thought. If you connect to the shunt with Victron Connect, you'll see that the history page counts the number of synchronisations. What's that showing and is it increasing during the day?
0 Likes 0 ·
Andrew Metcalfe avatar image Andrew Metcalfe kevgermany ♦♦ commented ·

Victron Connect is clearly doing some very aggressive rounding. They drop everything after the decimal, so this wasn't helpful.

I did pull data from Bluetooth using a python library, and and values matched up with the data I was getting via MQTT from the Cerbo GX.

0 Likes 0 ·
kevgermany avatar image kevgermany ♦♦ Andrew Metcalfe commented ·
The point here is the synchronisation count.
0 Likes 0 ·