[solved] there really is a important error in the SOC%

Started by cybermaus, March 12, 2014, 02:11:30 AM

Previous topic - Next topic

zoneblue

#15
In the weekend i added the soc register (4373) to blackbox. I can confirm that SOC is broken with the following combination of settings:
- days between bulk=5
- reset net Ah on charged=yes

In the chart below the stg column is the raw decimal charge state register. Upon waking for the first time this morning, both netah and soc reset.

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

boB

Quote from: zoneblue on March 16, 2014, 03:35:31 PM
In the weekend i added the soc register (4373) to blackbox. I can confirm that SOC is broken with the following combination of settings:
- days between bulk=5
- reset net Ah on charged=yes

In the chart below the stg column is the raw decimal charge state register. Upon waking for the first time this morning, both netah and soc reset.

I don't quite understand your spread sheet and why it appears to go to 100% at 6:27:55  but I do
see why it resets to 100%  when you have days between bulk/absorb set to skip days.  (non 0)

The problem is that would happen would be, every new day that it is NOT supposed
to go to Bulk/Absorb, it will go to Float.  It would do a force-float and that is where the SOC = 100%.
I think I have just fixed this.

So, NOW, it only resets to 100% when  it goes from Absorb to Float because of a full battery.
There is also now a modbus Force Flag that allows one to force the SOC to 100%


Regarding  Cybermaus's question about run-time since reset, yes there is.  It is called UpTime and
is in seconds and is at modbus register addresses  4348 (Low) and  4349  (High)   or registers
4349 and 4350.

boB

PS...  ZoneBlue.  Please try this version and see if it fixes the bulk-skip SOC = % problem

    http://fusion.midnitesolar.com/MidNiteSolarUpdate_1795_3-17-2014_v4.29.exe


K7IQ 🌛  He/She/Me

Resthome

I can verify what boB is saying about the reset. I just got back from the lake. Sure which I had an internet connection while I was there (water is too low to get a good signal). My SOC resetting to 100% was being caused by the Classic going to resting and the RFR was 104 - Watchdog Timer. I talked to Matthew at MidNite before I left the lake but he was not aware of the new update. I could not pin down what was causing the Classic to reboot but I suspect as boB said it had something to do with the log data. Did capture the Debug settings, don't know what they mean or if they may be useful.

John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

Halfcrazy

Hm SOC is undefined that's a new one? I have not seen that one before. boB will have to comment but the new code has one fix for the classic rebooting when the logs are being read and written at the same time.

Changing the way wind turbines operate one smoke filled box at a time

Resthome

Ryan

Here is the one with the debug readings after one of the RFR - 104 codes.

Do they mean anything?
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

Resthome

Ryan

Not sure what was going on with that undefined SOC. This was in Absorb and it is okay here. Not sure if it go confused with one of the resets.

John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

zoneblue

Bob, do you want the good news or the bad news?

The good news is that with 1795, SOC doesnt reset in the morning.
The bad news is that it also doesnt come out of sleep in the morning:

Classic 150V (rev 4)   
MAC: 60:1D:0F:00:1B:95
Device ID: 16F0 BE2
IP: 192.168.0.223:502
Firmware:     
- Classic Rev: 1795
- Network Rev: 1674
Absorb Time:03:00:00
Equalize Time:01:00:00
Last Voc:84.2
DB1: 0x0    DB2: 0xffff
DB3: 0x0    DB4: 0x0

Classic 150V (rev 4)
Solar(On)
RESTING (36:Unknown)

Whizbang Jr.
System: -4A   Net Ah: 58Ah
Remaining Ah: 322Ah
SOC: 88%

Ive tried setting days betweeen bulk to 0, force float, and bully reboot, still RFR 36.

I will try a lite VMM in case that makes a diff, shortly, and failing further advice, revert to 1779.



Quote
PS...  ZoneBlue.  Please try this version and see if it fixes the bulk-skip SOC = % problem
http://fusion.midnitesolar.com/MidNiteSolarUpdate_1795_3-17-2014_v4.29.exe
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

boB


OK, good.  I know what the RFR = 36 is.

An Over-Battery-Temperature "feature" was added and so it will need
a Vulcan Mind Meld to set the register.    Register 4262  or address 4261
is the reference temperature.  Your Classic is probably sitting at a very
low number right now.  If you could set it to, say,  1700  (170.0 deg. C)
that should fix it.

I'm not sure if your newer MNGP will VMM it properly or not.  The hardware
VMM, placing the two outside jumpers on within 1 minute of re-boot of the
Classic will also fix that but will of course reset all of your settings.

Coming out with another MNGP revision which will also allow you to manually
set the battery SOC to 100%  in the WB Jr. ---  MORE menu by holding down
the LEFT ARROW key and the ENTER key.  Coming right up.

boB
K7IQ 🌛  He/She/Me

Resthome

boB

Is it possible to get an updated list of current RFR codes for the latest firmware? I know there have been some additions.
John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

zoneblue

Great, hardware VMM fixed it.  Will put days betw bulk back in and let you know how it goes.

Thanks!

BTW could we have 1dp on the SOC register, looks kinda cranky.




Quote from: boB on March 18, 2014, 03:56:12 PM
OK, good.  I know what the RFR = 36 is.

An Over-Battery-Temperature "feature" was added and so it will need
a Vulcan Mind Meld to set the register.    Register 4262  or address 4261
is the reference temperature.  Your Classic is probably sitting at a very
low number right now.  If you could set it to, say,  1700  (170.0 deg. C)
that should fix it.
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

boB

Quote from: zoneblue on March 18, 2014, 04:17:05 PM
Great, hardware VMM fixed it.  Will put days betw bulk back in and let you know how it goes.

Thanks!

BTW could we have 1dp on the SOC register, looks kinda cranky.



Cranky ?  Not sure what you mean ?  I think you want one decimal point added ?

boB
K7IQ 🌛  He/She/Me

boB

Quote from: Resthome on March 18, 2014, 04:00:47 PM
boB

Is it possible to get an updated list of current RFR codes for the latest firmware? I know there have been some additions.

Sure...



    ReasonForResting = 1    Wake state, (Vpv < PreVoc AntiClickSenstvty  (MB Addr. 4236)
    ReasonForResting = 2    Insane Ibatt on WakeUp state (offset changed from off state)
    ReasonForResting = 3    Negative current on WakeUp state
    ReasonForResting = 4    dispavgVpv < (dispavgVbatt - 10) Now -25 (RestartTimerms = 1500)
    ReasonForResting = 5    Too low power and Vbatt below set point for 90 seconds
    ReasonForResting = 6    FETtemperature >= 100C Hot
    ReasonForResting = 7    Ground Fault
    ReasonForResting = 8    Arc Fault
    ReasonForResting = 9    (IbattDisplaySi < -15) (negative current) (MB 4200)
    ReasonForResting = 10   (dispavgVbatt < LBDlowV)  Battery less than 8 Volts
    ReasonForResting = 11   Vpv >= 90% of Voc but slow. Low Light #1
    ReasonForResting = 12   Vpv < 90% of Voc   Low Light #2
    ReasonForResting = 13   Vpv > (Voc + 10V) in    PV_Uset || Solar1_OandP
    ReasonForResting = 14   Vpv >= 90% of Voc  but slow.  Low Light #3
    ReasonForResting = 15   Vpv < 90% of Voc and taking too long.  Low Light #4
    ReasonForResting = 16   Normally because user turned MODE OFF...  Disabled
    ReasonForResting = 17   Vpv > 150V  (classic 150)
    ReasonForResting = 18   Vpv > 200V  (classic 200)
    ReasonForResting = 19   Vpv > 250V  (classic 250)

    ReasonForResting = 22   Average Battery Voltage is too high above set point  (RestartTimerms = 2 sec)

    ReasonForResting = 25   Battery breaker tripped  (Vbatt shot up high)
                            (If RFR = 25 on Wakeup, check modbus register 4200)

    ReasonForResting = 26   Mode changed while running, Vabsorb raised more than
                             10.0 Volts or Nominal Vbatt changed by modbus command
                             AND MpptMode was ON when changed...

    ReasonForResting = 27   bridge center == 1023  (R132 might have been stuffed old units)
    ReasonForResting = 28   NOT Resting but RELAY is not engaged for some reason
    ReasonForResting = 29   ON/OFF stays off because WIND GRAPH is insane
    ReasonForResting = 30   PkAmpsOverLimit (will change somewhat 1-23-2013)
    ReasonForResting = 31   AD1CH.IbattMinus > 900   (peak negative battery current)

    ReasonForResting = 32   Aux 2 Logic input is high.  Aux2Function 15 (external disable/enable)
    ReasonForResting = 33   OCP in a mode other than Solar or PV-Uset (1-10-2013)
    ReasonForResting = 34   AD1CH.IbattMinus > 900 Classic 150,200 newer than 1-23-2013
    ReasonForResting = 35   Vbatt < 8.6 V  (LOW LOW battery)
    ReasonForResting = 36   Battery temperature is Greater than reg address 4161 specified
    ReasonForResting = 136  Battery temperature fell below MB reg. 4161 - 10 C (Classic turned back on)


    ReasonForResting greater than 100...  100 + PowerOnReset, WDT, etc...
    ReasonForResting = 104  Watchdog WDT reset (only at boot until first RFR)
    ReasonForResting = 111  Normal Power up boot (only at boot until first RFR)

                 [ 100 +   1 = POR,  2 = Ext. Reset  4 = WDT  8 = Brown Out ]

K7IQ 🌛  He/She/Me

Resthome

John

10 x Kyocera KC140, Classic 150 w/WBJr, Link10 Battery Monitor, 850 AH @ 12v Solar One 2v cells, Xantrex PROwatt SW2000
Off Grid on Houseboat Lake Don Pedro, CA

zoneblue

Quote from: boB on March 18, 2014, 07:21:58 PM
Cranky ?  Not sure what you mean ?  I think you want one decimal point added ?

Yeah 1dp would be swell if that doesnt complicate anything.

Hey, the SOC reset looks good. Didnt reset this morning, (todays a skip day). I was also suprised to see no reset on any of the reboots both bully and breaker yesterday morning. Appears to saving to eprom not just at midnite...
6x300W CSUN, ground mount, CL150Lite, 2V/400AhToyo AGM,  Outback VFX3024E, Steca Solarix PL1100
http://www.zoneblue.org/cms/page.php?view=off-grid-solar

boB


Excellent ZB !   That's what I wanted to see !

Not sure about extra digits.  We'll see though.

Thanks,
boB
K7IQ 🌛  He/She/Me