[Ovmsdev] 12V battery alerts
Rolf Welde Skeie
rwskeie at gmail.com
Wed Oct 30 16:52:24 HKT 2013
Somehow I feel a few fingers pointing my way.. :)
I can have a go, but do not have time until sometime next week.
The algorithm I envision goes something like this:
cold_lim = 10; // celcius that is..
batt_diff = 2; // max difference between charged and non-charged
batt_definitely_low = 12; // definite low level limit
volts_per_degree = 0.05;
// add cold weather component
if (env_temp < cold_lim) {
batt_diff += (cold_lim - env_temp)*volts_per_degree;
}
if ((batt_now < batt_definitely_low) || ((batt_charged - batt_now) >
batt_diff))) {
alarm_low();
} else {
alarm_cleared();
}
Any thoughts?
Actually we should probably look at the server logs and create some
statistics to measured correlated 'batt_now' and 'env_temp' to properly
calibrate 'volts_per_degree'. Also look at peak highs and lows to see
how the batteries out there are performing :)
Regards
Rolf
On 10/30/2013 12:54 AM, Mark Webb-Johnson wrote:
>
> Can someone try it at 2.0V (rather than 1.5V) and see if it solves the false-alerts problem?
>
> Regards, Mark.
>
> On 29 Oct, 2013, at 5:10 pm, Rolf Welde Skeie <rwskeie at gmail.com> wrote:
>
>> Ok, it seems like a few have similar issues.
>> The logic behind the calculations seems to be reasonable, it is the assumption that there is a 1.5V difference between charging/non-charging state which is not generally applicable.
>> From my observations it seems like increasing this to 2.0V would take care of most mis-firing events.?..
>>
>> Disclaimer: I'm not an expert on batteries...
>>
>> Running on 2.5.5 experimental/TC
>>
>> Rolf
>>
>> On 10/29/2013 10:00 AM, Matt Beard OVMS wrote:
>>> Yup, I also get this message and it would be great if it were working
>>> properly, but it actually fires at 13.1V which is far too high.
>>>
>>> Matt
>>>
>>>
>>>
>>> On 29 October 2013 08:46, Rolf Welde Skeie <rwskeie at gmail.com
>>> <mailto:rwskeie at gmail.com>> wrote:
>>>
>>> I have the following features set:
>>> #0=1, #8=1, #9=1, #15=1, all others =0.
>>>
>>> Can't remember which one made it work, but one of them did, my guess
>>> would be #9 :)
>>>
>>> Rolf
>>>
>>>
>>> On 10/29/2013 09:38 AM, Håkon Markussen wrote:
>>>
>>> I never get this alert.
>>> I have a Think City (as Rolf Skeie) and use the iOS-app.
>>> I have tested on both an exhausted aux-battery and on a brand new
>>> battery in perfect condition.
>>>
>>> Br.
>>> Håkon
>>>
>>>
>>> 2013/10/29 Thomas Bergo <thomas.bergo at gmail.com
>>> <mailto:thomas.bergo at gmail.com>
>>> <mailto:thomas.bergo at gmail.com <mailto:thomas.bergo at gmail.com>__>>
>>>
>>>
>>> I'm also get this alert.
>>>
>>> Regard, Thomas
>>>
>>> tirsdag 29. oktober 2013 skrev Rolf Welde Skeie følgende:
>>>
>>> Hi,
>>>
>>> I'm getting 12V battery alerts ala:
>>> "MP-0 PAALERT!!! 12V BATTERY CRITICAL (13.2V, ref=14.7V)"
>>>
>>> So the 1.5V hardcoded difference between charged and
>>> non-charged
>>> state seems to be too low. The battery is working just
>>> fine and
>>> has been tested without any issues, but seems to
>>> stabilize at
>>> approx. 12.8V.
>>>
>>> Is this a global issue; are others experiencing this as
>>> well?
>>>
>>> If this is a issue only relevant to my car: would it
>>> make sense
>>> to allow for controlling some of these kind of values
>>> through
>>> parameters?
>>>
>>> BTW, I believe the Think City module could be put in the
>>> production builds, it seems to be working fine.
>>>
>>> Best regards
>>> --
>>> Rolf Welde Skeie
>>> Solåsen 27, 5223 Nesttun, Norway
>>> +47 92403016 <tel:%2B47%2092403016> <tel:%2B47%2092403016> /
>>> rwskeie at gmail.com <mailto:rwskeie at gmail.com>
>>> ___________________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>> http://lists.teslaclub.hk/____mailman/listinfo/ovmsdev
>>> <http://lists.teslaclub.hk/__mailman/listinfo/ovmsdev>
>>>
>>> <http://lists.teslaclub.hk/__mailman/listinfo/ovmsdev
>>> <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>>
>>>
>>>
>>> _________________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>> <mailto:OvmsDev at lists.__teslaclub.hk
>>> <mailto:OvmsDev at lists.teslaclub.hk>>
>>>
>>> http://lists.teslaclub.hk/__mailman/listinfo/ovmsdev
>>> <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
>>>
>>>
>>>
>>>
>>> _________________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>> http://lists.teslaclub.hk/__mailman/listinfo/ovmsdev
>>> <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
>>>
>>>
>>> --
>>> Rolf Welde Skeie
>>> Solåsen 27, 5223 Nesttun, Norway
>>> +47 92403016 <tel:%2B47%2092403016> / rwskeie at gmail.com
>>> <mailto:rwskeie at gmail.com>
>>> _________________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>> http://lists.teslaclub.hk/__mailman/listinfo/ovmsdev
>>> <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk
>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>
>>
>> --
>> Rolf Welde Skeie
>> Solåsen 27, 5223 Nesttun, Norway
>> +47 92403016 / rwskeie at gmail.com
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
--
Rolf Welde Skeie
Solåsen 27, 5223 Nesttun, Norway
+47 92403016 / rwskeie at gmail.com
More information about the OvmsDev
mailing list