New Beta code for Battery Meter and SOC%

Started by Halfcrazy, January 24, 2014, 11:01:12 AM

Previous topic - Next topic

phxmark

On my Magnum ePanel with the BMK, I just cut the BMK leads to the shunt, crimped eye connectors onto the wires and attached the wires to the WBJr.  Works like a charm and the measurements all match between the BMK and WBJr.
Magnum MS-4448PAE
Midnite Solar Classic 200
6 SunPower E20 327W Panels.  3 Strings/2 Panels each
4 200ah AGM Batteries
WhizBang Jr.
Sun-500G Grid-Tie Inverter Controlled
by Aux 1 using a SSR
Emerson/ASCO 185 100 Amp Automatic Transfer Switch
http://midniteforum.com/index.php?topic=1564.0

boB


Thanks PHX !  Good to know that they are co-habitating.

boB
K7IQ 🌛  He/She/Me

SolarMusher

Quote from: boB on February 07, 2014, 02:27:33 AM

Thanks PHX !  Good to know that they are co-habitating.

boB

Yes, it's true but the BMK has far less jitters (.2A) when it reaches end amps at the end of an absorb charge, WBjr could be 1.5A and more when big loads are running. Just downloaded and installed the last FW yesterday evening, so I can't tell if it will be better.
boB, is there something that can be done inside the Classic to reduce WBjr jitters on a 500A shunt (Epanel)?
Erik
Off Grid with 4kw PV | 2x Classic 200/WBjr | 2x Outback VFX3648 Epanel | 3x SPD300 + 1x Schneider HEPD80 | Hub + Mate + PSX-240 | Volthium 400Ah/51.2V LFP battery bank + Trimetric | 1500 watts AC water heater | Kubota 11kw GL diesel generator

SolarMusher

Checked it today with the new FW and WBjr EA has far less jitters and is now working fine within .7A and maybe better.
Great update! Thanks,
Erik
Off Grid with 4kw PV | 2x Classic 200/WBjr | 2x Outback VFX3648 Epanel | 3x SPD300 + 1x Schneider HEPD80 | Hub + Mate + PSX-240 | Volthium 400Ah/51.2V LFP battery bank + Trimetric | 1500 watts AC water heater | Kubota 11kw GL diesel generator

zoneblue

#49
Heres the first full charge cycle with 1758.  Pink curve is Wbjr (right way up this time), blue is ibat/Iout.

It is less noisy, but:
- theres an interesting additional regular spike during bulk
- still seems more noisy than Iout. (Ibat)
- still not sure the two datapoints are averaged exactly the same way

This had only the dc fridge overnite, then from about 9am some electronics. I will try to eliminate the loads completely one day to get rid of the noise from the loads.

But one of the consequences of this is that you can still see "negative" loads here and there  (lower curve) when you subtract Iout from Iwbjr.

Also i set EA to WB 5amps, max absorb 90mins. You can see in went into float about 3.5amps if you take the center line of the jitter. It appears to have waited til the top of the jitter was under 5amps.

6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

ClassicCrazy

I don't quite understand the %/C . If I am correct it would be to correct the battery capacity lower as the temperature gets colder ?  I don't have any idea what number to put in there.
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal 24v pack , Outback 3524 inverter
 5s 135w Kyocero , 3s3p 270w Kyocera   Classic 150 ,8s2p  Kyocera 225w to Hawkes Bay Jakiper 48v 20kwh  ,Gobel 16 kwh  lifepo4 Outback VFX 3648  8s2p 380w Rec pv EG4 6000XP

Halfcrazy

Most batteries are 1% per degree C. So if the battery is 15C it looses 10% of its capacity
Changing the way wind turbines operate one smoke filled box at a time

cybermaus

Quote from: RossW on February 01, 2014, 06:01:49 PMWe have an iPad in the kitchen, always ready for the million random questions each day.
One of its permanent displays is my battery monitor. Wife loves this one for the same reason - she can see at a glance how we're going. Not as simple as a % but far more telling:


What app or script is that, and does someone also know one for Android?

zoneblue

Thats Ross's cell monitor/eclectic collection of bash scripts hard at work.  The curves further above are from http://code.google.com/p/theblackboxproject/
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

Halfcrazy

Quote from: zoneblue on February 07, 2014, 05:40:57 PM
Heres the first full charge cycle with 1758.  Pink curve is Wbjr (right way up this time), blue is ibat/Iout.

It is less noisy, but:
- theres an interesting additional regular spike during bulk
- still seems more noisy than Iout. (Ibat)
- still not sure the two datapoints are averaged exactly the same way

This had only the dc fridge overnite, then from about 9am some electronics. I will try to eliminate the loads completely one day to get rid of the noise from the loads.

But one of the consequences of this is that you can still see "negative" loads here and there  (lower curve) when you subtract Iout from Iwbjr.

Also i set EA to WB 5amps, max absorb 90mins. You can see in went into float about 3.5amps if you take the center line of the jitter. It appears to have waited til the top of the jitter was under 5amps.

Yes I believe boB just found an issue with his averaging. You are seeing the same thing I am and End Amps is sort of unusable because of all the positive spikes at the end of the absorb cycle
Changing the way wind turbines operate one smoke filled box at a time

boB


Register address 4260  should be ==  4  if averaging is turned ON.  I found that mine and Ryans was sitting
at 0 so was off.

Register address  4383  should be == 512.  If it is sitting at 0, should be set to 512 if 4260 is at 4.

I do notice that when a load is connected and disconnected, the numbers will rise and fall slowly
just like it should when averaging BUT it is looking like there are some additional spikes or something.
Ryan noticed that the numbers moved around when 4260 == 4 and was solid at 0 so I'm not
sure what is going on there.


BTW, when I say register address,  add one (1) to that number to get register.

Working on it.  I think the problem can be fixed with Classic code so that would hopefully
be the case here.  We'll get this.

Thanks,
boB
K7IQ 🌛  He/She/Me

zoneblue

#56
For now maybe just add 1.5 amps to your desired WBJr EA setting (and dont go below 3amps) and it works good. 

Soooooo much better than the old days, where you had to guess/take into account your base loads :)

Bob, just to be clear, other than EA smoothing,  i think its really desirable that there is one way or another, a WB register that is averaged the same way and in the same time frame as the Iout figure. The reason is that this allows a Iload datapoint (that doesnt go negative and other weird things). Now, given the addon nature of WBJr, it may not be possble to get the exact same 1s timing, but as near as you can get it. A post processing 10s, 15s, or even 60s averaging scheme based off the 1s averaging should give decent enough data.
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar