A Forum run by Enthusiasts of MidNite Solar

Other MidNite Electronics => WBjr => Topic started by: rmak on January 02, 2019, 01:53:50 PM

Title: SOC, efficiency, and Battery capacity temperature compensation
Post by: rmak on January 02, 2019, 01:53:50 PM
I am trying to "fine tune" the SOC reading and want to see if I did this right.

8-Deka L16 wired for 24V for total 740AH @25C
Chart says 70% capacity at 0C
222AH lost divided by 25 (temp change) = 8.88A per degree C.
8.88A / 740A x 100 = 1.2% change in amp per 1 degree C temp drop.
I have 1.2% as the "Battery Temperature Compensation" in the WBjr. and 90% battery efficiency (default setting).

I took SG readings with a Hydrovolt temp compensated meter when the SOC read 73% and they avg. 1.260SG which would be ~90% charge. Do I just need to adjust that 1.2% compensation to fine tune the SOC% reading the WBjr shows? Does the efficiency % have correlation to the SOC reading? What data does the battery efficiency change?

Thanks
Ray
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: ClassicCrazy on January 02, 2019, 03:04:35 PM
The way I did it - leave the default for the %change
Adjust the efficiency setting  to reflect when your amp hours count back to zero .
So after an evening when it is 70% you want to watch the Whizbang  amps decrease the negative number back towards zero . At that point is where your efficiency setting will determine how many more amps it will take for the SOC to say 100% .  So when it starts getting closer to full then you should be taking your SG readings to make sure that  the batteries are full when they say 100% . You tweak the efficiency and possibly the capacity readings to get to something close to what you observe. This would also be the point  you would set your ending amps to go from Absorb to Float. You need to make sure you have  the Absorb time set long enough to find this point so it doesn't time out and go to float too early.

Hope that makes sense. The SOC is something of an estimate and can be pretty close if you tweak it all right - though sometimes you may need to readjust for colder battery temps or age of batteries, etc.

I just reread  your post - there are two temperature settings not to be confused . One is estimate for how much battery capacity the pack has as it gets colder.
The other is the temperature compensation for charging when the batteries get colder or warmer - this changes the battery charging setpoint and is very important to have set correctly . usually it is -3 or -5 mv - check  your battery manufacturer specs.

Larry
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: ClassicCrazy on January 02, 2019, 03:11:38 PM
Also look through the knowedge base tab on this link
Lots detailed info
http://www.midnitehelp.com/

Larry
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 02, 2019, 03:41:02 PM
HI guys and happy new year. 

My brain is not working too well so far (cold/bronchitis, etc) but am I hearing the words "amp" when I should be reading "amp-hours" ?

Yes on the two different temperature compensations.  Normal temp-comp is just absorb charge voltage based on battery temperature and
then there is the temperature which I'm pretty sure is the 1.2% figure which adjusts the amp-hours-remaining (where SOC comes from)
based on battery temperature.  And 1.2% may very well be in the right ball park.

The charge efficiency number (90% here) only tells the SOC and remaining amp-hours how many more amp-hours are required in charging
the battery.  In this case of 90%, you will need 10% more amp-hours coming in than if it were set to 100% efficiency.

100 amp-hours needs 110 amp-hours to get full.

There is no adjustment percentage for discharging the battery.  You pull out 100 amp-hours and the remaining amp-hours goes down
by 100AH. 




Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: rmak on January 02, 2019, 04:07:51 PM
So use the efficiency for tweaking the SOC% change.
Starting with a full charge (verified by SG), would I discharge a certain amps out (say 100AH) then observe how many amps in to reach full charge again? Would a longer discharge be more accurate?

Hypothetical: 100AH out and 150AH in=50% efficiency. 100AH out and 125AH in=75% efficiency.

Should SG readings be taken with batteries disconnected? If so for how long? EastPenn says to leave disconnected for 24 hours for proper voltage readings.

Ray
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: rmak on January 02, 2019, 04:26:58 PM
Am I correct in that the parameters "Capacity", "Efficiency, "Temperature reference", and "Battery capacity compensation" that are put into the setup for the WBjr does not affect the function of the charging? It only affects the SOC% and capacity readings.

Ray

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 02, 2019, 05:45:34 PM
Quote from: rmak on January 02, 2019, 04:26:58 PM
Am I correct in that the parameters "Capacity", "Efficiency, "Temperature reference", and "Battery capacity compensation" that are put into the setup for the WBjr does not affect the function of the charging? It only affects the SOC% and capacity readings.

Ray

The temperature reference will affect different things.  It is typically set to 25C.  If that is set too much different, then readings will be off (SOC)
and the Absorb voltage will not be correct if you have a battery temp sensor plugged in.

Capacity entered is just the rating in AH of the battery.
Battery capacity compensation is how much more or less capacity (AH) the system will think you have available based on the battery temperature relative to the reference temperature (25C usually)

It seems like you are doing things correctly although charging efficiency is, as far as I know, typically a bit higher than 90%.  I thought that with new batteries, it was more like 95% but I don't think that having it set at 90% is a problem.  Probably is better for when it reaches 100% to know it is really there.

Disconnecting for 24 hours huh?  That may be true.  Not sure.  You can also watch the battery voltage after the battery has been sitting for a while after the surface charge starts to drop off.  Right after a good absorb charge, the voltage might show a bit high and that may also reflect in the SG readings.


Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: rmak on January 02, 2019, 06:15:19 PM

[/quote]
The temperature reference will affect different things.  It is typically set to 25C.  If that is set too much different, then readings will be off (SOC)
and the Absorb voltage will not be correct if you have a battery temp sensor plugged in.
[/quote]

So the "battery reference" and "battery capacity compensation" in the WBjr setup menu does affect the charge parameters? I thought only the "T-Comp" (-3mv/degree is my current setting) from the main menu in the controller changed the voltage for the Bulk, Absorb, and EQ compensated for temperature from the sensor.

Confused
Ray
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 02, 2019, 06:23:41 PM
Quote from: rmak on January 02, 2019, 06:15:19 PM

So the "battery reference" and "battery capacity compensation" in the WBjr setup menu does affect the charge parameters? I thought only the "T-Comp" (-3mv/degree is my current setting) from the main menu in the controller changed the voltage for the Bulk, Absorb, and EQ compensated for temperature from the sensor.

Confused
Ray

That's OK, Ray.  This is why it is not always good to have so many parameters available and hopefully the defaults are set close to most systems from the start.

The reference temperature is the temperature that the batteries are rated for.  That is, their capacity and their Absorb, Float and EQ voltages, etc.

It is the deviation from that reference temperature that controls all of these things.  If the battery temperature and the reference temperature are both 25 degrees C, then NO adjustments are necessary.  And it would not make any difference if you had the battery temp sensor plugged in or not.

Turns out that SOME (few) batteries are referenced to 30 degrees C believe it or not.  I think I saw some that were 20C also so that is why that adjustment is even in there to begin with.  For 95% of customers, we could have just keep it at 25C and not even say anything about it and that would most likely keep any confusion down a notch.  :)

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: Vic on January 02, 2019, 09:36:49 PM
Hi Ray,

Some of us believe that the Ah charge efficiency of Flooded Lead Acid (FLA) batteries is roughly about 70-ish%.   Sealed batteries are considerably more efficient  --  in the low 90 percent range:

Here is a technical paper:
https://xtronics.com/uploads/batpapsteve.pdf

Here is another Thread on this topic:
http://midniteftp.com/forum/index.php?topic=4115.0

When one gets down to it,  the SOC measuring devices are approximations of actual SOC,  as there are SO many variables involved in the calcs.

The WbJR is a very useful and inexpensive device.   It does a great job,   and SOC approximations are often within about 10 points of actual SOC,  when setup correctly,   but then DOD,   discharge rate,   charge rate,   etc vary,   the needed settings may well change.

All,   IMO,   FWIW,    Vic
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: rmak on January 02, 2019, 09:42:10 PM
Thanks for taking the time to answer my questions Bob but I have a feeling we are not talking about the same thing. I have the charge parameters set up correctly for the batteries now and am trying to get the SOC% to read a little more accurately which I believe is done with the setting in the WBjr.

The Whizbang Jr. has a setup menu. Figure 6 in the manual has "Battery capacity" and Battery efficiency." Figure 7 has "Reference Temp" and "Battery capacity temp comp."

https://www.midnitesolar.com/pdfs/Whizbang_manual.pdf

Am I correct that these parameters do not control charging voltage?

I am aware of that "T-Comp" in the main menu will change voltage in reference to the battery temperature but I did not think the WBjr controlled any of the charge parameters. (except for referencing for using "end amps" on the CC when set to "shunt")

Ray

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 02, 2019, 11:19:17 PM
The "Reference temperature" of 25C (usually)  sets the battery reference temperature for the whole Classic.
It is THE reference temperature for T-Comp and also battery capacity calculations in the WB Jr. calculations

It is just a setting that previously did not have a place to adjust in the Classic MNGP menu system.
i.e. that setting (Reference T) only came out when the WB Jr. and SOC% came out.  Before that, the
Ref Temp was always set to 25C and could not be changed.

Another problem with this State Of Charge thing and batteries is that it requires the battery capacity (at full charge), be accurate.  Do you really know what the capacity is ?  If you can find that (and you can !) under normal discharge conditions, then the SOC% accuracy can be really close I think !  As long as you don't need to get the Peukert discharge efficiency calculations involved...   Should be fine as long as accumulated short-timed large current draws don't reduce the capacity too much compared to a straight line of SOC% Vs Amp-Hours removed.

Would be nice to add a way to measure the battery capacity in the software.  That still can be done manually with the display (I think) or remotely by computer.

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: rmak on January 03, 2019, 12:29:06 AM
Quote from: boB on January 02, 2019, 11:19:17 PM
The "Reference temperature" of 25C (usually)  sets the battery reference temperature for the whole Classic.
It is THE reference temperature for T-Comp and also battery capacity calculations in the WB Jr. calculations

It is just a setting that previously did not have a place to adjust in the Classic MNGP menu system.
i.e. that setting (Reference T) only came out when the WB Jr. and SOC% came out.  Before that, the
Ref Temp was always set to 25C and could not be changed.

Another problem with this State Of Charge thing and batteries is that it requires the battery capacity (at full charge), be accurate.  Do you really know what the capacity is ?  If you can find that (and you can !) under normal discharge conditions, then the SOC% accuracy can be really close I think !  As long as you don't need to get the Peukert discharge efficiency calculations involved...   Should be fine as long as accumulated short-timed large current draws don't reduce the capacity too much compared to a straight line of SOC% Vs Amp-Hours removed.

Would be nice to add a way to measure the battery capacity in the software.  That still can be done manually with the display (I think) or remotely by computer.

Bob,
Thanks for clarifying. I was not aware that the "reference temp" was used by the Classic.

Maybe use a SG sensor to get an accurate SOC reading and help control charging parameters?

http://www.electrosense.com.au/sg-electrode-lead-acid-battery-specific-gravity.htm

Ray

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: ClassicCrazy on January 03, 2019, 12:32:51 AM
Yeah thanks for clearing that up Bob - now that I look at it I see that 25 degrees is in the Temp compensation setting.
I was thinking it was in the capacity settings area - been awhile since I set those.

Larry
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 03, 2019, 01:31:10 PM

Glad it's clear now.

Checking the SG  might tell if it is fully charged but just giving the battery a good long absorb charge and making sure that the
battery current is low is probably about as good.

But the actual capacity has to be measured by running the battery down and measuring how much energy it can deliver over time.
I think that can be done by drawing it down to 50% or maybe 25% by using combination of voltage (unloaded) and SG measurements based on the manufacturers' graphs or possibly general lead acid voltage vs. SOC% graphs.  Measuring that voltage or SG might require the battery to be unloaded at least for a little while.  That's the part I don't know about.

Maybe the easiest way to tell what the discharged capacity is is to let it discharge all the way down to almost 0% ?  Under normal usage, I think that would be a real good measurement.  I have a feeling that battery capacities are lower than people think they are or lower than the specifications.  Some may be higher though for part of the batteries life.

But some batteries, and Rolls will admit that you do not get full capacity when the batteries are new.  It takes a while for them to "form" or whatever.
Then, the batteries are good for a while and then start to deteriorate, capacity wise, over time.  Slower than it took them to come up to full capacity though.

I do think it is possible to get a good idea on the capacity of the battery automatically by having the computer look at battery voltage at low current draws after some time after full charge (absorb to float) and after AH have been removed.

It might make sense to just see a graph of battery voltage vs. Amp-Hours removed  over a couple days.  I'd love to see that graph just because.
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: Resthome on January 04, 2019, 01:37:34 AM
Yeah another thing I don’t like about the SOC reading is on days when I run Equalization and a lot of positive NET AH get accumulated. It really screws up the SOC because the net AH do not get reset to zero to a O as the loads start to reduce the NET AH at night it has to reduce all that positive Net AH accumulation from the equalize charge.
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 04, 2019, 03:11:14 AM
Quote from: Resthome on January 04, 2019, 01:37:34 AM
Yeah another thing I don’t like about the SOC reading is on days when I run Equalization and a lot of positive NET AH get accumulated. It really screws up the SOC because the net AH do not get reset to zero to a O as the loads start to reduce the NET AH at night it has to reduce all that positive Net AH accumulation from the equalize charge.

That doesn't make sense unless maybe you have found a bug.  And who knows ?   
The NET AH can count up and up and up BUT the Remaining Amp-Hours should not go any higher than the capacity unless the battery temperature tells it to.

EQ "should" act just like Absorb as far as accumulating AH and changing SOC%.

Will have to look further.
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: Vic on January 04, 2019, 10:16:19 AM
YES,  after an EQ finishes or is Stopped,  there is some non-zero AH showing.

We only do Manual EQs,   Auto EQ finishes might not behave this way.

One other thing,   is,   that if one Starts a manual EQ when the Classic is in Absorb,   upon the ending of EQ,   the Classic returns to Absorb  (at least when the EQ was manually stopped).

BTW,   in the Local App,  there is no way to zero Net Ah (that I've found),   so one needs to make the trip to the Classic CC to do so manually.   As John said,   this accumulated positive Net Ah does disturb the Ah removed on the following discharge,   and the SOC reading,  as well.

FWIW,   Vic
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 04, 2019, 12:31:31 PM

OK.  Not sure what is happening but I will look at it.

Doing an EQ should NOT screw up the SOC%

Thanks guys.

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: Vic on January 04, 2019, 12:54:25 PM
boB,

Believe that Resthome John was saying that in the discharge following that EQ,  the SOC IS disturbed because the SOC calculation is based upon a starting point that is more positive than zero.   And that zero would be the proper beginning point for beginning.

To me,  really pay NO attention to SOC,   only Ah removed from the battery in the discharge/s that follow a complete charge,  so zeroing Net Ah  IS  important  --  have not looked at the effect of a positive Net Ah on the SOC calcs resulting from 50 or 80 Net Ah starting point of a discharge cycle  ...

Just the read on things here.   73   Thanks,   Vic
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 04, 2019, 04:52:07 PM

SOC is based purely on Amp-Hours Remaining.

NET Amp-Hours is supposed to be a supplemental statistic, not necessarily used for SOC calculation.

So, It has been quite a while since I have even thought about this so that's why I will have to take a look again.
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: Resthome on January 05, 2019, 12:27:44 AM
Quote from: boB on January 04, 2019, 04:52:07 PM

SOC is based purely on Amp-Hours Remaining.

NET Amp-Hours is supposed to be a supplemental statistic, not necessarily used for SOC calculation.

So, It has been quite a while since I have even thought about this so that's why I will have to take a look again.

boB

Unfortunately we have closed up for the winter so can’t look at this right now. I may have mis spoke on the SOC but I also thought it was off. Trying to remember exactly which reading I was looking at on the Local App which I had a picture of the LA, but believe it was the Status page where the WBjr info shows. Found one picture and both remaining and net show. I don’t pay much attention to remaining so I believe it the net. And since it is so far positive with the Eq cycle and does not reset to zero then is does not show a true picture of what is removed form the batteries that evening and what get gets put back in the next day because you don’t really know the starting point because it wasn’t zero like when it hits float. Seem like it takes another day without Eq to sort of get back to reality. I usually compare the LA reading to my Link 10 meter and they are usually close but not when there was an Eq.


Yeah, Vic manual Eq here also, never use Auto. And thank for the conformation.
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: Resthome on January 05, 2019, 12:38:29 AM
Always Eq from Float. Not sure what Stage it goes to after Eq completes or stopped. Pretty sure it goes to Resting until the charge bleads off unless there is a good load at the time. If It does return to Float it doesn’t reset the Net Amps like it does going from Absorb to Float.
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 05, 2019, 01:37:08 AM
Quote from: Resthome on January 05, 2019, 12:38:29 AM
If It does return to Float it doesn’t reset the Net Amps like it does going from Absorb to Float.

Now THAT would be a bug but not surprising actually.  At least the next time the Classic goes from Absorb to Float normally, it will zero out.
The will most likely not be any fix for that right away but will put that into the notes.  I appreciate knowing about that  one !

BTW, as I remember, NET Amp-Hours, when it counts up, will not take efficiency into account.  And AH+ Lifetime doesn't either pretty sure.

If you started EQ when in Absorb and then manually STOP, the stage should return to Absorb.  If you let the EQ run, it should return to Float.

If you started EQ from Float, it will also return to Float if you manually STOP the EQ or let it EQ for the preset time.

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: rmak on January 05, 2019, 04:52:13 PM
Is there a way for the Net Ah to reset to zero when the Classic goes into resting? Does it have to be done manually?

Ray
Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: boB on January 05, 2019, 05:18:49 PM
Quote from: rmak on January 05, 2019, 04:52:13 PM
Is there a way for the Net Ah to reset to zero when the Classic goes into resting? Does it have to be done manually?

Ray

I think that the NET AH (which really doesn't play into SOC% or Remaining Amp-Hours ?) can be reset
whenever the Classic goes from Absorb to Float if the TWEAK option is set. 

If this bug is real, then NET AH doesn't get set when going from EQ to Float automatically.

The other way to reset the NET AH is to either manually do it or by way of an external computer that can make almost anything happen for any reason. 

I will look at the code though and see how easy it is to fix this bug.  It's probably very easy.  BUT, I don't think this is a large enough bug to warrant a new release of Classic code just for this.  It sure could be rolled into the next release though for whatever other reasons.

Title: Re: SOC, efficiency, and Battery capacity temperature compensation
Post by: Vic on February 22, 2019, 04:47:42 PM
Quote from: boB on January 05, 2019, 01:37:08 AM
Quote from: Resthome on January 05, 2019, 12:38:29 AM
If It does return to Float it doesn’t reset the Net Amps like it does going from Absorb to Float.

Now THAT would be a bug but not surprising actually.  At least the next time the Classic goes from Absorb to Float normally, it will zero out.
The will most likely not be any fix for that right away but will put that into the notes.  I appreciate knowing about that  one !

BTW, as I remember, NET Amp-Hours, when it counts up, will not take efficiency into account.  And AH+ Lifetime doesn't either pretty sure.

If you started EQ when in Absorb and then manually STOP, the stage should return to Absorb.  If you let the EQ run, it should return to Float.

If you started EQ from Float, it will also return to Float if you manually STOP the EQ or let it EQ for the preset time.

Did a Manual EQ today  --  the Classic had made its transition from Absorb to Float.   Net Ah had reset to 0 on this transition.

Initiated Manual EQ for 1:20:00.  This EQ completed,   and the Classic Net Ah showed 71 when in Float.

Thinking about it,  there is the situation where the Classic shows Float immediately on the transition from EQ,   and says Float for about 90 seconds.  If the Surface Charge is not removed in this 90 second interval (by relatively heavy loads),   then the Classic Rests,  until the Vbat descends to the compensated Float voltage.

I did manually reset Net Ah to 0 before the Classic Rested,   but about 15 seconds after the transition to Float,   the Net Ah still read 71 (perhaps I should have waited for the Classic to begin supplying power after the initial Float > Rest period ?).

Running the last Classic FW,  prior to the CLassic Voice FW FW 2126.

FYI,   Thanks,   Vic