[Ovmsdev] Can.c logic

Michael Stegen michael at stegen.com
Tue Feb 14 19:01:51 HKT 2012


Mark, Jack,

I can confirm that the charging bit is not set when pre-heating the battery.
It's only set when it goes from pre-heating to charging.

Maybe we should just look at the State (0x95) instead of charging bit 
(0x96) and state.

I have uploaded my logfiles fom when i did the test here:
http://www.stegen.com/pub/bat_heating.rar

Inside the rar archive are two logfiles, one pre-heats till 49% then i 
press stop from the VDS.
The otherone pre-heats till 100%, and then the charging begins.

Note that the "preparing to charge" state is also entered after the 
pre-heating ended and before the actual charging starts.

-Michael







Op 14-2-2012 4:01, Mark Webb-Johnson schreef:
> Urgh.
>
> I think we really need to get a good trace of what you are seeing.
>
> Is it possible for you to run the 1.2.0-rc3 code in the car, using 202.52.42.80 server, do a full charge (including pre-heat), then let me know UTC time it started? If possible, check up on it with an App during the charge (when an App is connected, the car reports in once every minute - otherwise only once every ten minutes). I have a full log running on the development server at the moment, and 1.2.0 code sends the detailed charging bytes as well as the summary status text.
>
> Regards, Mark.
>
> On 14 Feb 2012, at 2:22 AM, Jack West wrote:
>
>> Mark,
>>
>> One possibility that might explain what I saw:
>>
>> In heating substate the car does not turn on b4 of B2 in 0x96. Therefore logic does not see the car as charging when in the heating state so flags are not set, etc.
>>
>> I'll look into this in more detail tonight.
>>
>> Jack
>> _______________________________________________
>> 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
>
>


-- 
Stegen Electronics
Kwartslaan 95
3162 RD Rhoon
The Netherlands

Tel:    +31 10-5016960
Skype:   stegen.com
www.stegen.com




More information about the OvmsDev mailing list