An online Ford Focus Electric Forum discussion group

It is currently Wed Apr 24, 2019 1:53 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11  Next
Author Message
 Post subject: Re: Quick charge project
PostPosted: Thu Apr 11, 2019 1:24 am 
Offline

Joined: Fri Nov 02, 2018 3:21 pm
Posts: 15
triangles wrote:
Nice work! Glad to see someone working at figuring out how things work on the FFE.


I'm using this great tool called SavvyCan - will find out soon what bytes change during charging session as now I know what ID to look at.

So it looks like only bytes 3 and 4 are changing during charging session. Those must be displayed capacity.

Image

B4 is counting up quickly after it comes to an limit b3 goes up and b4 starts from beginning

Image

There is something going on with B6 also. To be sure I need to look at it when car is full and empty. I have a feeling B6 might much less accurate SOC.

-------------------
edit:
-------------------

So this was CAN capture from 1100s charging session at 32A 240V.
Session started at B3 0x01 B4 0xE5 - this gives hex 01e5 = 485 decimal
Session ended at B3 0x02 B4 0x58 - this gives hex 0258 = 600 decimal

So I think true value is div. by 10 - this would give 48.5% to 60% in 1100s - looking legit.

Once again I'll check those values when car is full and empty to be 100% sure.

I don't know how many kWh went into the battery at this time but I'll find out - will be playing with this capture file and this awesome tool more.

Cheers,
Martin


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sun Apr 14, 2019 3:57 am 
Offline

Joined: Fri Nov 02, 2018 3:21 pm
Posts: 15
Here is fully charged car:

Image

So car screen shows 100% charge - but:

B3 and B4 says hex 0384 = dec 900 so SOC is 90%
B6 on the other hand says hex C8 = dec 200 so div by 2 gives 100%. This must be the info car displays as no other values change that much during charging.

So now I believe B3 and B4 is real SOC as Forscan shows that cells are at 4.06V and B6 must be displayed SOC.

I'll confirm that once again when in way different SOC like closer to 10% displayed. Then I should see B6 as 14 hex.

Martin


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sun Apr 14, 2019 6:04 am 
Offline

Joined: Fri Nov 02, 2018 2:14 pm
Posts: 42
Location: Belarus, Minsk
Very interesting! continue,
if you need something to test or participate - I am ready

_________________
I use translator. Sorry for the mistakes.


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sun Apr 14, 2019 11:09 am 
Offline

Joined: Fri Nov 02, 2018 3:21 pm
Posts: 15
If you have ability to dump can frames - help is always welcome.

Dobrinia wrote:
Very interesting! continue,
if you need something to test or participate - I am ready


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Thu Apr 18, 2019 10:26 am 
Offline

Joined: Wed Dec 12, 2018 1:59 am
Posts: 17
Location: Poland
I have a very empty battery pack if you want to drop it :)

_________________
I use translator. Sorry for the mistakes.


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sat Apr 20, 2019 3:13 am 
Offline

Joined: Thu Nov 21, 2013 10:00 am
Posts: 236
Location: Gibsonia, PA
Guys,

Per cell voltages (min and max actually) don’t exist on the EV CAN bus natively, only through diagnostic queries. What I did was capture what IDS was sending to get the min and max cell voltages, and then just make a for loop to constantly query that every 100 ms or so. That, as well as getting info from the charger, were the only messages I needed to query directly. Everything else I could pick up passively through the EV CAN bus.

_________________
2018 Tesla Model 3 LR AWD Multicoat Red Metallic
2012 Ford Focus Electric Ingot Silver - Sold
BRUSA Boosted to 46A at 240V charging, 11kW
Chademo DC Quick Charge Enabled!
Home Quick Charger --> 33.8 kW AC / 31.3 kW DC


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sat Apr 20, 2019 4:12 am 
Offline

Joined: Fri Nov 02, 2018 3:21 pm
Posts: 15
Sefs,

Can you ask for voltage of any cell or you just can get min-max?


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sat Apr 20, 2019 4:45 am 
Offline

Joined: Thu Nov 21, 2013 10:00 am
Posts: 236
Location: Gibsonia, PA
martii wrote:
Sefs,

Can you ask for voltage of any cell or you just can get min-max?


I just read the maximum difference between the cells. So the math I did was I read the min cell voltage diagnostic parameter, and then added the maximum cell difference diagnostic parameter to get the max cell voltage. This was across the whole pack, not individually per cell. I don't remember if in IDS you could query every cell or not (I believe you could), but there is a limit to how much "active querying" you can do through the diagnostic CAN message; so it is good to limit what you are actively requesting.

_________________
2018 Tesla Model 3 LR AWD Multicoat Red Metallic
2012 Ford Focus Electric Ingot Silver - Sold
BRUSA Boosted to 46A at 240V charging, 11kW
Chademo DC Quick Charge Enabled!
Home Quick Charger --> 33.8 kW AC / 31.3 kW DC


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sat Apr 20, 2019 5:16 am 
Offline

Joined: Fri Nov 02, 2018 3:21 pm
Posts: 15
I've been trying to sniff what Forscan does and it's sending some requests as it shows cell min voltage.

One more question - during the AC charging is the charging power given somewhere in CAN frame or I would have to calculate like amps times pack voltage?


Top
 Profile  
 
 Post subject: Re: Quick charge project
PostPosted: Sat Apr 20, 2019 7:00 am 
Offline

Joined: Thu Nov 21, 2013 10:00 am
Posts: 236
Location: Gibsonia, PA
martii wrote:
I've been trying to sniff what Forscan does and it's sending some requests as it shows cell min voltage.

One more question - during the AC charging is the charging power given somewhere in CAN frame or I would have to calculate like amps times pack voltage?


AC charging power (AC volts and AC amps) are only present through the diagnostic request. I had my display setup to request these messages when I was parked and I pressed "C". You don't want to be constantly requesting these signals while you're driving, as there really isn't a need. I had AC volts, AC amps, available amps, and AC frequency setup to be queried for. Set these up as the only messages to be queried by ForSCAN, then log the traffic. They should be in the 0x7 range. 0x7 range is reserved for the diagnostic traffic, both send and receive. I sent you a PM with some more info.

_________________
2018 Tesla Model 3 LR AWD Multicoat Red Metallic
2012 Ford Focus Electric Ingot Silver - Sold
BRUSA Boosted to 46A at 240V charging, 11kW
Chademo DC Quick Charge Enabled!
Home Quick Charger --> 33.8 kW AC / 31.3 kW DC


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 101 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11  Next

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Ford Focus Electric Forum - part of the MyElectricCarForums.com Group